Skip to content

Instantly share code, notes, and snippets.

@BiosBoy
Last active January 13, 2019 18:01
Show Gist options
  • Select an option

  • Save BiosBoy/6b4a3bc0baaced297c189f9f517b3caa to your computer and use it in GitHub Desktop.

Select an option

Save BiosBoy/6b4a3bc0baaced297c189f9f517b3caa to your computer and use it in GitHub Desktop.
...
...
...
"scripts": {
"start:dev": "better-npm-run start:dev",
"start:prod": "better-npm-run start:prod",
"test": "better-npm-run test",
"clean": "rimraf dist",
"push": "npm run lint && git push",
"compile": "better-npm-run compile",
"tslint": "tslint --fix -c tslint.json",
"eslint": "eslint --quiet ../../.eslintrc",
"csslint": "stylelint **/*.scss --config ../../.stylelintrc"
},
"betterScripts": {
"compile": {
"command": "node server/compiler",
"env": {
"NODE_ENV": "production",
"DEBUG": "app:*"
}
},
"start:dev": {
"command": "node server/server",
"env": {
"NODE_ENV": "development",
"DEBUG": "app:*"
}
},
"start:prod": {
"command": "node server/server",
"env": {
"NODE_ENV": "production",
"DEBUG": "app:*"
}
},
"test": {
"command": "node server/server",
"env": {
"NODE_ENV": "test",
"DEBUG": "app:*"
}
}
},
"repository": {
"type": "git"
},
...
...
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment