Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit ae1f364

Browse files
committed
use consisten naming convention for npm tasks and use npm-run-all for docker task
1 parent a1eebf7 commit ae1f364

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
"tsc:w": "tsc -w",
88
"lite": "lite-server",
99
"typings": "typings",
10-
"docker-build": "docker build -t ng2-quickstart .",
11-
"docker": "npm run docker-build && docker run -it --rm -p 3000:3000 -p 3001:3001 ng2-quickstart",
10+
"docker:build": "docker build -t ng2-quickstart .",
11+
"docker:run": "docker run -it --rm -p 3000:3000 -p 3001:3001 ng2-quickstart",
12+
"docker": "npm-run-all docker:build docker:run",
1213
"postinstall": "typings install"
1314
},
1415
"license": "ISC",

0 commit comments

Comments
 (0)