A wercker step to run scripts from package.json
with npm run
.
script
(required) Name of the script definition in package.json.
Define scripts in package.json
.
{
"name": "awesome-node-app",
"scripts": {
"build": "gulp build"
}
}
Add npm run
to your build steps.
build:
steps:
- maxon/npm-run:
script: build