-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
149 lines (149 loc) · 5.06 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
{
"name": "malcolmjs",
"version": "0.1.0",
"private": true,
"dependencies": {
"@material-ui/core": "^1.0.0",
"@material-ui/icons": "^1.0.0",
"@storybook/addon-actions": "^3.4.0",
"@storybook/addon-info": "^3.4.2",
"@storybook/addon-links": "^3.4.0",
"@storybook/addons": "^3.4.0",
"@storybook/react": "^3.4.0",
"axios": "^0.18.0",
"circular-buffer": "^1.0.2",
"classnames": "^2.2.5",
"elkjs": "^0.3.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"express": "^4.16.3",
"history": "^4.7.2",
"jsoneditor": "^5.19.2",
"pathfinding": "^0.4.18",
"plotly.js": "^1.39.2",
"point-at-length": "^1.1.0",
"prop-types": "^15.6.1",
"query-string": "^6.0.0",
"radium": "^0.24.0",
"react": "^16.3.2",
"react-dom": "^16.3.2",
"react-json-editor-ajrm": "^2.5.1",
"react-loadable": "^5.5.0",
"react-plotly.js": "^2.2.0",
"react-redux": "^5.0.7",
"react-render-html": "^0.6.0",
"react-router": "^4.2.0",
"react-router-dom": "^4.2.2",
"react-router-redux": "^5.0.0-alpha.9",
"react-scripts": "1.1.4",
"react-swipeable-views": "^0.12.15",
"redux": "^3.7.2",
"redux-logger": "^3.0.6",
"redux-mock-store": "^1.5.1",
"redux-socket.io": "^1.4.0",
"redux-thunk": "^2.2.0",
"reselect": "^3.0.1",
"serve-static": "^1.13.2",
"socket.io": "^2.1.0",
"socket.io-client": "^2.1.0",
"storm-react-diagrams": "^5.2.1",
"typeface-roboto": "0.0.54",
"uuid": "^3.2.1",
"why-did-you-update": "^0.1.1"
},
"lint-staged": {
"src/**/*.{js,jsx,json}": [
"eslint --fix",
"prettier --config .prettierrc --write",
"git add"
],
"cypress/**/*.{js,jsx,json}": [
"eslint --fix",
"prettier --config .prettierrc --write",
"git add"
],
"src/**/*.{scss,css}": [
"stylelint --config=.stylelintrc --fix",
"prettier --config .prettierrc --write",
"git add"
]
},
"scripts": {
"precommit": "lint-staged",
"server": "node ./server/test-malcolm-server.js",
"server:dev": "nodemon ./server/test-malcolm-server.js",
"start": "npm run config:dev && concurrently \"npm run server:dev\" \"react-app-rewired start\"",
"ui-only": "npm run config:dev && react-app-rewired start",
"build:e2e": "npm run config:dev && cross-env REACT_APP_E2E=true react-app-rewired build",
"build": "react-app-rewired build && npm run config:prod",
"test": "react-app-rewired test --env=jsdom --coverage",
"test:watch": "react-app-rewired test --env=jsdom --watch",
"eject": "react-scripts eject",
"cy:open": "cypress open",
"cy:run": "cypress run",
"e2e:serve": "npm run build:e2e && node ./server/e2e-test-server.js",
"e2e:interactive": "start-server-and-test e2e:serve http://localhost:3030 cy:open",
"e2e": "start-server-and-test e2e:serve http://localhost:3030 cy:run",
"lint:js": "eslint --ext=js --ext=jsx --fix ./src",
"lint:cypress": "eslint --ext=js --ext=jsx --fix ./cypress",
"lint:css": "stylelint --config=.stylelintrc './src/**/*.css'",
"storybook": "start-storybook -p 9009 -s public",
"build-storybook": "build-storybook -s public",
"build-docs": "sphinx-build -b html docs/source docs/build/html",
"sonarqube": "sonar-scanner",
"config:dev": "node ./continuous_integration/update_settings.js dev",
"config:prod": "node ./continuous_integration/update_settings.js prod",
"cy:screenshots": "cypress open --config integrationFolder=cypress/automated_screenshots",
"screenshots:smg": "start-server-and-test e2e:serve http://localhost:3030 cy:screenshots",
"analyze": "source-map-explorer build/static/js/main.*"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.6",
"concurrently": "^3.5.1",
"coveralls": "^3.0.0",
"cross-env": "^5.2.0",
"cypress": "^3.0.0",
"enzyme-to-json": "^3.3.3",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-cypress": "^2.0.1",
"eslint-plugin-import": "^2.11.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-react": "^7.7.0",
"http-server": "^0.11.1",
"husky": "^0.14.3",
"lint-staged": "^7.0.4",
"nodemon": "^1.17.4",
"prettier": "^1.12.1",
"q-i": "^2.0.1",
"react-app-rewired": "^1.5.2",
"react-test-renderer": "^16.3.2",
"source-map-explorer": "^1.6.0",
"start-server-and-test": "^1.4.1",
"storybook": "^1.0.0",
"stylelint": "^9.2.0",
"stylelint-config-standard": "^18.2.0",
"worker-loader": "^2.0.0"
},
"jest": {
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!src/**/*.mocks.js",
"!**/*.stories.*",
"!**/stories/index.js",
"!src/index.js",
"!src/registerServiceWorker.js",
"!src/AppReducer.js",
"!src/AppRouter.js",
"!src/malcolm/worker/worker.builder.js",
"!src/setupTests.js",
"!src/userTimingMiddleware.js",
"!src/layout/link/PathFinding.js"
]
}
}