-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
60 lines (60 loc) · 2.15 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
{
"name": "app",
"version": "0.1.0",
"private": true,
"dependencies": {
"@aws-amplify/auth": "^3.3.4",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"axios": "^0.21.1",
"concurrently": "^5.3.0",
"date-fns": "^2.15.0",
"dynamodb-toolbox": "^0.2.0-beta.1",
"http-proxy-middleware": "^1.0.5",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-router-dom": "^5.2.0",
"react-scripts": "^3.4.3",
"serverless": "^1.74.1",
"serverless-cloudformation-sub-variables": "^0.2.1",
"serverless-cloudside-plugin": "^1.0.3",
"serverless-esbuild": "^1.4.0",
"serverless-export-outputs": "^1.0.2",
"serverless-offline": "^6.5.0",
"swr": "^0.3.0",
"tracer": "^1.1.3"
},
"scripts": {
"test": "react-scripts test",
"eject": "react-scripts eject",
"start": "concurrently --kill-others 'npm run serverless:start' 'npm run watch:css && REACT_APP_CONNECT=http://localhost:4000 react-scripts start'",
"serverless:start": "serverless offline cloudside --stage local --noPrependStageInUrl --ignoreJWTSignature --httpPort 4000",
"build:css": "NODE_ENV=production postcss src/assets/tailwind.css -o src/assets/main.css",
"watch:css": "postcss src/assets/tailwind.css -o src/assets/main.css",
"website:start": "npm run watch:css && react-scripts start",
"website:build": "npm run build:css && react-scripts build",
"website:invalidate": "aws cloudfront create-invalidation --distribution-id $REACT_APP_CLOUD_FRONT_DISTRIBUTION --paths '/*'",
"website:sync": "aws s3 sync --acl public-read --region eu-west-1 --endpoint-url http://s3-accelerate.amazonaws.com --cache-control max-age=2592000 build s3://$npm_config_bucket"
},
"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": {
"autoprefixer": "^9.8.6",
"postcss-cli": "^7.1.1",
"tailwindcss": "^1.6.2"
}
}