0.0.2 • Published 4 years ago
@applandeo/lib-template v0.0.2
@applandeo/lib-template
Install
npm install --save @applandeo/lib-templateUsage
import React, { Component } from 'react';
import MyComponent from '@applandeo/lib-template';
import '@applandeo/lib-template/dist/index.css';
class Example extends Component {
render() {
return <MyComponent />;
}
}Development
make installIn order to run live dev server.
This will run application in "example" folder that you can use to test your changes.
make startCommiting changes
We added opinionated tool that creates CHANGELOG.md file everytime that we commit new things. This means that each commit needs to be well described. Easiest way is to use
make commitIf you would like to git commit -m "" ( standard way ), then:
example:
chore: release new version v1.0.0or
style: white-space fix white space in file XYZHere is the full list of types
Publish
In order to publish:
- you need to be on master branch
- your git status needs to be empty
- you need to be logged into npm (npm login)
This script will lint all files, run all tests, build the release version and if everything goes well, publish new lib version for you along with creating git tag and pushing everything to bitbucket.
make publishLicense
MIT © d.slaby
0.0.2
4 years ago