Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

start server before running e2e test #442

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@
"webdriver:update": "webdriver-manager update",
"webdriver:start": "webdriver-manager start",
"lint": "./node_modules/.bin/tslint 'src/**/*.ts'",
"pree2e": "npm run webdriver:update -- --standalone",
"pree2e": "npm start & npm run webdriver:update -- --standalone",
"e2e": "protractor",
"poste2e": "npm stop",
"e2e:live": "protractor --elementExplorer",
"test": "karma start",
"ci": "npm run e2e && npm run test",
"docs": "typedoc --options typedoc.json --exclude '**/*.spec.ts' ./src/",
"start": "npm run server",
"stop": "node -e \"var pids=[`lsof -i:3000 -t | tr '\n' , | sed 's/,$/ /'`];pids.forEach(function(pid){require('killprocess')(pid, 'SIGINT')})\"",
"typings-install": "typings install",
"postinstall": "npm run typings-install",
"preversion": "npm test",
Expand Down Expand Up @@ -74,6 +76,7 @@
"karma-phantomjs-launcher": "^1.0.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "1.7.0",
"killprocess": "0.0.2",
"ng2lint": "0.0.10",
"parse5": "^1.3.2",
"phantomjs-polyfill": "0.0.2",
Expand Down