generator-esri-appbuilder-js
generator-esri-appbuilder-js copied to clipboard
use npm scripts instead of grunt?
Creating a new issue for https://github.com/Esri/generator-esri-appbuilder-js/issues/77#issuecomment-269993957 since #80 is working w/ grunt and there's no need make the switch to npm scripts at this time.
Let's carry on the npm scripts conversation over here.
To continue the planning on this item:
- the
gruntfilewe currently create:- watches for file changes (
grunt-contrib-watch), then - cleans (
grunt-contrib-clean) and transpiles (grunt-babel) the source files to thedistfolder, then - syncs (
grunt-sync) thedistfolder to the 2 WAB destination folders.
- watches for file changes (
We will need to build equivalent workflow using terminal commands that are all cross-platform (Probably use https://www.npmjs.com/package/cross-env or an equivalent?)
Ideally this process will make the build/copy process FASTER and more resilient too to close #95.