-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
32 lines (32 loc) · 1.25 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
{
"description": "herndl.org",
"dependencies": {},
"devDependencies": {
"@babel/cli": "^7.0",
"@babel/core": "^7.0",
"@babel/preset-env": "^7.0",
"html-minifier": "^4.0",
"uglify-js": "^3.0",
"uglifycss": "0.0.29"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"compile-html": "./compile.sh",
"minimize-html": "html-minifier --collapse-whitespace --remove-comments --remove-optional-tags --remove-redundant-attributes --remove-script-type-attributes --minify-css true --minify-js true tmp/index.html > dist/index.html",
"transpile-js": "babel assets/js/ -d tmp",
"minimize-js": "uglifyjs --compress --mangle -- tmp/*.js > dist/scripts.js",
"minimize-css": "uglifycss assets/css/*.css > dist/styles.css",
"build": "npm run compile-html && npm run minimize-html && npm run transpile-js && npm run minimize-js && npm run minimize-css && rm -rf tmp"
},
"repository": {
"type": "git",
"url": "git+https://github.com/monojp/herndl.org.git"
},
"author": "Martin Herndl <martin@herndl.org> (https://herndl.org)",
"license": "MIT",
"bugs": {
"url": "https://github.com/monojp/herndl.org/issues"
},
"homepage": "https://github.com/monojp/herndl.org#readme",
"private": true
}