-
Notifications
You must be signed in to change notification settings - Fork 414
/
package.json
executable file
·152 lines (152 loc) · 7.65 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
150
151
152
{
"name": "root",
"private": true,
"devDependencies": {
"@babel/cli": "^7.1.5",
"@babel/core": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.2.1",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.7.4",
"@babel/plugin-proposal-object-rest-spread": "^7.2.0",
"@babel/plugin-proposal-optional-chaining": "^7.7.4",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-modules-commonjs": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@dump247/storybook-state": "^1.5.2",
"@mapbox/rehype-prism": "^0.3.0",
"@mdx-js/loader": "^0.16.6",
"@rollup/plugin-wasm": "^5.1.2",
"@storybook/addon-actions": "^5.3.19",
"@storybook/addon-knobs": "^5.3.19",
"@storybook/addon-links": "^5.3.19",
"@storybook/addons": "^5.3.19",
"@storybook/react": "^5.3.19",
"autoprefixer": "^9.4.2",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.4.2",
"babel-loader": "^8.0.4",
"babel-plugin-module-resolver": "^4.1.0",
"case-sensitive-paths-webpack-plugin": "^2.1.2",
"css-loader": "^1.0.1",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^5.9.0",
"eslint-config-prettier": "^3.3.0",
"eslint-config-problems": "^2.0.0",
"eslint-import-resolver-webpack": "^0.10.1",
"eslint-plugin-flowtype": "^3.2.0",
"eslint-plugin-header": "^2.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-import-order-alphabetical": "^0.0.2",
"eslint-plugin-jest": "^22.0.1",
"eslint-plugin-prettier": "^3.0.0",
"eslint-plugin-react": "^7.11.1",
"eslint-plugin-react-hooks": "^1.6.0",
"expect": "^24.9.0",
"file-loader": "^4.0.0",
"flow-bin": "0.110.0",
"flow-copy-source": "^2.0.2",
"flow-typed": "2.6.1",
"gh-pages": "^2.0.1",
"gl-matrix": "^2.8.1",
"history": "^4.7.2",
"html-webpack-plugin": "^4.5.1",
"http-server": "^0.12.3",
"jest": "^23.6.0",
"jest-canvas-mock": "^2.0.0-beta.1",
"jest-diff": "24.9.0",
"jest-puppeteer": "4.3.0",
"lerna": "^3.4.3",
"lodash": "^4.17.11",
"lz-string": "^1.4.4",
"monaco-editor": "0.20.0",
"monaco-editor-webpack-plugin": "1.9.0",
"nearley-loader": "^2.0.0",
"node-sass-json-importer": "4.3.0",
"polygon-generator": "^1.1.2",
"postcss-flexbugs-fixes": "^4.1.0",
"postcss-loader": "^3.0.0",
"prettier": "1.16.0",
"puppeteer": "7.0.1",
"quickhull3d": "2.0.4",
"raw-loader": "^0.5.1",
"react": "16.10.2",
"react-container-dimensions": "^1.4.1",
"react-copy-to-clipboard": "^5.0.1",
"react-dom": "16.10.2",
"react-hooks-testing-library": "^0.4.0",
"react-hot-loader": "4.8.2",
"react-live": "^1.12.0",
"react-monaco-editor": "0.36.0",
"react-router": "5.2.1",
"react-router-dom": "5.3.0",
"react-svg-loader": "^2.1.0",
"react-virtualized-select": "^3.1.3",
"redux-devtools-extension": "^2.13.7",
"reg-notify-github-plugin": "0.7.19",
"reg-publish-s3-plugin": "0.7.18",
"reg-simple-keygen-plugin": "0.7.16",
"reg-suit": "0.7.17",
"retext": "^6.0.1",
"retext-smartypants": "^3.0.2",
"rimraf": "^2.6.2",
"rollup": "^2.48.0",
"rollup-plugin-babel": "^4.0.3",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-copy": "^0.2.3",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-peer-deps-external": "^2.2.0",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-terser": "^3.0.0",
"sass": "1.32.13",
"sass-loader": "10.1.0",
"seedrandom": "^2.4.4",
"sinon": "^7.1.1",
"storycap": "^2.3.5",
"string-replace-loader": "^2.2.0",
"style-loader": "^0.23.1",
"styled-components": "4.4.1",
"terser-webpack-plugin": "3.0.1",
"text-encoding": "^0.7.0",
"unist-util-visit": "^1.4.0",
"url-loader": "^1.1.2",
"url-search-params": "^1.1.0",
"webpack-cli": "3.3.11",
"webpack-dev-server": "^3.7.1",
"worker-loader": "^2.0.0"
},
"scripts": {
"bootstrap": "npm install && lerna bootstrap --hoist \"{react,react-dom}\" -- --legacy-peer-deps",
"install-ci": "npm ci && lerna bootstrap --hoist \"{react,react-dom}\" -- --legacy-peer-deps",
"build": "lerna run build && webpack",
"watch": "lerna run watch --parallel",
"clean": "lerna run clean",
"lerna": "lerna",
"lint": "eslint . --max-warnings=0 && prettier -l '**/*.css' --ignore-path .eslintignore",
"lint:fix": "eslint . --fix && prettier --write '**/*.css' --ignore-path .eslintignore",
"test": "NODE_ENV=test jest --config jest/jest.config.js",
"link": "lerna link --force-local",
"update-version": "lerna publish --skip-git --skip-npm --force-publish '*'",
"storybook": "start-storybook -p 6006 -c stories",
"build-storybook": "build-storybook -c stories",
"flow": "flow",
"flow-typed-rebuild": "rm -rf flow-typed/ && flow-typed install && flow-typed install --rootDir packages/@cruise-automation/hooks && flow-typed install --rootDir packages/@cruise-automation/button && flow-typed install --rootDir packages/@cruise-automation/tooltip && flow-typed install --rootDir packages/regl-worldview",
"docs-dev": "NODE_OPTIONS='--max-old-space-size=4096' DEV_SERVER=true webpack-dev-server",
"docs-deploy": "cp -r docs/public __temp_deploy__ && rm __temp_deploy__/app/index.html && cp packages/webviz-core/public/index.html __temp_deploy__/app/index.html && echo 'webviz.io' > __temp_deploy__/CNAME && gh-pages -d __temp_deploy__ && rm -rf __temp_deploy__",
"publish": "lerna run clean && lerna run build && lerna publish",
"build-static-webviz": "lerna run build && rm -rf __static_webviz__ && cp -r docs/public/app __static_webviz__ && rm __static_webviz__/index.html && cp packages/webviz-core/public/index.html __static_webviz__/index.html && sed -i -- 's/\\/dist\\/webvizCoreBundle.js/webvizCoreBundle.js/' __static_webviz__/index.html && NODE_ENV=production STATIC_WEBVIZ=true webpack",
"serve-static-webviz": "node_modules/http-server/bin/http-server __static_webviz__",
"screenshot": "NODE_ENV=development storycap http://localhost:6006 --serverTimeout 120000 --captureTimeout 35000 --disableCssAnimation --serverCmd \"yarn run storybook\" --viewport \"1001x745\" --parallel 4",
"screenshot-ci": "npm run screenshot -- --puppeteerLaunchConfig '{\"executablePath\": \"/usr/bin/google-chrome\", \"headless\": true, \"args\":[\"--use-gl=swiftshader\", \"--no-sandbox\",\"--disable-setuid-sandbox\", \"--disable-dev-shm-usage\", \"--headless\", \"--mute-audio\", \"--user-agent=PuppeteerTestingChrome/80.\"]}'",
"screenshot-proprietary-ci": "npm run screenshot-ci -- --parallel 4",
"screenshot-local": "npm run screenshot -- --puppeteerLaunchConfig '{\"headless\": true, \"--args\":[\"--user-agent=PuppeteerTestingChrome/80.\"]}' --parallel 4",
"screenshot-local-debug": "npm run screenshot-local -- --parallel 1 --debug",
"ci-commands-base": "npm run install-ci && NODE_ENV=production npm run build && packages/webviz-core/script/record-local-bag-video.js --help && npm run lint && npm run flow && npm test && integration-tests/install-ffmpeg-in-docker.sh && integration-tests/record-video-and-extract-screenshot.sh",
"ci-commands-for-cruise-open-source-repo": "npm run ci-commands-base && NODE_ENV=production npm run screenshot-ci",
"ci-commands-for-cruise-proprietary-repo": "npm run ci-commands-base && NODE_ENV=production npm run screenshot-proprietary-ci",
"ci": "npm run ci-commands-for-cruise-open-source-repo && reg-suit run --verbose",
"webviz-dev": "NODE_OPTIONS='--max-old-space-size=4096' DEV_SERVER=true WEBVIZ_DEV=true webpack-dev-server"
}
}