-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 3.74 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
85
86
87
88
89
90
91
92
93
94
95
{
"name": "quiccasa-client",
"version": "0.1.71",
"private": true,
"dependencies": {
"@material-ui/core": "^4.12.1",
"@material-ui/icons": "^4.11.2",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"aws-amplify": "^4.2.0",
"firebase": "8.2.1",
"i18next": "^20.3.5",
"i18next-browser-languagedetector": "^6.1.2",
"react": "^17.0.2",
"react-cookie-consent": "^6.2.4",
"react-dom": "^17.0.2",
"react-floating-action-button": "^1.0.5",
"react-gravatar": "^2.6.3",
"react-i18next": "^11.11.4",
"react-loader-spinner": "^4.0.0",
"react-promise-tracker": "^2.1.0",
"react-router-dom": "^5.2.0",
"react-router-sitemap": "^1.2.0",
"react-scripts": "4.0.3",
"react-toastify": "^7.0.4",
"sitemap": "^7.0.0",
"use-sound": "^4.0.1",
"web-vitals": "^0.2.4",
"workbox-background-sync": "^5.1.3",
"workbox-broadcast-update": "^5.1.3",
"workbox-cacheable-response": "^5.1.3",
"workbox-core": "^5.1.3",
"workbox-expiration": "^5.1.3",
"workbox-google-analytics": "^5.1.3",
"workbox-navigation-preload": "^5.1.3",
"workbox-precaching": "^5.1.3",
"workbox-range-requests": "^5.1.3",
"workbox-routing": "^5.1.3",
"workbox-strategies": "^5.1.3",
"workbox-streams": "^5.1.3"
},
"scripts": {
"start": "export PORT=3000 & react-scripts start",
"start-production": "yarn build && serve -s build -p 3000",
"prebuild": "yarn install-pre-push-hook && yarn sitemap-build && yarn favicons-build && yarn manifest-build",
"translations-parse": "i18next 'src/**/*.js' --config 'src/i18next-parser.config.js' --silent",
"translate-auto": "node scripts/translate-auto.js",
"build": "react-scripts build",
"test": "react-scripts test",
"test-update-snapshot": "react-scripts test --updateSnapshot --watchAll=false",
"test-once": "react-scripts test --watchAll=false",
"serve": "serve -s build",
"deploy": "yarn test-once && yarn build && yarn sync",
"postdeploy": "yarn cloudfront-invalidate-cache && yarn sitemap-search-engines-update",
"cloudfront-invalidate-cache": "aws cloudfront create-invalidation --distribution-id=E30CJEQ2PIR5NL --paths /",
"env-decrypt": "echo $(tput setaf 3)Password is the name of your little boat\\!$(tput sgr0); gpg -d .env.gpg",
"sync": "aws s3 sync build/ s3://quiccasa.sistemisolari.com",
"eject": "echo -n 'Really sure to eject [yes/no] ? '; read answer; [ $answer = 'yes' ] && react-scripts eject || true",
"install-pre-push-hook": "cp --remove-destination scripts/git-hooks/pre-push .git/hooks/pre-push && chmod 700 .git/hooks/pre-push",
"sitemap-build": "node scripts/sitemap-build.js",
"sitemap-search-engines-update": "scripts/sitemap-search-engines-update.sh",
"favicons-build": "scripts/favicons-build.sh",
"manifest-build": "scripts/manifest-build.js",
"explore-source-map": "source-map-explorer 'build/static/js/*.js'",
"lighthouse": "lighthouse http://localhost:3000/ --output json --output-path src/__tests__/lighthouseOutput.json",
"delete-all-cognito-pool-users": "scripts/delete-all-cognito-pool-users.sh",
"browserlist-update": "npx browserslist@latest --update-db"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/core": "7.14.6",
"@babel/preset-env": "^7.14.7",
"lighthouse": "^8.1.0",
"react-test-renderer": "^17.0.2",
"translate-json-object": "^2.3.7"
}
}