-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
27 lines (27 loc) · 1.22 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": "thomasjbradley",
"version": "4.2.0",
"private": true,
"devDependencies": {
"cssnano": "^3.7.3",
"html-minifier": "^3.5.3",
"npm-run-all": "^4.1.1",
"onchange": "^3.2.1",
"postcss-assets": "^5.0.0",
"postcss-cli": "^4.1.0",
"postcss-cssnext": "^3.0.2",
"postcss-import": "^10.0.0"
},
"scripts": {
"start": "jekyll serve --incremental",
"minify-site": "html-minifier --file-ext=html --input-dir=_site --output-dir=_site --config-file=.html-minifier.json",
"build-site": "jekyll build && npm run minify-site",
"postcss": "postcss --no-map -u postcss-import -u postcss-cssnext --postcss-cssnext.browsers 'last 2 versions' -u postcss-assets -u cssnano --cssnano.safe",
"build-css": "npm run postcss -- -o _includes/main.min.css css/main.css",
"watch-css": "onchange 'css/*.css' -- npm run build-css",
"watch": "npm-run-all --parallel watch-css server",
"build": "npm run build-css && npm run build-site",
"deploy": "rsync --recursive --checksum --delete --delete-excluded --verbose --compress --chmod=D2755,F644 --exclude-from=rsync-exclude.txt ./_site/ [email protected]:thomasjbradley/",
"build-n-deploy": "npm run build && npm run deploy"
}
}