Skip to content

Commit

Permalink
*/pkg.json: add watch cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
tharvik committed Feb 7, 2024
1 parent 87cbf0e commit 762096f
Show file tree
Hide file tree
Showing 8 changed files with 130 additions and 301 deletions.
6 changes: 4 additions & 2 deletions cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
"private": true,
"main": "dist/benchmark.ts",
"scripts": {
"watch": "nodemon --ext ts --ignore dist --watch ../discojs/discojs-node/dist --watch ../server/dist --exec npm run",
"start": "npm run build && node dist/benchmark.js",
"build": "tsc",
"test": ": nothing",
"start": "npm run build && node dist/benchmark.js"
"lint": "npx eslint --max-warnings 0 .",
"test": ": nothing"
},
"author": "",
"license": "ISC",
Expand Down
3 changes: 2 additions & 1 deletion discojs/discojs-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"watch": "nodemon --ext ts --ignore dist --exec npm run",
"build": "tsc",
"lint": "npx eslint --max-warnings 0 .",
"test": "mocha",
"lint": "npx eslint --max-warnings 0 --ignore-pattern '*.spec.ts' .",
"docs": "typedoc ./src/index.ts --theme oxide"
},
"repository": {
Expand Down
3 changes: 2 additions & 1 deletion discojs/discojs-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"watch": "nodemon --ext ts --ignore dist --watch ../discojs-core/dist --exec npm run",
"build": "tsc",
"lint": "npx eslint --max-warnings 0 .",
"test": "mocha",
"lint": "npx eslint --max-warnings 0 --ignore-pattern '*.spec.ts' .",
"docs": "typedoc ./src/imports.ts --theme oxide"
},
"repository": {
Expand Down
3 changes: 2 additions & 1 deletion discojs/discojs-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"watch": "nodemon --ext ts --ignore dist --watch ../discojs-core/dist --exec npm run",
"build": "tsc",
"lint": "npx eslint --max-warnings 0 .",
"test": ": nothing",
"lint": "npx eslint --max-warnings 0 --ignore-pattern '*.spec.ts' .",
"docs": "typedoc ./src/index.ts --theme oxide"
},
"repository": {
Expand Down
Loading

0 comments on commit 762096f

Please sign in to comment.