$ npm run help
> epoxy@0.41.2 help /home/vagrant/polymer/epoxy
> npm run & gulp help
Lifecycle scripts included in epoxy:
postinstall
jspm install
start
gulp watch
available via `npm run-script`:
install-build
npm install && npm run build
build
cd elmer && npm install --production && npm run build && cd .. && gulp --max_old_space_size=2048 build
lint
gulp test:eslint
lint-fix
gulp test:eslint-fix
gulp
gulp
jspm
jspm
help
npm run & gulp help
Usage: npm run gulp -- <gulpTask(s)> [options]
Usage: npm start -- [options]
Options:
--help Show help [boolean]
--version Show version number [boolean]
--env.development Spoof the environment to development, altering build
results. May be useful on qa instances. [boolean]
--env.qa Spoof the environment to qa, altering build results.
[boolean]
--env.production Spoof the environment to production, altering build
results. [boolean]
--env.lint When watching, lint target watched files.
[boolean] [default: false]
--env.templates When watching, include html templates in the watch.
[boolean] [default: true]
Examples:
$ npm start -- --env.lint=true When watching, lint target watched
files.
$ npm start -- --env.templates=false Exclude templates from the watch so that
they do not trigger a page reload
$ npm run build -- --env.production Spoof the environment to production,
altering build results.
[22:28:46] environment: development
[22:28:46] Using gulpfile ~/polymer/epoxy/gulpfile.js
(node:30465) DeprecationWarning: 'root' is deprecated, use 'global'
(node:30465) DeprecationWarning: 'GLOBAL' is deprecated, use 'global'
[22:28:46] Starting 'help'...
Usage
gulp [TASK] [OPTIONS...]
Available tasks
build compiles js and sass source to dist; everything needed to run the app
--env.development Spoof the environment to development, altering build results. May be useful on qa instances.
--env.production Spoof the environment to production, altering build results.
--env.qa Spoof the environment to qa, altering build results.
build:clean cleans the dist dir
build:css compiles core styles as well as print styles [build:css:core, build:css:print]
build:css:core builds the core app css [build:css:core:remove]
build:css:core:remove removes the core app css from dist
build:css:print builds the print css [build:css:print:remove]
build:css:print:remove removes the print css from dist
build:index uses revved files and compiles index template
build:js:app builds app.module to build file [build:js:app:remove]
build:js:app:remove removes app build file from dist
build:js:config builds config file to be used in the app
build:js:deps create deps bundle
build:js:modules seeks out all module files and builds a jspm bundle from them [build:js:modules:remove]
build:js:modules:remove removes view module bundles from dist
build:js:move does the default processing of javascript files and copies them to dist
build:rev revs dist files
build:templates copies templates to dist (only useful in prodLike environments) [build:templates:remove]
build:templates:remove removes compiled templates from dist
help Display this help text.
test:eslint lints all js files
test:eslint-fix automatically fixes any linting errors found
watch watch all html, scss, and js and livereload changes; may optionally lint (see options) [build:css]
--env.lint When watching, lint target watched files.
--env.templates When watching, include html templates in the watch.
[22:28:46] Finished 'help' after 7.77 ms
Created
September 22, 2017 22:29
-
-
Save Smolations/87ea11a108af0d7180f43c89338645f2 to your computer and use it in GitHub Desktop.
`npm run help` in epoxy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment