Skip to content

Commit

Permalink
use native node watch
Browse files Browse the repository at this point in the history
  • Loading branch information
spencermountain committed Aug 17, 2024
1 parent dfcced2 commit f163064
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 22 deletions.
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@
},
"scripts": {
"build": "npm run version && rollup -c --silent",
"watch": "amble ./scratch.js",
"watch:tag": "amble ./tagger.scratch.js",
"watch": "node --watch scratch.js",
"pack": "node ./scripts/pack.js",
"version": "node ./scripts/version.js",
"test": "tape \"./tests/**/*.test.js\" | tap-dancer",
Expand Down Expand Up @@ -116,7 +115,6 @@
"devDependencies": {
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-terser": "0.4.4",
"amble": "1.3.0",
"cross-env": "^7.0.3",
"eslint": "9.8.0",
"eslint-plugin-regexp": "2.6.0",
Expand All @@ -134,4 +132,4 @@
"_tests/**"
],
"license": "MIT"
}
}
2 changes: 1 addition & 1 deletion plugins/_experiments/ast/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"scripts": {
"test": "tape \"./tests/**/*.test.js\" | tap-dancer --color always",
"testb": "TESTENV=prod tape \"./tests/**/*.test.js\" | tap-dancer --color always",
"watch": "amble ./scratch.js",
"watch": "node --watch ./scratch.js",
"build": "rollup -c --silent"
},
"eslintIgnore": [
Expand Down
2 changes: 1 addition & 1 deletion plugins/_experiments/markdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"scripts": {
"test": "tape \"./tests/**/*.test.js\" | tap-dancer --color always",
"testb": "TESTENV=prod tape \"./tests/**/*.test.js\" | tap-dancer --color always",
"watch": "amble ./scratch.js",
"watch": "node --watch ./scratch.js",
"build": "rollup -c --silent"
},
"eslintIgnore": [
Expand Down
4 changes: 2 additions & 2 deletions plugins/_experiments/sentiment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"scripts": {
"test": "tape \"./tests/**/*.test.js\" | tap-dancer --color always",
"testb": "TESTENV=prod tape \"./tests/**/*.test.js\" | tap-dancer --color always",
"watch": "amble ./scratch.js",
"watch": "node --watch ./scratch.js",
"build": "rollup -c --silent"
},
"eslintIgnore": [
Expand All @@ -43,4 +43,4 @@
"devDependencies": {
"@rollup/plugin-commonjs": "^24.0.1"
}
}
}
4 changes: 2 additions & 2 deletions plugins/dates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"scripts": {
"test": "tape \"./tests/**/*.test.js\" | tap-dancer --color always",
"testb": "TESTENV=prod tape \"./tests/**/*.test.js\" | tap-dancer --color always",
"watch": "amble ./scratch.js",
"watch": "node --watch ./scratch.js",
"perf": "node ./scripts/perf.js",
"version": "node ./scripts/version.js",
"build": "npm run version && rollup -c --silent"
Expand All @@ -42,4 +42,4 @@
"spacetime-holiday": "0.3.0"
},
"license": "MIT"
}
}
4 changes: 2 additions & 2 deletions plugins/paragraphs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"scripts": {
"test": "tape \"./tests/**/*.test.js\" | tap-dancer --color always",
"testb": "TESTENV=prod tape \"./tests/**/*.test.js\" | tap-dancer --color always",
"watch": "amble ./scratch.js",
"watch": "node --watch ./scratch.js",
"build": "rollup -c --silent"
},
"files": [
Expand All @@ -36,4 +36,4 @@
},
"devDependencies": {},
"license": "MIT"
}
}
4 changes: 2 additions & 2 deletions plugins/payload/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"scripts": {
"test": "tape \"./tests/**/*.test.js\" | tap-dancer --color always",
"testb": "TESTENV=prod tape \"./tests/**/*.test.js\" | tap-dancer --color always",
"watch": "amble ./scratch.js",
"watch": "node --watch ./scratch.js",
"build": "rollup -c --silent"
},
"peerDependencies": {
Expand All @@ -37,4 +37,4 @@
],
"devDependencies": {},
"license": "MIT"
}
}
4 changes: 2 additions & 2 deletions plugins/speech/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"scripts": {
"test": "tape \"./tests/**/*.test.js\" | tap-dancer --color always",
"testb": "TESTENV=prod tape \"./tests/**/*.test.js\" | tap-dancer --color always",
"watch": "amble ./scratch.js",
"watch": "node --watch ./scratch.js",
"build": "rollup -c --silent"
},
"eslintIgnore": [
Expand All @@ -41,4 +41,4 @@
"dependencies": {},
"devDependencies": {},
"license": "MIT"
}
}
4 changes: 2 additions & 2 deletions plugins/speed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"scripts": {
"test": "tape \"./tests/**/*.test.js\" | tap-dancer --color always",
"testb": "TESTENV=prod tape \"./tests/**/*.test.js\" | tap-dancer --color always",
"watch": "amble ./scratch.js",
"watch": "node --watch ./scratch.js",
"version": "node ./scripts/version.js",
"build": "npm run version && rollup -c --silent"
},
Expand All @@ -40,4 +40,4 @@
"nlp-corpus": "^4.4.0"
},
"license": "MIT"
}
}
4 changes: 2 additions & 2 deletions plugins/stats/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"scripts": {
"test": "tape \"./tests/**/*.test.js\" | tap-dancer --color always",
"testb": "TESTENV=prod tape \"./tests/**/*.test.js\" | tap-dancer --color always",
"watch": "amble ./scratch.js",
"watch": "node --watch ./scratch.js",
"generate": "node ./scripts/generate.js",
"stat": "node ./scripts/stat.js",
"perf": "node ./scripts/perf.js",
Expand All @@ -43,4 +43,4 @@
},
"devDependencies": {},
"license": "MIT"
}
}
4 changes: 2 additions & 2 deletions plugins/wikipedia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"scripts": {
"test": "tape \"./tests/**/*.test.js\" | tap-dancer --color always",
"testb": "TESTENV=prod tape \"./tests/**/*.test.js\" | tap-dancer --color always",
"watch": "amble ./scratch.js",
"watch": "node --watch ./scratch.js",
"generate": "node ./scripts/generate/index.js",
"stat": "node ./scripts/stat.js",
"perf": "node ./scripts/perf.js",
Expand All @@ -45,4 +45,4 @@
"node-wget-promise": "0.1.6"
},
"license": "MIT"
}
}
File renamed without changes.

0 comments on commit f163064

Please sign in to comment.