Skip to content

Commit

Permalink
#290 Add TypeScript's type-check script
Browse files Browse the repository at this point in the history
  • Loading branch information
zaki-yama committed Feb 10, 2019
1 parent ccbb6dd commit 40669c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@
},
"scripts": {
"storybook": "start-storybook -s ./node_modules/@salesforce-ux/design-system -p 9001 -c .storybook",
"test": "npm-run-all test:jest test:storyshots",
"test": "npm-run-all type-check test:jest test:storyshots",
"test:storyshots": "NODE_ENV=test jest test/storyshots/*.test.js",
"test:jest": "jest test/*-spec.js",
"prepublish": "npm run build",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch",
"lint": "npm run lint:src && npm run lint:stories && npm run lint:test",
"lint:src": "eslint --ext .js src/scripts/**",
"lint:stories": "eslint --ext .js stories/**",
Expand Down

0 comments on commit 40669c5

Please sign in to comment.