1.2.0 • Published 1 year ago
@romain-faust/node-scripts v1.2.0
@romain-faust/node-scripts
Set of scripts for Node.js.
Installation
With NPM:
npm install --save-dev @romain-faust/node-scripts
With PNPM:
pnpm add --save-dev @romain-faust/node-scripts
With Yarn:
yarn add --dev @romain-faust/node-scripts
Usage
In the scripts
section of your package.json
:
{
"scripts": {
"build": "node-scripts build sources",
"format": "node-scripts format sources",
"lint": "node-scripts lint sources",
"start": "node-scripts start sources/index.ts",
"test": "node-scripts test"
}
}
To have the list of all the available scripts:
node-scripts --help
If you need more information about a specific script:
node-scripts build --help