-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
29 lines (29 loc) · 1.35 KB
/
package.json
File metadata and controls
29 lines (29 loc) · 1.35 KB
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
{
"name": "masking-website",
"version": "0.1.0",
"private": true,
"author": "Masking Technology",
"license": "MIT",
"scripts": {
"build": "npm run clean && npm run compose && npm run finalize",
"clean": "rimraf build dist",
"compose": "npx @11ty/eleventy",
"finalize": "npm run copy && npm run create && npm run minify",
"copy": "cpx -u 'build/**/*.{svg,png,jpg,html,php,txt,pdf}' dist",
"create": "mkdir -p dist/css dist/js",
"minify": "npm run minify-html && npm run minify-css && npm run minify-js",
"minify-html": "npm run minify-index && npm run minify-projects && npm run minify-articles && npm run minify-talks",
"minify-index": "minify build/index.html > dist/index.html",
"minify-projects": "minify build/projects/index.html > dist/projects/index.html",
"minify-articles": "minify build/articles/index.html > dist/articles/index.html",
"minify-talks": "minify build/talks/index.html > dist/talks/index.html",
"minify-css": "minify build/css/site/*.css build/css/site/**/*.css build/fonts/**/*.css > dist/css/site.css",
"minify-js": "minify build/js/site.js > dist/js/site.js"
},
"devDependencies": {
"@11ty/eleventy": "^3.1.2",
"cpx2": "^8.0.0",
"minify": "^14.1.0",
"rimraf": "^6.1.2"
}
}