Basically it is my profile :)
-
Prefer Node >= v12.
-
Install dependencies
yarn
Use the yarn to install dependencies.
Use yarn to install dependencies.
yarn
To Dev using
yarn dev
Use eslint
to check Javascript code.
yarn lint
Use stylelint
to check SCSS embedded in JS code.
yarn lint:css
DangerJs is running to check PRs info when pulling request.
Testing is supported by Jester and using typescript.
- Jest config:
jest.config.js
- Typescript config for jest:
jest.tsconfig.json
- Jest init script:
enzyme.js
- Run test
yarn test
- Run test while developing
yarn test:watch
- Run test coverage
yarn test:coverage
Only release a version when git status is clean and on branch master
.
Use auto-changelog
to generate CHANGELOG.md.
yarn release
CD/CI is supported by Circle.io.
Circle.io will run through (Looking at .circleci/config.yml for details)
yarn
yarn danger ci
yarn lint
yarn lint:css
yarn test:coverage