Skip to content

Commit 8782bc6

Browse files
authored
Add 'npm run type-check' and 'npm run ci-checks' scripts (#94)
* Add 'npm run type-check' and 'npm run ci' scripts * Rename ci script to ci-checks
1 parent 98b120f commit 8782bc6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
"eslint": "eslint --ext .tsx,.js ./src/",
1717
"lint": "npm run eslint",
1818
"format": "prettier --check --write ./src/**/*.{tsx,ts}",
19+
"type-check": "tsc --noEmit",
20+
"ci-checks": "npm run type-check && npm run lint && npm run test",
1921
"build:bundle-profile": "webpack --config webpack.prod.js --profile --json > stats.json",
2022
"bundle-profile:analyze": "npm run build:bundle-profile && webpack-bundle-analyzer ./stats.json",
2123
"clean": "rimraf dist",

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"@app/*": ["src/app/*"],
2222
"@assets/*": ["node_modules/@patternfly/react-core/dist/styles/assets/*"]
2323
},
24-
"importHelpers": true
24+
"importHelpers": true,
25+
"skipLibCheck": true
2526
},
2627
"include": [
2728
"**/*.ts",

0 commit comments

Comments
 (0)