-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 2.56 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
{
"name": "base-react",
"version": "0.1.0",
"private": true,
"dependencies": {
"@apollo/react-hooks": "^3.1.3",
"@typescript-eslint/eslint-plugin": "^2.5.0",
"@typescript-eslint/parser": "^2.5.0",
"apollo-boost": "^0.4.4",
"eslint-config-prettier": "^6.4.0",
"eslint-plugin-prettier": "^3.1.1",
"graphql": "^14.5.8",
"husky": "^3.0.9",
"node-sass": "^4.13.0",
"prettier": "^1.18.2",
"react": "^16.10.2",
"react-apollo": "^3.1.3",
"react-dom": "^16.10.2",
"react-router-dom": "^5.1.2",
"react-scripts": "5.0.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"docker:build": "docker-compose build",
"docker:dev": "sh bin/docker/dev.sh",
"docker:start": "sh bin/docker/start.sh",
"docker:stop": "docker-compose down",
"eject": "react-scripts eject",
"lint": "tsc --noEmit && eslint '*/**/*.{js,ts,tsx}' && stylelint 'src/**/*.{css,scss}'",
"lint:fix": "tsc --noEmit && eslint --fix '*/**/*.{js,ts,tsx}' && stylelint --fix 'src/**/*.{css,scss}'",
"prettier:format": "prettier --write \"src/**/*.+(ts|tsx|json|css)\" \"src/**/*.test.ts\"",
"test": "jest",
"test:ci": "jest --ci --reporters=jest-junit",
"test:watch": "jest --watch"
},
"eslintConfig": {
"extends": "[react-app, plugin:prettier/recommended]"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@apollo/react-testing": "^3.1.3",
"@testing-library/jest-dom": "^4.2.0",
"@testing-library/react": "^9.3.0",
"@types/eslint": "^6.1.3",
"@types/jest": "^24.0.20",
"@types/node": "^12.11.7",
"@types/react": "^16.9.11",
"@types/react-dom": "^16.9.3",
"@types/react-router-dom": "^5.1.0",
"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": "^1.7.0",
"jest": "^24.9.0",
"jest-junit": "^9.0.0",
"jest-transform-stub": "^2.0.0",
"stylelint": "^11.1.1",
"stylelint-config-css-modules": "^1.5.0",
"stylelint-config-sass-guidelines": "^6.1.0",
"stylelint-config-standard": "^19.0.0",
"ts-jest": "^24.1.0",
"typescript": "^3.7.2",
"waait": "^1.0.5"
},
"husky": {
"hooks": {
"pre-commit": "npm run prettier:format && npm run lint && npm run test"
}
}
}