📝 [script]ure
A helper tool to keep package.json lean by extracting your NPM scripts into a separate file.
scripture: [noun]
: from Latin scrīptūra ("a writing, scripture")
- a body of authoritative writings or anything written
Installation
# Using NPM npm install scripture --save-dev
# Using Yarn yarn add scripture --dev
Initialization
-
Run with the help of
npx
:npx scripture init -
Setup
scripture
manually in yourpackage.json
:..."scripts":...
Usage
Run your scripts via npm prepending the word the
, e.g.:
# Run the build script npm run the build # Run the test npm run the test
Contribution
Any contribution is appreciated. Thank you, have fun!