Created
November 26, 2015 15:51
-
-
Save rayrutjes/554f283502d3be418650 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "npm-task-runner-example", | |
"version": "0.0.1", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"clean": "rimraf dist && mkdirp dist/css", | |
"prebuild": "npm run clean", | |
"build:js": "node tasks/build/js.js", | |
"watch:js": "watch 'npm run build:js' assets/js", | |
"build:img": "imagemin --progressive assets/img dist/img", | |
"watch:img": "watch 'npm run build:img' assets/img", | |
"build:css": "node-sass assets/scss/ --output dist/css/ --output-style compressed", | |
"watch:css": "node-sass assets/scss/ --output dist/css/ --output-style compressed --watch", | |
"build:html": "jade --pretty --out dist assets/html/*.jade", | |
"watch:html": "jade --pretty --out dist assets/html/*.jade --watch", | |
"build:favicon": "cp assets/root/* dist/", | |
"build": "npm run build:favicon && npm run build:js && npm run build:img && npm run build:css && npm run build:html", | |
"watch": "concurrent --kill-others 'npm run watch:js' 'npm run watch:img' 'npm run watch:css' 'npm run watch:html'", | |
"serve": "http-server -p 9090 dist/", | |
"open:dev": "opener http://localhost:9090", | |
"dev": "npm run build && concurrent --kill-others 'npm run serve' 'npm run watch' 'npm run open:dev'", | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"author": "rayrutjes <raymond.rutjes@gmail.com>", | |
"license": "MIT", | |
"dependencies": {}, | |
"devDependencies": { | |
"concurrently": "^0.1.1", | |
"foundation-sites": "^5.5.3", | |
"http-server": "^0.8.5", | |
"imagemin-cli": "^2.0.0", | |
"jade": "^1.11.0", | |
"mkdirp": "^0.5.1", | |
"node-sass": "^3.4.1", | |
"opener": "^1.4.1", | |
"rimraf": "^2.4.3", | |
"uglify-js": "^2.5.0", | |
"watch": "^0.16.0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment