guybedford / chomp

'JS Make' - parallel task runner for the frontend ecosystem with a JS extension system.
https://chompbuild.com
Apache License 2.0
143 stars 7 forks source link

Feat: `chomp --init` and `chomp --import-scripts` #63

Closed guybedford closed 2 years ago

guybedford commented 2 years ago

This PR provides two new features:

  1. chomp --init / chomp -i will create chompfile.toml if it does not already exist.
  2. chomp --import-scripts / chomp -I will import package.json "scripts" from an npm workflow prepopulating these into the associated Chomp tasks so that npm run build can be migrated to chomp build as simply as chomp --import-scripts build.

Associated documentation is provided.