Skip to content

Commit e78eeb4

Browse files
committed
add linting to build script
1 parent bf4d270 commit e78eeb4

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
@@ -9,11 +9,12 @@
99
"clean:styles": "del-cli packages/*/src/*-css.ts",
1010
"dev": "polyserve --npm --module-resolution=node",
1111
"lint:imports": "node scripts/check-imports.js",
12+
"lint": "npm run lint:typescript",
1213
"lint:typescript": "eslint \"packages/**/*.ts\"",
1314
"test": "karma start --single-run",
1415
"test:bench": "node test/benchmark/cli.js",
1516
"bootstrap": "npm install && ./scripts/bootstrap.sh && npm run build",
16-
"build": "npm run build:styling && npm run build:typescript -- --verbose",
17+
"build": "npm run lint && npm run build:styling && npm run build:typescript -- --verbose",
1718
"build:styling": "./scripts/build-styling.sh",
1819
"build:typescript": "tsc --build packages/**/tsconfig.json",
1920
"build:tests": "tsc --build test/tsconfig.json && tsc --build test/tsconfig-node.json",

0 commit comments

Comments
 (0)