mirror of
https://github.com/hacks-guide/minimal-mistakes.git
synced 2024-11-27 10:50:30 +00:00
33 lines
1.1 KiB
JSON
33 lines
1.1 KiB
JSON
{
|
|
"name": "minimal-mistakes",
|
|
"version": "4.7.1",
|
|
"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-3.2.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/_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"
|
|
}
|
|
}
|