Skip to content

Instantly share code, notes, and snippets.

@bymathias
Created July 28, 2015 22:32
Show Gist options
  • Save bymathias/f26d3e57de33b71451e2 to your computer and use it in GitHub Desktop.
Save bymathias/f26d3e57de33b71451e2 to your computer and use it in GitHub Desktop.
{
"name": "boss",
"version": "0.1.0",
"description": "Boilerplate Super Simple, to quickly get projects going.",
"author": "Mathias Brouilly",
"license": "MIT",
"private": true,
"homepage": "http://bymathias.github.io/boss",
"repository": {
"type": "git",
"url": "https://github.com/bymathias/boss"
},
"bugs": {
"url": "https://github.com/bymathias/boss/issues"
},
"devDependencies": {
"bower": "^1.4.1",
"browser-sync": "^2.7.13",
"csslint-cli": "0.0.3",
"cssnext": "^1.8.2",
"jshint": "^2.8.0",
"jshint-stylish": "^2.0.1",
"onchange": "^1.1.0",
"parallelshell": "^1.2.0",
"smash": "0.0.14",
"trash": "^1.4.1",
"webcolors": "^1.2.2"
},
"scripts": {
"postinstall": "bower i",
"premake": "for i in css js js/libs img font; do trash --force ./dist/assets/$i/ &> /dev/null && mkdir -p ./dist/assets/$i/; done",
"make-css": "cssnext -U ./app/styles/app.css ./dist/assets/css/app.css && csslint-cli $_",
"make-js": "smash ./app/scripts/app.js > ./dist/assets/js/app.js && jshint --reporter=node_modules/jshint-stylish ./dist/assets/js/app.js",
"make": "xargs -n2 < .copy cp -rf && npm run make-css && npm run make-js",
"serve": "browser-sync start --server 'dist' --browser 'firefox'",
"watch-css": "onchange './app/styles/**/*.css' -- npm run make-css",
"watch-js": "onchange './app/scripts/**/*.js' -- npm run make-js",
"watch": "npm run make && parallelshell 'npm run watch-css' 'npm run watch-js' 'npm run serve'"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment