use consisten naming convention for npm tasks and use npm-run-all for docker task
Showing
... | @@ -7,8 +7,9 @@ | ... | @@ -7,8 +7,9 @@ |
"tsc:w": "tsc -w", | "tsc:w": "tsc -w", | ||
"lite": "lite-server", | "lite": "lite-server", | ||
"typings": "typings", | "typings": "typings", | ||
"docker-build": "docker build -t ng2-quickstart .", | "docker:build": "docker build -t ng2-quickstart .", | ||
"docker": "npm run docker-build && docker run -it --rm -p 3000:3000 -p 3001:3001 ng2-quickstart", | "docker:run": "docker run -it --rm -p 3000:3000 -p 3001:3001 ng2-quickstart", | ||
"docker": "npm-run-all docker:build docker:run", | |||
"postinstall": "typings install" | "postinstall": "typings install" | ||
}, | }, | ||
"license": "ISC", | "license": "ISC", | ||
... | ... |
Please register or sign in to comment