This repository has been archived by the owner on Jun 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
72 lines (72 loc) · 3.23 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
{
"private": true,
"name": "bedtime",
"version": "1.0.0",
"license": "MIT",
"scripts": {
"dev": "preact watch --no-sw --template src/template.html",
"start:dev": "env-cmd -f .env.dev env-cmd -f .env.local npm run -s dev",
"start:stage": "env-cmd -f .env.stage env-cmd -f .env.local npm run -s dev",
"start:prod": "env-cmd -f .env.prod env-cmd -f .env.local npm run -s dev",
"build:stage": "env-cmd -f .env.stage preact --max-old-space-size=8192 build --no-prerender --no-sw --template src/template.html && npm run build-api",
"build:prod": "env-cmd -f .env.prod preact --max-old-space-size=8192 build --no-prerender --no-sw --template src/template.html && npm run build-api",
"build-api": "webpack --config src/api/webpack.config.js -o build/api.js",
"serve": "preact --max-old-space-size=8192 build --no-prerender --no-sw --template src/template.html && preact serve",
"deploy:prod": "aws s3 sync build s3://bedtime.audius.co --delete && aws s3 cp s3://bedtime.audius.co/index.html s3://bedtime.audius.co/index.html --cache-control max-age=0,no-cache,no-store,must-revalidate --content-type text/html --metadata-directive REPLACE --acl public-read && aws cloudfront create-invalidation --distribution-id E33HWSH5ZFFGR1 --paths \"/*\"",
"deploy:stage": "aws s3 sync build s3://bedtime.staging.audius.co --delete && aws s3 cp s3://bedtime.staging.audius.co/index.html s3://bedtime.staging.audius.co/index.html --cache-control max-age=0,no-cache,no-store,must-revalidate --content-type text/html --metadata-directive REPLACE --acl public-read && aws cloudfront create-invalidation --distribution-id E2FVSCZAVXZNSY --paths \"/*\"",
"lint": "eslint src"
},
"eslintIgnore": [
"build/*"
],
"devDependencies": {
"@babel/core": "7.20.12",
"@babel/eslint-parser": "7.19.1",
"@babel/preset-react": "7.18.6",
"env-cmd": "10.1.0",
"eslint": "8.33.0",
"eslint-config-preact": "1.3.0",
"eslint-config-standard": "17.0.0",
"eslint-config-standard-jsx": "11.0.0",
"eslint-config-standard-react": "13.0.0",
"eslint-config-synacor": "3.0.4",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-n": "15.6.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "4.6.0",
"identity-obj-proxy": "3.0.0",
"jest": "29.4.2",
"per-env": "1.0.2",
"preact-cli": "3.0.0-rc.7",
"preact-cli-plugin-env-vars": "1.2.1",
"preact-cli-svg-loader": "1.0.0",
"preact-render-spy": "1.2.1",
"prettier": "2.8.3",
"prettier-config-standard": "5.0.0",
"prettier-standard": "16.4.1",
"serve": "11.1.0",
"webpack-cli": "4.5.0"
},
"dependencies": {
"@audius/sdk": "2.0.1",
"@audius/stems": "0.3.9",
"amplitude-js": "8.11.1",
"axios": "0.19.2",
"classnames": "2.2.6",
"copy-to-clipboard": "3.2.1",
"hashids": "2.2.10",
"hls.js": "0.13.1",
"node-polyfill-webpack-plugin": "2.0.1",
"preact": "10.0.1",
"preact-render-to-string": "5.1.0",
"preact-router": "3.0.0",
"react-helmet": "6.1.0",
"react-transition-group": "4.3.0",
"simplebar-react": "2.1.0",
"web3": "1.8.2",
"web3-utils": "1.3.4"
}
}