generator-esri-appbuilder-js icon indicating copy to clipboard operation
generator-esri-appbuilder-js copied to clipboard

use npm scripts instead of grunt?

Open tomwayson opened this issue 8 years ago • 1 comments

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.

tomwayson avatar Jan 06 '17 15:01 tomwayson

To continue the planning on this item:

  • the gruntfile we currently create:
    • watches for file changes (grunt-contrib-watch ), then
    • cleans (grunt-contrib-clean) and transpiles (grunt-babel) the source files to the dist folder, then
    • syncs (grunt-sync) the dist folder to the 2 WAB destination folders.

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.

gavinr avatar Jan 18 '18 18:01 gavinr