This is the build that all SkateJS repositories should use. You can use this in any project you want, though.
To install:
npm install skatejs-build --save
To template out a new project:
sk-init
The following commands are available:
Creates a bundle for your app / lib in dist/
. Both minified and unminified files are created with sourcemaps. The dist/
directory is ignored by Git, but will be published upon release.
Shorthand for using git cz
.
Templates out a new project. If run in an existing project, it won't overwrite any files and will create any files that don't already exist.
This command also sets up commitizen
and semantic-release
so you can have fully automated releases.
This is automatically called in CI upon a successful build to publish a release. Whether or not a release actually happens is up to semantic release.
Runs webpack-dev-server
.
Runs the tests once in Karma.
Runs the tests in watch mode for development.