Skip to content

Commit 6bb58c5

Browse files
committed
add linting to build script
1 parent 801314a commit 6bb58c5

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
@@ -11,11 +11,12 @@
1111
"lint:imports": "node scripts/check-imports.js",
1212
"test": "karma start --single-run",
1313
"bootstrap": "npm install && ./scripts/bootstrap.sh && npm run build",
14-
"build": "npm run build:styling && npm run build:typescript -- --verbose",
14+
"build": "npm run lint && npm run build:styling && npm run build:typescript -- --verbose",
1515
"build:styling": "./scripts/build-styling.sh",
1616
"build:typescript": "tsc --build packages/**/tsconfig.json",
1717
"update-gh-pages": "npm run bootstrap && ./scripts/publish-demos.sh",
1818
"watch": "npm run bootstrap && node scripts/watcher.js",
19+
"lint": "npm run lint:typescript",
1920
"lint:typescript": "eslint \"packages/**/*.ts\""
2021
},
2122
"devDependencies": {

0 commit comments

Comments
 (0)