-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 2.68 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
{
"name": "habits",
"version": "0.1.0",
"private": true,
"dependencies": {
"@reach/router": "^1.3.4",
"@testing-library/jest-dom": "^5.11.2",
"@testing-library/react": "^10.4.7",
"@testing-library/user-event": "^12.1.0",
"firebase": "^7.17.1",
"node-sass": "^4.14.0",
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-app-rewired": "^2.1.6",
"react-dom": "^16.13.1",
"react-firebaseui": "^4.1.0",
"react-hook-form": "^6.3.1",
"react-scripts": "3.4.1",
"react-transition-group": "^4.4.1",
"stylelint-webpack-plugin": "^2.1.0"
},
"devDependencies": {
"eslint-config-airbnb": "^18.2.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.5",
"eslint-plugin-react-hooks": "^4.0.8",
"firebase-tools": "^8.7.0",
"gitmoji-cli": "^3.2.6",
"husky": "^4.2.5",
"jest-environment-jsdom-sixteen": "^1.0.3",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5",
"stylelint": "^13.6.1",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-sass-guidelines": "^7.0.0"
},
"scripts": {
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"eject": "react-scripts eject",
"lint": "yarn lint:js && yarn lint:scss",
"lint-fix": "yarn lint:js-fix && yarn lint:scss-fix",
"lint:js": "eslint --ext .js --ignore-path .eslintignore .",
"lint:js-fix": "eslint --ext .js --ignore-path .eslintignore . --fix",
"lint:scss": "stylelint 'src/**/*.scss'",
"lint:scss-fix": "stylelint 'src/**/*.scss' --fix",
"test": "react-app-rewired test --watchAll=false --verbose --env=jest-environment-jsdom-sixteen",
"test:watch": "react-app-rewired test --verbose --env=jest-environment-jsdom-sixteen",
"test:coverage": "react-app-rewired test --watchAll=false --coverage --env=jest-environment-jsdom-sixteen",
"test:debug": "react-app-rewired --inspect-brk test --runInBand --no-cache",
"remove:cache": "rm -rf ./node_modules/.cache",
"deploy:dev": "yarn build && firebase deploy --only hosting:dev",
"deploy:staging": "yarn build && firebase deploy --only hosting:qa",
"deploy:database-rules": "firebase deploy --only firestore:rules"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": []
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"prepare-commit-msg": "exec < /dev/tty && gitmoji --hook $HUSKY_GIT_PARAMS || true"
}
}
}