1.0.6 • Published 6 years ago
kunalakhakhar-shared-2 v1.0.6
Reusable Component Library
Testing
Note that jest
and ts-jest
dependency versions should match exactly as those of create-react-app in the myapp
folder.
$ yarn test
$ yarn storybook
Linting
$ yarn lint
Note: Windows users need to remove the quotes from the lint command in package.json
. So replace
"lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts*'",
with
"lint": "tslint --project tsconfig.json -t codeFrame src/**/*.ts*",
Building
$ yarn build
The output is stored in the dist
folder.