Notwithstanding Precautions, Misadventure

    test-package-es6

    1.0.10 • Public • Published

    [DEPRECATED]

    In favour of modern-package-boilerplate

    Build Status Coverage Status dependencies Status devDependencies Status

    Features

    Getting started

    1. Clone this repo from github
    2. Inside repo directory run npm install && rm -r .git && git init
    3. Update package.json with your information

    Usage

    Commands

    npm run clean

    Delete all cache and output files

    npm run dev

    Build your library in development mode

    npm run build

    Build your library in production mode

    npm run test

    Run tests

    npm run test:watch

    Run tests in watch mode

    npm run cover

    Cover your code (Work with ES6)

    npm run coveralls

    Sends coverage details to coveralls.io. Used in .travis.yml and should not be used manually.

    npm run lint

    Check your code for errors and code styles

    npm run prepublish

    Hook for npm, that executes when you publishing package in npm repository.

    Lint

    This boilerplate uses air-bnb code style conventions, however if you don't like it, you can disable it, by removing the following line in .eslintrc config file:

    {
      //...
      
      "extends": "airbnb"
    }

    Webpack aliases

    If you are as tired as me to write '../../../' in the require statements, you can use alias feature provided by webpack. Here is an example of aliases, built in this boilerplate by default (builder/resolve.js):

    resolve: {
        alias: {
            Src: path.resolve(process.cwd() + '/src'),
            Lib: path.resolve(process.cwd() + '/lib')
        }
    }

    Feel free to add your custom aliases, they are awesome.

    Install

    npm i test-package-es6

    DownloadsWeekly Downloads

    6

    Version

    1.0.10

    License

    MIT

    Unpacked Size

    7.84 kB

    Total Files

    5

    Last publish

    Collaborators

    • navinn