Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Webpack Dev Server | 7,602 | 435,215 | 77,958 | a day ago | 203 | September 19, 2022 | 56 | mit | JavaScript | |
Serves a webpack app. Updates the browser on changes. Documentation https://webpack.js.org/configuration/dev-server/. | ||||||||||
Npm Run All | 4,663 | 44,017 | 28,492 | a year ago | 58 | November 24, 2018 | 84 | mit | JavaScript | |
A CLI tool to run multiple npm-scripts in parallel or sequential. | ||||||||||
Nps | 1,391 | 930 | 645 | a year ago | 36 | July 10, 2020 | 25 | mit | JavaScript | |
NPM Package Scripts -- All the benefits of npm scripts without the cost of a bloated package.json and limits of json | ||||||||||
Ultra Runner | 1,129 | 5 | 3 days ago | 45 | February 28, 2021 | 37 | apache-2.0 | TypeScript | ||
🏃⛰ Ultra fast monorepo script runner and build tool | ||||||||||
Awesome Npm Scripts | 672 | 6 months ago | cc0-1.0 | |||||||
Everything awesome related to npm scripts and using npm as a build tool. | ||||||||||
Better Npm Run | 641 | 3,485 | 637 | 7 months ago | 17 | July 31, 2018 | 3 | mit | JavaScript | |
🏃♂️ Better NPM scripts runner | ||||||||||
Tasksfile | 352 | 239 | 327 | 5 months ago | 43 | January 25, 2019 | mit | TypeScript | ||
Minimalistic task runner for node.js | ||||||||||
Vscode Npm Scripts | 208 | 2 months ago | 2 | mit | TypeScript | |||||
VSCode extension for running npm-scripts and validating the package.json files. | ||||||||||
Npm Run | 179 | 1,585 | 254 | 4 years ago | 14 | April 12, 2018 | 6 | mit | JavaScript | |
Run locally-installed node module executables. | ||||||||||
Node Themekit | 116 | 82 | 34 | a year ago | 24 | June 23, 2021 | 24 | mit | JavaScript | |
Theme asset interaction library and management tools written in Node.js |
Like gulp.watch but for npm scripts.
$ npm install -D nswatch
Assuming you have an npm script build
to compile something, then drop a watch.js
in your project:
import { watch } from "nswatch";
watch("src/*.js", ["build"]);
When you run node watch
, the npm run build
will be invoked right away, and will also be invoked when file changes are detected.
Array
will be treated as parallel, String
will be treated as sequence:
// run in parallel
watch("src/a.js", ["task-a", "task-b"]);
// run in sequence
// use ! as seperator
watch("src/b.js", "task-a!task-b");
$ npm install -g nswatch
You can also use nswatch
as a command-line program:
watch
in package.json
{
"watch": {
"./src/*.js": ["build"],
"./src/*.css": "compile!minify"
}
}
Then run:
$ nswatch
Or you can pass the config via CLI arguments, this way configurations in package.json
will be ignored.
# in parallel
$ nswatch "src/*.js" --script foo --script bar
# in sequence
$ nswatch "src/*.js" --script "foo!bar"
nswatch EGOIST, Released under the MIT License.
Authored and maintained by EGOIST with help from contributors (list).
egoistian.com GitHub @egoist Twitter @rem_rin_rin