- Lerna
- Webpack
- typescript
- babel
- All devtools in package
scripts
, less dirt - Clinet
- React
- Mobx
- Router
- Server
- Mock server
- Graphql
- install the dependencies: (only yarn)
yarn
- You are now ready!
npm start
- Start website on localhost:8080 with watching.yarn workspace client run start
- Start website on localhost:8080 with mock server and watching.yarn workspace server run start
- Start website on localhost:8080 only server without client with watching.npm run lint[:report][:error][:fix]
- Run lints usings eslint, recommand to install eslint-plugin on your editor.npm run typecheck
- Run typechecking on project.
- Eslint works from the command lint, but if you want it to work with VsCode, add these to your
User settings
:"eslint.options": { "extensions": [".js", ".jsx", ".ts", ".tsx"] }, "eslint.validate": [ { "language": "javascript", "autoFix": true }, { "language": "javascriptreact", "autoFix": true }, { "language": "typescript", "autoFix": true }, { "language": "typescriptreact", "autoFix": true } ]