0.1.0 • Published 8 years ago
airbnb-npm-boilerplate v0.1.0
airbnb-npm-boilerplate
An npm package boilerplate.
Live Playground
For examples of the component in action, go to https://xxd3vin.github.io/airbnb-npm-boilerplate.
OR
To run that demo on your own computer:
- Clone this repository
npm install
npm run storybook
- Visit http://localhost:9001/
Getting Started
Install dependencies
Ensure packages are installed with correct version numbers by running:
(
export PKG=airbnb-npm-boilerplate;
npm info "$PKG" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g; s/ *//g' | xargs npm install --save "$PKG"
)
Which produces and runs a command like:
npm install --save airbnb-npm-boilerplate moment@>=#.## react@>=#.## react-dom@>=#.## react-addons-shallow-compare@>=#.##
Maintaining
First release
- put
0.0.0
inversion
section ofpackage.json
. - run
npm run version:minor
Next release
- run
npm run version:patch
for patch release.
0.1.0
8 years ago