Skip to content

Commit d4a6065

Browse files
ci(lint): run lint before e2e and test
1 parent eeedb85 commit d4a6065

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
@@ -36,11 +36,12 @@
3636
"static-server": "node src/server/staticServer.js",
3737
"match-server": "node src/server/matchServer.js",
3838
"lint": "./node_modules/.bin/tslint src/**/*.ts -e src/typings/**",
39-
"pree2e": "npm run webdriver:update -- --standalone",
39+
"pree2e": "npm run lint && npm run webdriver:update -- --standalone",
4040
"e2e": "protractor",
4141
"e2e:live": "protractor --elementExplorer",
42+
"pretest": "npm run lint",
4243
"test": "node_modules/.bin/karma start --single-run",
43-
"ci": "npm run lint && npm run e2e && npm run test",
44+
"ci": "npm run e2e && npm run test",
4445
"typings-install": "typings install",
4546
"postinstall": "npm run typings-install"
4647
},

0 commit comments

Comments
 (0)