0.0.1 β’ Published 6 years ago
jorens-test v0.0.1
Project setup
- Download all the files by cloning the repository
- run yarn or npm install
- create a .env configuration file based on the .env.example
- You are ready to go! ππ
Tips and tricks
- To disable corse errors in development: add in package.json
"proxy": "api-url"
Start, build and testing
yarn start || npm run start
for lauching the project πyarn build || npm run build
for building the project πyarn test || npm run test
for running all the test filesβ
Set up eslint/prettier
Next, you'll setup eslint and prettier so your code will be formatted on autosave based on the settings in the .eslintrc file
- Make sure eslint is installed correctly
- Download the prettier plugin and disable it.
Add in your vscode setting.
"editor.formatOnSave": true, "[javascript]": { "editor.formatOnSave": false }, "eslint.autoFixOnSave": true, "eslint.alwaysShowStatus": true,
5. Done π
0.0.1
6 years ago