-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
51 lines (51 loc) · 2.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
{
"version": "3.0.0",
"scripts": {
"build:sitecss": "postcss code/css/site.css --output code/assets/css/site.min.css --no-map",
"build:headcss": "postcss code/css/head.css --output code/css/head.min.css --no-map",
"build:css": "npm run build:sitecss && npm run build:headcss",
"build:site": "cuttlebelle",
"build:pages": "npm run build:site",
"build:favicons:2018": "mv docs/2018/assets/favicons/* docs/2018/ && rm -r docs/2018/assets/favicons",
"build:favicons:2019": "mv docs/2019/assets/favicons/* docs/2019/ && rm -r docs/2019/assets/favicons",
"build:favicons:home": "mv docs/home/assets/favicons/* docs/home/ && rm -r docs/home/assets/favicons",
"build:favicons": "npm run build:favicons:2018 && npm run build:favicons:2019 && npm run build:favicons:home",
"build:assets:2018": "cp -r docs/assets docs/2018/assets",
"build:assets:2019": "cp -r docs/assets docs/2019/assets",
"build:assets:home": "cp -r docs/assets docs/home/assets",
"build:assets": "npm run build:assets:2018 && npm run build:assets:2019 && npm run build:assets:home",
"build:clean": "rm -rf docs/assets",
"build": "rm -rf docs/ && npm run build:css && npm run build:pages && npm run build:assets && npm run build:favicons && npm run build:clean",
"watch:sitecss": "onchange 'code/css/site.css' -- npm run build:sitecss",
"watch:headcss": "onchange 'code/css/head.css' -- npm run build:headcss",
"watch:site": "onchange 'code/**' 'content/**' -- npm run build:pages",
"watch": "npm run build && npm run watch:sitecss | npm run watch:headcss | npm run watch:site | npm run server",
"server": "browser-sync start --server 'docs' --files 'docs' --startPath '2018'",
"nuke": "rm -rf docs && rm -rf node_modules && rm yarn.lock"
},
"dependencies": {},
"cuttlebelle": {
"folder": {
"code": "code/layout",
"assets": "code/assets",
"site": "docs",
"docs": "docs/docs"
},
"site": {
"markdownRenderer": "code/markdown/index.js"
}
},
"browserslist": [
"last 4 version"
],
"devDependencies": {
"autoprefixer": "^10.4.2",
"browser-sync": "^2.27.7",
"cssnano": "^5.0.17",
"cuttlebelle": "^1.0.0-alpha.77",
"moment": "^2.29.1",
"onchange": "^7.1.0",
"postcss": "^8.4.6",
"postcss-cli": "^9.1.0"
}
}