hacks-guide-minimal-mistake.../package.json

43 lines
1.6 KiB
JSON
Raw Normal View History

2013-09-09 16:12:07 +02:00
{
"name": "minimal-mistakes",
"version": "2.1.0",
"description": "Minimal Mistakes Jekyll theme npm build scripts",
2013-09-09 16:12:07 +02:00
"repository": {
"type": "git",
"url": "git://github.com/mmistakes/minimal-mistakes.git"
},
2016-03-08 04:20:32 +01:00
"keywords": [
"jekyll",
"theme",
"minimal"
2016-03-08 04:20:32 +01:00
],
"author": "Michael Rose",
"license": "MIT",
2013-09-09 16:12:07 +02:00
"bugs": {
"url": "https://github.com/mmistakes/minimal-mistakes/issues"
},
"homepage": "https://mmistakes.github.io/minimal-mistakes/",
"engines": {
"node": ">= 0.10.0"
},
2013-09-09 16:12:07 +02:00
"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"
2016-03-18 15:54:47 +01:00
},
"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 && npm run build:js"
2013-09-09 16:12:07 +02:00
}
}