Skip to content

Commit c11b3db

Browse files
committed
workflow: integrate lint into the test script
1 parent c811990 commit c11b3db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525
},
2626
"scripts": {
2727
"lint": "eslint --format=codeframe .",
28-
"test": "jasmine test/unit/* test/e2e/index.js",
28+
"test": "npm run lint && jasmine test/unit/* test/e2e/index.js",
2929
"coverage": "nyc npm run test",
3030
"clean": "rimraf build",
3131
"build": "npm run clean && babel --out-dir=build src",
32-
"publish-stable": "npm run lint && npm run test && npm run build && npm publish",
33-
"publish-next": "npm run lint && npm run test && npm run build && npm publish --tag next"
32+
"publish-stable": "npm run test && npm run build && npm publish",
33+
"publish-next": "npm run test && npm run build && npm publish --tag next"
3434
},
3535
"main": "src/index.js",
3636
"files": [

0 commit comments

Comments
 (0)