Skip to content

Commit

Permalink
chore(dev): add "dev" script to build in watch mode
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieusieben committed Feb 12, 2024
1 parent ced5320 commit c4e1bac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
"verify": "prettier --check . && pnpm lint",
"format": "prettier --write .",
"build": "pnpm -r --stream build",
"dev": "npm-run-all -p dev:*",
"dev:tsc": "tsc --build tsconfig.json --watch",
"dev:all": "pnpm -r --stream dev",
"test": "LOG_ENABLED=false NODE_ENV=development ./packages/dev-infra/with-test-redis-and-db.sh pnpm --stream -r test",
"test:withFlags": "LOG_ENABLED=false NODE_ENV=development ./packages/dev-infra/with-test-redis-and-db.sh pnpm --stream -r test --",
"changeset": "changeset",
Expand All @@ -39,6 +42,7 @@
"handlebars-jest": "^1.0.0",
"jest": "^28.1.2",
"node-gyp": "^9.3.1",
"npm-run-all": "^4.1.5",
"pino-pretty": "^9.1.0",
"prettier": "^2.7.1",
"prettier-config-standard": "^5.0.0",
Expand Down
2 changes: 2 additions & 0 deletions packages/pds/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
"build": "pnpm run build:tsc && pnpm run build:hbs",
"build:tsc": "tsc --build tsconfig.build.json",
"build:hbs": "node ./build.templates.js",
"dev": "pnpm run dev:hbs",
"dev:hbs": "node ./build.templates.js --watch",
"test": "../dev-infra/with-test-redis-and-db.sh jest",
"test:sqlite": "jest",
"test:sqlite-only": "jest --testPathIgnorePatterns /tests/proxied/*",
Expand Down

0 comments on commit c4e1bac

Please sign in to comment.