Skip to content

nodestack-dev/exoscript

Repository files navigation

[script]ure

Travis CI - Build Status Coveralls - Code Coverage Status JavaScript Style Guide PRs Welcome

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 your package.json:

    ...
    "scripts": {
      "the": "scripture"
    }
    ...

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!

License

MIT @ Richard Szakacs

About

A helper tool to keep package.json lean by extracting your NPM scripts into a separate file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published