chore: add sample unit and e2e tests and explain them.
Showing
app/app.component.spec.ts
0 → 100644
e2e-spec.js
0 → 100644
| ... | @@ -6,12 +6,13 @@ | ... | @@ -6,12 +6,13 @@ |
| "build-and-test": "npm run tsc && npm run test", | "build-and-test": "npm run tsc && npm run test", | ||
| "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": "npm run docker-build && docker run -it --rm -p 3000:3000 -p 3001:3001 ng2-quickstart", | ||
| "e2e": "tsc && http-server && protractor protractor.config.js", | "e2e": "tsc && concurrently \"http-server\" \"protractor protractor.config.js\"", | ||
| "tsc": "tsc", | "tsc": "tsc", | ||
| "tsc:w": "tsc -w", | "tsc:w": "tsc -w", | ||
| "lite": "lite-server", | "lite": "lite-server", | ||
| "test": "tsc && concurrently \"tsc -w\" \"karma start karma.conf.js\"", | "test": "tsc && concurrently \"tsc -w\" \"karma start karma.conf.js\"", | ||
| "typings": "typings", | "typings": "typings", | ||
| "webdriver:update": "webdriver-manager update", | |||
| "postinstall": "typings install" | "postinstall": "typings install" | ||
| }, | }, | ||
| "license": "ISC", | "license": "ISC", | ||
| ... | @@ -26,6 +27,7 @@ | ... | @@ -26,6 +27,7 @@ |
| "zone.js": "0.6.10" | "zone.js": "0.6.10" | ||
| }, | }, | ||
| "devDependencies": { | "devDependencies": { | ||
| "canonical-path": "0.0.2", | |||
| "concurrently": "^2.0.0", | "concurrently": "^2.0.0", | ||
| "http-server": "^0.9.0", | "http-server": "^0.9.0", | ||
| "jasmine-core": "~2.4.1", | "jasmine-core": "~2.4.1", | ||
| ... | ... |
Please register or sign in to comment