-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 1.39 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
{
"name": "react-sample-code",
"version": "0.1.0",
"private": true,
"devDependencies": {
"babel-jest": "^21.0.2",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"enzyme": "^2.9.1",
"eslint": "^4.7.1",
"eslint-config-airbnb": "^15.1.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.3.0",
"expressjs": "^1.0.1",
"husky": "^0.14.3",
"identity-obj-proxy": "^3.0.0",
"jest": "^21.1.0",
"lint-staged": "^4.2.1",
"react-dom": "^15.6.1",
"react-scripts": "1.0.13",
"react-test-renderer": "^15.6.1"
},
"dependencies": {
"react": "^15.6.1",
"react-bootstrap": "^0.31.3"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "jest",
"eject": "react-scripts eject",
"precommit": "lint-staged",
"prepush": "npm test"
},
"lint-staged": {
"*.js": [
"prettier --single-quote --no-semi --trailing-comma es5 --write \"{app,__{tests,mocks}__}/**/*.js\"",
"git add"
]
},
"jest": {
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/file-mock.js",
"\\.(css|less)$": "identity-obj-proxy"
},
"setupFiles": [
"<rootDir>/__mocks__/setup.js"
]
}
}