Table of Contents
Building with slc
npm install --ignore-scripts: Install Node dependencies without running scripts to build binary add-ons.
To run scripts, use the
--scriptsoption. See Building binary add-ons below for more information.
npm run build: Specify custom build steps such as
bowerin the package's
scripts.buildproperty, since front-end code served by Node commonly requires some amount of preparation.
npm prune --production: Remove development-only tools (such as Bower or Grunt) that the package's build scripts may require, but that should not be deployed.