-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
57 lines (57 loc) · 2 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
{
"name": "pricelist-admin",
"version": "0.1.0",
"private": true,
"dependencies": {
"@material-ui/core": "~1.5.1",
"@material-ui/icons": "~1.1.1",
"ra-data-simple-rest": "^2.9.6",
"ra-input-markdown": "^1.1.5",
"ra-input-rich-text": "^2.9.3",
"react": "^16.13.1",
"react-admin": "^2.9.6",
"react-admin-color-input": "^1.0.8",
"react-dom": "^16.13.1",
"react-qr-code": "^2.0.7",
"react-scripts": "3.4.4"
},
"devDependencies": {
"gh-pages": "^2.1.1",
"import-sort-style-module": "^6.0.0",
"prettier": "^1.19.1",
"prettier-plugin-import-sort": "^0.0.3"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"backup-constants": "cp src/Constants.js src/Constants.js.backup",
"restore-constants": "cp src/Constants.js.backup src/Constants.js",
"deploy-github": "gh-pages -d build",
"deploy": "yarn backup-constants && cp src/ConstantsProduction.js src/Constants.js && yarn build && aws s3 sync build/ s3://admin.prijslijst.info --delete && yarn restore-constants && aws cloudfront create-invalidation --distribution-id E1FGEHDQURI1BB --paths '/*'",
"deploy-staging": "yarn backup-constants && cp src/ConstantsStaging.js src/Constants.js && yarn build && aws s3 sync build/ s3://admin.staging.prijslijst.info --delete && yarn restore-constants && aws cloudfront create-invalidation --distribution-id EA1479SLRMW9X --paths '/*'",
"prettier": "prettier -c '{**/*.{js,jsx,scss,md},public/**/*.html}'",
"prettier-fix": "prettier --write '{**/*.{js,jsx,scss,md},public/**/*.html}'"
},
"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"
]
},
"importSort": {
".js, .jsx, .ts, .tsx": {
"style": "module"
}
}
}