Skip to content

Instantly share code, notes, and snippets.

@nielk
Last active August 29, 2015 14:26
Show Gist options
  • Select an option

  • Save nielk/3bd012e1938905093a63 to your computer and use it in GitHub Desktop.

Select an option

Save nielk/3bd012e1938905093a63 to your computer and use it in GitHub Desktop.
npm build workflow
{
"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