Skip to content

Commit af34fb9

Browse files
authored
[Spike]Replace watch with nodemon (#1146)
* replace watch with nodemon
1 parent 733fe86 commit af34fb9

File tree

8 files changed

+1785
-273
lines changed

8 files changed

+1785
-273
lines changed

packages/commerce-sdk-react/package-lock.json

+466-73
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/commerce-sdk-react/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"scripts": {
2828
"build": "cross-env NODE_ENV=production internal-lib-build build && tsc --emitDeclarationOnly",
2929
"build:docs": "typedoc",
30-
"build:watch": "watch 'npm run build' src/",
30+
"build:watch": "nodemon --watch 'src/**' --ext 'tsx,ts' --exec 'npm run build'",
3131
"format": "internal-lib-build format \"**/*.{js,jsx,ts,tsx}\"",
3232
"lint": "npm run lint:js && tsc --noEmit",
3333
"lint:fix": "npm run lint:js -- --fix",
@@ -60,15 +60,15 @@
6060
"internal-lib-build": "2.8.0-dev",
6161
"jsonwebtoken": "^8.5.1",
6262
"nock": "^13.3.0",
63+
"nodemon": "^2.0.22",
6364
"pwa-kit-dev": "2.8.0-dev",
6465
"react": "^17.0.2",
6566
"react-dom": "^17.0.2",
6667
"react-helmet": "^6.1.0",
6768
"semver": "^7.3.8",
6869
"shelljs": "^0.8.5",
6970
"typedoc": "^0.23.28",
70-
"typescript": "4.8.3",
71-
"watch": "^1.0.2"
71+
"typescript": "4.8.3"
7272
},
7373
"peerDependencies": {
7474
"@tanstack/react-query": "^4",

0 commit comments

Comments
 (0)