Skip to content
This repository has been archived by the owner on May 25, 2018. It is now read-only.

picter/npm-package-boilerplate

Repository files navigation

npm-package-boilerplate

Boilerplate to create new modules to be shared on NPM.

Example

There is an example inside the src folder.

To check it out, you need to build and install this module in another React application. You can do that running the following commands:

// inside npm-package-boilerplate module
npm i; npm run build

// inside your react application
npm link ../path/to/npm-package-boilerplate

ESLint

This module has eslint configured following the pattern from eslint-config-picter.

You can run the linter with the following commands:

npm run lint
// or
npm run lint:watch

Testing

We are using Jest and Enzyme to create unit tests. You can check using the following commands:

npm run test
// or
npm run build:watch

Build

npm run build
// or
npm run build:watch

Publishing

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published