A Babel build system following KISS principles.
- Assume *nix do not use on Windows.
- Use NPM's package.json for the following.
- Define configuration variables via the
config
property. - Config variables should use underscores to be consistent.
- Define NPM tasks via the
scripts
property.
- Define configuration variables via the
- All NPM tasks should call the
make
command. - Make should simply call commands in the scripts directory.
- Manage dependencies in tasks by the order in which scripts are called.
NOTE: Using npm run-script [script]
explicitly avoids issues with npm build
.
NOTE: Makefiles are not procedural
$ git clone https://github.com/O-XInnovation/babel-base.git
$ cd babel-base
$ npm install
$ git remote add [your repository]