1.0.2 ⢠Published 1 year ago
release-please-example v1.0.2
š§āš» Developing
The library is fully dockerized š³, if we want to start the app in development mode, we just need to run:
docker-compose up -dThis development mode with work with hot-reload and exposing a debug port, the 9229, so later we can connect from our editor to it.
Now, you should be able to start debugging configuring using your IDE. For example, if you are using vscode, you can create a .vscode/launch.json file with the following config:
{
"version": "0.1.0",
"configurations": [
{
"type": "node",
"request": "attach",
"name": "Attach to docker",
"restart": true,
"port": 9229,
"remoteRoot": "/app"
}
]
}When you want to stop developing, you can stop the project running:
docker-compose downāļø Building
npm run buildš Linting
To run the linter you can execute:
npm run lintAnd for trying to fix lint issues automatically, you can run:
npm run lint:fix