This repository has been archived by the owner on May 27, 2021. It is now read-only.
/
package.json
71 lines (71 loc) · 2.54 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
{
"name": "dev-console",
"version": "0.1.0",
"private": true,
"homepage": "/",
"dependencies": {
"antd": "3.6.2",
"auth0-js": "9.6.1",
"autobind-decorator": "2.1.0",
"enzyme-adapter-react-16": "1.1.1",
"immutable": "3.8.2",
"isomorphic-fetch": "2.2.1",
"lodash.get": "4.4.2",
"photon-ant": "0.1.4",
"raven-js": "3.26.2",
"react": "16.4.1",
"react-copy-to-clipboard": "5.0.1",
"react-dom": "16.4.1",
"react-redux": "5.0.7",
"react-router": "4.3.1",
"react-router-dom": "4.3.1",
"react-scripts": "1.1.4",
"redux": "4.0.0",
"redux-logger": "3.0.6",
"redux-thunk": "2.3.0",
"underscore": "1.9.1"
},
"scripts": {
"start": "react-app-rewired start",
"start:normandy": "react-app-rewired start --app=normandy",
"build": "react-app-rewired build",
"build-stage": "REACT_APP_SENTRY_PUBLIC_DSN='https://7f037ccfad184848848bd5077d9ecf07@sentry.prod.mozaws.net/362' build",
"build-prod": "REACT_APP_SENTRY_PUBLIC_DSN='https://4dac38d672e842a88233e9293caf2d09@sentry.prod.mozaws.net/363' build",
"test": "CI=true yarn run test:jest",
"test:jest": "react-app-rewired test --env=jsdom",
"eject": "react-scripts eject",
"lint:less": "stylelint 'src/**/*.less' --config .stylelintrc",
"lint:eslint": "eslint -c node_modules/eslint-config-react-app/index.js --max-warnings 0 'src/**/*.js'",
"lint:eslintfix": "eslint -c node_modules/eslint-config-react-app/index.js --max-warnings 0 --fix 'src/**/*.js'",
"lint:prettier-eslint": "prettier-eslint --list-different 'src/**/*.js' | ./lint_problems.sh",
"lint:prettier-eslintfix": "prettier-eslint --write 'src/**/*.js'",
"lint": "yarn run lint:prettier-eslint && yarn run lint:eslint && yarn run lint:less",
"lint:fix": "yarn run lint:prettier-eslintfix && yarn run lint:eslintfix && yarn run lint:less"
},
"devDependencies": {
"babel-plugin-import": "1.8.0",
"babel-plugin-transform-decorators-legacy": "1.3.5",
"babel-polyfill": "6.26.0",
"enzyme": "3.3.0",
"faker": "4.1.0",
"jest-immutable-matchers": "2.0.1",
"pre-commit": "1.2.2",
"prettier": "1.13.5",
"prettier-eslint": "8.8.1",
"prettier-eslint-cli": "4.7.1",
"react-app-rewire-less": "2.1.1",
"react-app-rewired": "1.5.2",
"stylelint": "9.2.1",
"stylelint-config-standard": "18.2.0",
"stylelint-order": "0.8.1"
},
"jest": {
"moduleNameMapper": {
".*\\.less$": "<rootDir>/StubModule.js",
"^console/(.*)$": "<rootDir>/src/$1"
}
},
"pre-commit": [
"lint"
]
}