2017-05-29 17:52:17 -06:00
|
|
|
{
|
|
|
|
"name": "can-explorer",
|
2019-10-10 14:38:01 -06:00
|
|
|
"version": "0.3.7",
|
2017-05-29 17:52:17 -06:00
|
|
|
"private": true,
|
2017-06-26 23:31:52 -06:00
|
|
|
"homepage": "https://community.comma.ai/cabana",
|
2017-05-29 17:52:17 -06:00
|
|
|
"dependencies": {
|
2019-09-16 11:38:41 -06:00
|
|
|
"@commaai/comma-api": "1.1.6",
|
2019-10-10 14:37:54 -06:00
|
|
|
"@commaai/hls.js": "^0.12.5",
|
2019-10-09 12:32:17 -06:00
|
|
|
"@commaai/log_reader": "^0.5.3",
|
2019-06-17 15:52:29 -06:00
|
|
|
"@commaai/my-comma-auth": "^1.1.0",
|
2018-05-07 18:40:33 -06:00
|
|
|
"@commaai/pandajs": "^0.3.4",
|
2019-09-26 16:22:56 -06:00
|
|
|
"@craco/craco": "^5.5.0",
|
2018-05-09 12:06:52 -06:00
|
|
|
"ap": "^0.2.0",
|
2017-05-29 17:52:17 -06:00
|
|
|
"aphrodite": "^1.2.1",
|
2019-10-07 17:11:53 -06:00
|
|
|
"babel-eslint": "^10.0.3",
|
2017-08-03 15:41:52 -06:00
|
|
|
"base64-inline-loader": "^1.1.0",
|
2017-06-26 22:05:20 -06:00
|
|
|
"classnames": "^2.2.5",
|
2017-07-11 21:44:58 -06:00
|
|
|
"clipboard": "^1.7.1",
|
2018-05-03 12:23:45 -06:00
|
|
|
"config-request": "^0.5.1",
|
2017-06-29 22:04:29 -06:00
|
|
|
"core-js": "^2.4.1",
|
2017-05-29 17:52:17 -06:00
|
|
|
"create-react-class": "^15.5.3",
|
2017-06-13 18:40:05 -06:00
|
|
|
"cuint": "^0.2.2",
|
2017-07-20 00:00:10 -06:00
|
|
|
"element-closest": "^2.0.2",
|
2017-12-13 12:51:23 -07:00
|
|
|
"emotion": "^8.0.12",
|
2017-12-14 15:01:36 -07:00
|
|
|
"enzyme": "^3.2.0",
|
|
|
|
"enzyme-adapter-react-16": "^1.1.0",
|
2019-10-07 17:11:53 -06:00
|
|
|
"eslint": "^6.5.1",
|
|
|
|
"eslint-config-airbnb": "^18.0.1",
|
|
|
|
"eslint-plugin-import": "^2.18.2",
|
|
|
|
"eslint-plugin-jsx-a11y": "^6.2.3",
|
|
|
|
"eslint-plugin-react": "^7.16.0",
|
|
|
|
"eslint-plugin-react-hooks": "^2.1.2",
|
2017-06-21 19:11:04 -06:00
|
|
|
"file-saver": "^1.3.3",
|
2017-07-17 19:10:37 -06:00
|
|
|
"font-awesome": "^4.7.0",
|
2017-06-13 18:40:05 -06:00
|
|
|
"github-api": "^3.0.0",
|
2018-05-09 12:06:52 -06:00
|
|
|
"global": "^4.3.2",
|
2017-06-13 18:40:05 -06:00
|
|
|
"hls": "0.0.1",
|
2017-12-12 19:27:20 -07:00
|
|
|
"husky": "^0.14.3",
|
2017-05-29 17:52:17 -06:00
|
|
|
"int64-buffer": "^0.1.9",
|
2017-06-26 22:41:53 -06:00
|
|
|
"js-cookie": "^2.1.4",
|
2019-09-26 16:22:56 -06:00
|
|
|
"lint-staged": "^9.4.0",
|
2018-05-03 12:23:45 -06:00
|
|
|
"localforage": "^1.7.1",
|
2017-06-13 18:40:05 -06:00
|
|
|
"moment": "^2.18.1",
|
2019-09-09 15:24:08 -06:00
|
|
|
"node-sass": "^4.12.0",
|
2017-12-12 19:27:20 -07:00
|
|
|
"prettier": "^1.9.2",
|
2017-05-29 17:52:17 -06:00
|
|
|
"prop-types": "^15.5.10",
|
2017-06-28 15:28:45 -06:00
|
|
|
"raven-js": "^3.16.0",
|
2017-12-12 19:24:01 -07:00
|
|
|
"react": "^16.2.0",
|
|
|
|
"react-dom": "^16.2.0",
|
2017-12-13 12:51:23 -07:00
|
|
|
"react-emotion": "^8.0.12",
|
2017-05-29 17:52:17 -06:00
|
|
|
"react-infinite": "^0.11.0",
|
|
|
|
"react-list": "^0.8.6",
|
2017-07-21 15:52:46 -06:00
|
|
|
"react-measure": "^2.0.2",
|
2019-09-26 16:22:56 -06:00
|
|
|
"react-scripts": "^3.1.2",
|
2017-12-14 15:01:36 -07:00
|
|
|
"react-test-renderer": "^16.2.0",
|
2019-09-25 16:31:59 -06:00
|
|
|
"react-vega": "^7.0.0",
|
2017-08-03 15:41:52 -06:00
|
|
|
"react-visibility-sensor": "^3.10.1",
|
2018-09-24 19:53:05 -06:00
|
|
|
"right-pad": "^1.0.1",
|
2017-08-03 15:41:52 -06:00
|
|
|
"simple-statistics": "^4.1.0",
|
2017-06-29 18:04:40 -06:00
|
|
|
"socket.io-client": "^2.0.3",
|
2018-05-03 12:23:45 -06:00
|
|
|
"stream-selector": "^0.1.1",
|
2017-12-06 14:27:50 -07:00
|
|
|
"streamsaver": "^1.0.1",
|
2019-10-09 12:32:17 -06:00
|
|
|
"thyming": "^0.1.1",
|
2019-09-25 16:31:59 -06:00
|
|
|
"vega": "^5.3.4",
|
|
|
|
"vega-lite": "^3.0.0",
|
2018-04-03 14:22:31 -06:00
|
|
|
"vega-tooltip": "^0.4.0"
|
2017-05-29 17:52:17 -06:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-09-26 16:22:56 -06:00
|
|
|
"@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",
|
2017-06-13 18:40:05 -06:00
|
|
|
"connect-history-api-fallback": "1.3.0",
|
2019-10-06 15:10:45 -06:00
|
|
|
"craco-sentry-plugin": "^1.0.0",
|
2019-10-03 12:30:18 -06:00
|
|
|
"craco-worker-loader": "^1.0.0",
|
2017-06-13 18:40:05 -06:00
|
|
|
"cross-spawn": "4.0.2",
|
|
|
|
"detect-port": "1.1.0",
|
|
|
|
"dotenv": "2.0.0",
|
2018-10-26 14:40:54 -06:00
|
|
|
"env-cmd": "^8.0.2",
|
2019-09-02 18:29:23 -06:00
|
|
|
"gh-pages": "^2.1.1",
|
2017-06-13 18:40:05 -06:00
|
|
|
"http-proxy-middleware": "0.17.3",
|
|
|
|
"json-loader": "0.5.4",
|
2017-08-07 16:22:57 -06:00
|
|
|
"url-toolkit": "^2.1.1",
|
2017-10-26 16:38:03 -06:00
|
|
|
"webpack-sentry-plugin": "^1.14.0",
|
2019-09-26 16:22:56 -06:00
|
|
|
"worker-loader": "^2.0.0",
|
2018-04-03 14:22:31 -06:00
|
|
|
"xtend": "^4.0.1"
|
2017-05-29 17:52:17 -06:00
|
|
|
},
|
|
|
|
"scripts": {
|
2019-09-26 16:22:56 -06:00
|
|
|
"start": "PORT=3001 env-cmd .env.development craco start",
|
|
|
|
"build": "craco build",
|
|
|
|
"build:staging": "env-cmd .env.staging craco build",
|
|
|
|
"test": "craco test --env=jsdom",
|
|
|
|
"test-ci": "CI=true craco test --env=jsdom",
|
2019-10-09 16:22:46 -06:00
|
|
|
"test-coverage": "CI=true craco test --env=jsdom --coverage",
|
2017-12-13 14:08:06 -07:00
|
|
|
"netlify-sass": "node-sass src/index.scss > src/index.css",
|
2019-09-26 16:22:56 -06:00
|
|
|
"sass": "node-sass src/index.scss -o src && node-sass -w src/index.scss -o src",
|
2019-09-02 18:29:23 -06:00
|
|
|
"deploy": "npm run build && gh-pages -d build"
|
2017-12-12 19:27:20 -07:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
2019-10-09 12:32:17 -06:00
|
|
|
"*.{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"
|
|
|
|
]
|
2019-09-11 14:36:15 -06:00
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"moduleNameMapper": {
|
2019-09-26 16:22:56 -06:00
|
|
|
"^@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",
|
2019-10-09 16:22:46 -06:00
|
|
|
"^capnp-split$": "<rootDir>/node_modules/capnp-split/dist/index.js",
|
|
|
|
"\\.worker": "<rootDir>/src/__mocks__/workerMock.js"
|
2019-09-11 14:36:15 -06:00
|
|
|
}
|
2019-09-26 16:22:56 -06:00
|
|
|
},
|
|
|
|
"browserslist": {
|
2019-10-09 12:32:17 -06:00
|
|
|
"production": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not op_mini all"
|
|
|
|
],
|
2019-09-26 16:22:56 -06:00
|
|
|
"development": [
|
|
|
|
"last 1 chrome version",
|
|
|
|
"last 1 firefox version",
|
|
|
|
"last 1 safari version"
|
|
|
|
]
|
2017-05-29 17:52:17 -06:00
|
|
|
}
|
|
|
|
}
|