Skip to content

Commit 7c535a9

Browse files
Add lint task
1 parent 529b53a commit 7c535a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"oc": "./dist/oc-cli.js"
99
},
1010
"scripts": {
11-
"build": "tsc && node tasks/build.js",
11+
"lint": "eslint src",
12+
"build": "npm run lint && tsc && node tasks/build.js",
1213
"git-stage-and-push": "node tasks/git-stage-and-push.js",
1314
"npm-publish": "node tasks/npm-publish.js",
1415
"publish-major": "npm run version-major && npm run test-silent && npm run git-stage-and-push && npm run npm-publish",

0 commit comments

Comments
 (0)