-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 1.93 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
{
"name": "recipe-runner",
"version": "0.1.0",
"private": true,
"dependencies": {
"amazon-cognito-identity-js": "^3.2.0",
"axios": "^0.19.0",
"moment": "^2.24.0",
"react": "^16.10.2",
"react-dom": "^16.10.2",
"react-helmet": "^6.1.0",
"react-image-crop": "^8.6.6",
"react-router-dom": "^5.1.2",
"react-scripts": "3.2.0"
},
"scripts": {
"start": "REACT_APP_VERSION=$(npm run --silent version) react-scripts start",
"build": "REACT_APP_VERSION=$(npm run --silent version) react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"version": "git rev-parse --short HEAD",
"deploy:build": "npm run build",
"deploy:sync": "aws s3 sync --delete build/ s3://recipe-runner",
"deploy": "npm run deploy:build && npm run deploy:sync",
"storybook": "start-storybook -p 9009 -s public",
"build-storybook": "build-storybook -s public",
"format": "prettier --write src",
"cypress:open": "cypress open"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@storybook/addon-actions": "^5.2.6",
"@storybook/addon-links": "^5.2.6",
"@storybook/addons": "^5.2.6",
"@storybook/react": "^5.2.6",
"cypress": "^6.4.0",
"cypress-cucumber-preprocessor": "^4.0.1",
"husky": "^4.2.5",
"lint-staged": "^10.3.0",
"prettier": "^2.1.1"
},
"prettier": {
"printWidth": 120
},
"lint-staged": {
"src/**/*.{js,json,css,md}": [
"prettier --write"
],
"cypress/**/*.{js,json}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"cypress-cucumber-preprocessor": {
"nonGlobalStepDefinitions": true
}
}