generator-kyper-library
v0.1.2
Published
Starting place for ESNext library. Uses webpack run through npm scripts to build.
Downloads
3
Maintainers
Readme
generator-kyper-library
Starting place for ESNext libraries using Webpack
Installation
First, install Yeoman and generator-kyper-library using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-kyper-library
Then generate your new project:
yo kyper-library
Tests
npm run test
- run tests
npm run test:cov
- run tests and generate coverage
Travis
Visit travis to enable your gihub repo. Builds settings can be changed in .travis.yml
Deployment
AWS S3
Selecting AWS S3 from the deploy options when running the generator adds deploy configs in .travis.yml
.
- Get your AWS Key and Secret from the AWS Console Credentials page
- Set the following environment vars within the Travis-CI repo settings page:
AWS_KEY
- Your AWS keyAWS_SECRET
- Your AWS secretS3_BUCKET
- Your S3 Bucket
Code Climate
Visit code climate dashboard to enable codeclimate for your repo on Github. Coverage will be sent automatically by Travis.
Get the key from the settings->coverage page and place it in Travis environment variable as CODE_CLIMATE
License
MIT © Scott Prue