This repository has been archived by the owner on Apr 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 97
/
package.json
126 lines (126 loc) · 3.85 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
{
"name": "can-explorer",
"version": "0.4.2",
"private": true,
"homepage": "https://cabana.comma.ai/",
"dependencies": {
"@commaai/comma-api": "^2.5.0",
"@commaai/hls.js": "^0.12.7",
"@commaai/log_reader": "^0.5.5",
"@commaai/my-comma-auth": "^1.4.1",
"@commaai/pandajs": "^0.3.7",
"@craco/craco": "^5.5.0",
"aphrodite": "^1.2.1",
"classnames": "^2.2.5",
"clipboard": "^1.7.1",
"enzyme": "^3.2.0",
"enzyme-adapter-react-16": "^1.1.0",
"file-saver": "^1.3.3",
"font-awesome": "^4.7.0",
"github-api": "^3.0.0",
"int64-buffer": "^0.1.9",
"lint-staged": "^9.4.0",
"moment": "^2.29.4",
"node-sass": "^7.0.1",
"prop-types": "^15.8.1",
"query-string": "^5.0.1",
"randomcolor": "^0.5.4",
"raven-js": "^3.16.0",
"react": "~16.14",
"react-dom": "~16.14",
"react-list": "^0.8.6",
"react-measure": "^2.0.2",
"react-scripts": "^3.1.2",
"react-vega": "^7.0.0",
"simple-get": "^4.0.1",
"simple-statistics": "^4.1.0",
"socket.io-client": "^2.0.3",
"streamsaver": "^1.0.1",
"thyming": "^0.1.1",
"vega": "^5.0.0",
"vega-lite": "^4.0.0"
},
"devDependencies": {
"@babel/core": "^7.6.2",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/preset-env": "^7.6.2",
"@babel/preset-react": "^7.0.0",
"babel-jest": "^24.9.0",
"connect-history-api-fallback": "1.3.0",
"craco-sentry-plugin": "^1.0.0",
"craco-worker-loader": "^1.0.0",
"cross-spawn": "4.0.2",
"detect-port": "1.1.0",
"dotenv": "2.0.0",
"env-cmd": "^8.0.2",
"expect-puppeteer": "^5.0.4",
"http-proxy-middleware": "0.17.3",
"jest-puppeteer": "^5.0.4",
"json-loader": "0.5.4",
"puppeteer": "^9.1.0",
"rimraf": "^3.0.0",
"serve-handler": "^6.1.2",
"url-toolkit": "^2.1.1",
"webpack-sentry-plugin": "^1.14.0",
"worker-loader": "^2.0.0",
"xtend": "^4.0.1"
},
"scripts": {
"start": "PORT=3001 env-cmd .env.development craco start",
"build": "env-cmd .env.production craco build",
"netlify-sass": "node-sass src/index.scss > src/index.css",
"netlify-build": "yarn run netlify-sass && yarn run build",
"build:staging": "env-cmd .env.staging craco build",
"test": "craco test --env=jsdom",
"test-ci": "CI=true craco test --env=jsdom",
"test-coverage": "CI=true craco test --env=jsdom --coverage",
"test-puppeteer": "jest -c ./src/__puppeteer__/jest.config.js",
"test-all": "yarn run test-ci && yarn run test-puppeteer",
"test-puppeteer-build": "JEST_PUPPETEER_CONFIG=jest-puppeteer.build.config.js yarn run test-puppeteer",
"sass": "node-sass src/index.scss -o src && node-sass -w src/index.scss -o src",
"deploy": "yarn run test-ci && npm run build && yarn run test-puppeteer-build && gh-pages -d build"
},
"lint-staged": {
"*.{js,jsx}": [
"eslint --fix",
"git add"
],
"*.json": [
"prettier --parser json --write",
"git add"
],
"*.{graphql,gql}": [
"prettier --parser graphql --write",
"git add"
],
"*.{md,markdown}": [
"prettier --parser markdown --write",
"git add"
],
"*.scss": [
"prettier --parser postcss --write",
"git add"
]
},
"jest": {
"moduleNameMapper": {
"^@commaai/pandajs$": "<rootDir>/node_modules/@commaai/pandajs/lib/index.js",
"^@commaai/hls.js$": "<rootDir>/node_modules/@commaai/hls.js/dist/hls.js",
"^@commaai/(.*comma.*)$": "<rootDir>/node_modules/@commaai/$1/dist/index.js",
"^capnp-split$": "<rootDir>/node_modules/capnp-split/dist/index.js",
"\\.worker": "<rootDir>/src/__mocks__/workerMock.js"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}