-
Notifications
You must be signed in to change notification settings - Fork 18
Dev Guide
Ilya Azin edited this page Nov 26, 2020
·
1 revision
$ npm i # install dependencies
$ npm run start # launch stand
$ npm run test # launch all tests
$ npm run react:test # unit tests
$ npm run lint:test # linters tests
$ npm run lint:fix # linters tests + autofix
$ npm run deps:clean # removing redundant created files, node_modules
$ npm run deps:reinstall # reinstall dependencies
$ npm run api:gen # generate types and hooks for work with API - once
$ npm run api:gen--watch # generate types and hooks for work with API - watch-mode
Plugins list for better DX
There is a required base config for all of these
- Tailwind CSS IntelliSense - Autocomplete for Tailwind classes in components
- Apollo GraphQL - IntelliSense with autocomplete (but with freezes, possible)
- ESLint + Stylelint - Autofix on save, testing from linters
ANI Team, 2020