Skip to content
This repository has been archived by the owner on May 23, 2022. It is now read-only.

use npm scripts instead of grunt? #81

Open
tomwayson opened this issue Jan 6, 2017 · 1 comment
Open

use npm scripts instead of grunt? #81

tomwayson opened this issue Jan 6, 2017 · 1 comment
Labels

Comments

@tomwayson
Copy link
Member

Creating a new issue for #77 (comment) 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.

@gavinr
Copy link
Contributor

gavinr commented Jan 18, 2018

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants