Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(pkg): allow unit test watch and reload #713

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
"update-organization-info": "tsx scripts/update-organizations-info.ts",
"watch:assets": "NODE_ENV=development vite build --clearScreen false --watch",
"watch:ejs": "CHOKIDAR_USEPOLLING=true copy-and-watch --clean --watch \"src/views/**/*.ejs\" src/views/*.ejs build/views/",
"watch:node": "tsx --watch src/index.ts"
"watch:js": "tsc --watch --preserveWatchOutput",
"watch:node": "tsx --watch src/index.ts",
"watch:test:unit": "npm run test:unit -- --watch --watch-files src/**/*.ts,test/**/*.ts"
},
"prettier": {
"plugins": [
Expand All @@ -41,10 +43,10 @@
"@dotenvx/dotenvx": "^1.19.2",
"@fullhuman/postcss-purgecss": "^6.0.0",
"@gouvfr/dsfr": "^1.12.1",
"@numerique-gouv/crisp": "https://github.com/douglasduteil/crisp/releases/download/v1.6.1/douglasduteil-crisp-1.6.1.tgz",
"@numerique-gouv/moncomptepro.email": "workspace:*",
"@kitajs/html": "^4.2.4",
"@kitajs/ts-html-plugin": "^4.1.0",
"@numerique-gouv/crisp": "https://github.com/douglasduteil/crisp/releases/download/v1.6.1/douglasduteil-crisp-1.6.1.tgz",
"@numerique-gouv/moncomptepro.email": "workspace:*",
"@panva/jose": "^1.9.3",
"@sentry/node": "^7.112.2",
"@sentry/tracing": "^7.114.0",
Expand Down