forked from mmistakes/minimal-mistakes
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
42 lines (42 loc) · 1.57 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
{
"name": "minimal-mistakes",
"version": "2.1.0",
"description": "Minimal Mistakes Jekyll theme npm build scripts",
"repository": {
"type": "git",
"url": "git://github.com/mmistakes/minimal-mistakes.git"
},
"keywords": [
"jekyll",
"theme",
"minimal"
],
"author": "Michael Rose",
"license": "MIT",
"bugs": {
"url": "https://github.com/mmistakes/minimal-mistakes/issues"
},
"homepage": "https://mmistakes.github.io/minimal-mistakes/",
"engines": {
"node": ">= 0.10.0"
},
"devDependencies": {
"autoprefixer": "^6.3.5",
"node-sass": "^3.4.2",
"npm-run-all": "^1.7.0",
"onchange": "^2.2.0",
"postcss-cli": "^2.5.1",
"uglify-js": "^2.6.1"
},
"scripts": {
"scss": "node-sass --output-style compressed -o assets/css assets/_scss",
"autoprefixer": "postcss -u autoprefixer -b \">, 5%, ie 9\" -r assets/css/*",
"uglify": "uglifyjs assets/js/vendor/jquery/jquery-1.12.1.min.js assets/js/plugins/jquery.fitvids.js assets/js/plugins/jquery.greedy-navigation.js assets/js/plugins/jquery.magnific-popup.js assets/js/plugins/jquery.smooth-scroll.min.js assets/js/plugins/stickyfill.min.js assets/js/_main.js -c -m -o assets/js/main.min.js",
"watch:css": "onchange \"assets/_scss/**/*.scss\" -- npm run build:css",
"watch:js": "onchange \"assets/js/**/*.js\" -e \"assets/js/main.min.js\" -- npm run build:js",
"watch:all": "npm-run-all --parallel watch:css watch:js",
"build:css": "npm run scss && npm run autoprefixer",
"build:js": "npm run uglify",
"build:all": "npm run build:css && build:js"
}
}