0.1.2 • Published 8 years ago
twreporter-react-article-components v0.1.2
twreporter-react-components
This repo is used to build up twreporter-react-components pkg.
Why need twreporter-react-components?
The goal is to separate the react components from twreporter-react,
and make twreporter-react-components be able to used by other projects, such as twreporter-keystone.
How to use?
Clone repo
git clone https://github.com/twreporter/twreporter-react-components.gitTranspile and webpack
npm run build-pkgThe command above will transpile js files by babel into dist folder,
and webpack the scss, css and svg files into dist/styles/main.css
Tag and publish
npm run releaseThis command will create a new git tag according to the version in the package.json,
and npm publish this built pkg.