34 lines
1.1 KiB
JSON
34 lines
1.1 KiB
JSON
{
|
|
"name": "minimal-mistakes",
|
|
"version": "4.5.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": {
|
|
"npm-run-all": "^1.7.0",
|
|
"onchange": "^2.2.0",
|
|
"uglify-js": "^2.6.1"
|
|
},
|
|
"scripts": {
|
|
"uglify": "uglifyjs assets/js/vendor/jquery/jquery-1.12.4.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/_main.js -c -m -o assets/js/main.min.js",
|
|
"add-banner": "node banner.js",
|
|
"watch:js": "onchange \"assets/js/**/*.js\" -e \"assets/js/main.min.js\" -- npm run build:js",
|
|
"build:js": "npm run uglify && npm run add-banner"
|
|
}
|
|
}
|