-
Notifications
You must be signed in to change notification settings - Fork 50
/
package.json
59 lines (59 loc) · 1.44 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
{
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"@babel/preset-react": "^7.9.4",
"babel-loader": "^8.1.0",
"cheerio": "^0.20.0",
"hsluv": "0.0.1",
"http-server": "^0.12.1",
"lodash": "^4.6.1",
"magicbook": "^0.1.19",
"magicbook-codesplit": "^0.1.6",
"magicbook-webpack": "0.0.4",
"p5": "^0.5.9",
"prismjs": "^1.5.1",
"react": "^15.3.2",
"react-dom": "^15.3.2",
"terser-webpack-plugin": "^2.3.5",
"through2": "^2.0.1",
"tinyliquid": "^0.2.31",
"webpack": "^4.42.1"
},
"scripts": {
"dev": "magicbook build --watch",
"serve": "http-server build/build1 -p 5000",
"build": "NODE_ENV=production magicbook build"
},
"static": {
"profile": "runemadsen",
"region": "us-east-1",
"buildDir": "build/build1",
"shouldRunBuildCommand": true,
"buildCommand": "npm run build",
"environments": {
"production": {
"stack": "none",
"bucket": "programmingdesignsystems.com",
"fileParams": [
{
"match": [
"!**/*.(html|json)"
],
"params": {
"CacheControl": "public, max-age=31536000, immutable"
}
},
{
"match": [
"**/*.(html|json)"
],
"params": {
"CacheControl": "public, max-age=300"
}
}
]
}
}
}
}