components
React primitives.
Start Developing
npm install
npm start
To update all package dependencies run -
npm-upgrade
npm install --save
Semver Versioning
Remember to update the version in package.json
before publishing:
npm version patch --no-git-tag-version // Add a patch. Ex, goes from 0.0.1 to 0.0.2
npm version minor --no-git-tag-version // Add a minor package version. Ex, goes from 0.0.1 to 0.1.1
npm version major --no-git-tag-version // Add a major package version. Ex, goes from 0.0.1 to 1.0.1
To publish run -
npm run build && npm publish
To check unused dependecies run --
depcheck --ignore-dirs=demo,lib,node_modules
See https://github.com/depcheck/depcheck for more info.