Added commandline commands to package.json
This enables the "npm run" commands as abstraction aliases into storyboard's build environment. Rather than having to know about grunt, or karma, or any of the other tools that we use, a user can now simply execute 'npm run package' or 'npm run lint' and get the expected results with no foreknowledge. It also allows us to decouple our infra tooling from being grunt aware. Change-Id: I8a5b665aca6586b0831e8441614e96173b450e17
This commit is contained in:
parent
961ee8f94f
commit
1ccee87a4a
@ -4,7 +4,14 @@
|
||||
"description": "An all-javascript webclient for the Storyboard API",
|
||||
"main": "index.html",
|
||||
"scripts": {
|
||||
"test": "grunt test"
|
||||
"clean": "./node_modules/.bin/grunt clean",
|
||||
"lint": "./node_modules/.bin/grunt eslint",
|
||||
"test:unit": "./node_modules/.bin/grunt test:unit",
|
||||
"test:functional": "./node_modules/.bin/grunt test:functional",
|
||||
"test:integration": "./node_modules/.bin/grunt test:integration",
|
||||
"draft": "./node_modules/.bin/grunt build:draft",
|
||||
"build": "./node_modules/.bin/grunt build",
|
||||
"serve": "./node_modules/.bin/grunt serve"
|
||||
},
|
||||
"repository": "",
|
||||
"keywords": [
|
||||
|
Loading…
x
Reference in New Issue
Block a user