-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
27 lines (27 loc) · 1.27 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
{
"name": "yaml-multiline",
"private": true,
"description": "Find the right syntax for your YAML multiline strings",
"dependencies": {
"bulma": "^0.9.0",
"jstransformer-uglify-js": "^1.1.1",
"node-zopfli": "^2.1.3",
"nodemon": "^2.0.4",
"pug-cli": "^1.0.0-alpha6",
"redrun": "^10.0.0",
"sass": "^1.83.0",
"uglifycss": "^0.0.29",
"uncss": "^0.17.3"
},
"devDependencies": {},
"scripts": {
"clean": "yarn && find . | grep -v '^./node_modules' | git check-ignore --stdin | xargs -r rm",
"build:style": "touch content/style.min.css && npm run build:index && sass content/style.scss > content/style.css && uncss -u uncssrc.json content/index.html | uglifycss --max-line-len 160 > content/style.min.css",
"build:index": "pug content/index.pug",
"build": "npm run build:style && npm run build:index",
"watch": "nodemon -e scss,pug --exec \"redrun build\"",
"compress:zopfli": "zopfli content/index.html content/favicon.ico content/favicon-512.png",
"compress": "npm run compress:zopfli",
"deploy": "npm run build:style && pug -O '{production:true}' content/index.pug && npm run compress && scp content/index.html* content/favicon.ico* content/favicon-512.png* yaml-multiline.info:/srv/http-static/yaml-multiline.info/"
}
}