Package Exports
- slush-es20xx
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (slush-es20xx) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Full ECMAScript.next development and deployment workflow.
Install
Install Slush and slush-es20xx:
npm install -g slush slush-es20xxHow to use
Scaffold a new project:
slush es20xxThen cd to the project root and run npm run dev. You're all set, happy hacking!
Architecture
npm scripts
npm run dev: an alias for gulp's default task which does not requiregulpglobally installed.
gulp tasks
gulp(default): do a complete build and watch files to generate incremental builds.gulp build: this task will build thedistdirectory based on thesrcdirectory's contents. This includes linting.jsfiles (JSHint, JSCS), transpiling them, copying over non-js files and running Mocha unit tests.
build configs
Build paths and plugin settings can be customized by editing the chosen environment template's build.js file.
Developing
Want to help developing slush-es20xx? Awesome! Here are the basic instructions to get you started:
- Install Slush if you haven't yet;
- Fork this repository and clone it locally;
cdto your repository root and install the slush-es20xx generator from your local repository by runningnpm link;- Edit the source code in your repository and then test the changes by running
slush es20xxin a test directory. Repeat until you get the desired result; - Commit your changes to a new feature/bugfix branch, push them to your fork and open a PR in this repository. See GitHub Flow if you are not used to it yet.
=]
