Last active
August 29, 2015 14:26
-
-
Save nielk/3bd012e1938905093a63 to your computer and use it in GitHub Desktop.
npm build workflow
This file contains hidden or 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": "lorem-ipsum", | |
| "version": "1.0.0", | |
| "description": "", | |
| "main": "index.js", | |
| "scripts": { | |
| "build": "npm run js:watch & npm run less:watch & npm run jade:watch", | |
| "jade:watch": "jade -w ./src/*.jade -o ./dist", | |
| "less:watch": "pleeease-watch", | |
| "js:watch": "babel ./src/index.js --watch --out-file ./dist/main.js", | |
| "image": "imagemin ./src/images/* ./dist", | |
| "test": "echo \"Error: no test specified\" && exit 1", | |
| "prebuild": "npm run image" | |
| }, | |
| "author": "Les Polypodes <contact@lespolypodes.com>", | |
| "license": "ISC", | |
| "dependencies": { | |
| "babel": "^5.8.19", | |
| "imagemin-cli": "^1.0.0", | |
| "jade": "^1.11.0", | |
| "pleeease": "^3.4.0", | |
| "pleeease-cli": "^3.2.8" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment