@shelf/babel-config
v3.0.0
Published
babel-config
Downloads
12,023
Maintainers
Keywords
Readme
@shelf/babel-config
Install
$ yarn add --dev @shelf/babel-config
Usage
In your package.json
:
Backend
{
"babel": {
"extends": "@shelf/babel-config/backend"
}
}
Frontend
React components without browser boilerplate (jsx,tsx) + testing (ts/tsx)
{
"babel": {
"extends": "@shelf/babel-config/frontend"
}
}
React components(jsx,tsx) + testing (ts/tsx)
{
"babel": {
"extends": "@shelf/babel-config/frontend-component"
}
}
Frontend library (lodash, ts)
{
"babel": {
"extends": "@shelf/babel-config/frontend-library"
}
}
Vue.js configuration
{
"babel": {
"extends": "@shelf/babel-config/frontend-vue"
}
}
Publish
$ git checkout master
$ yarn version
$ yarn publish
$ git push origin master --tags
License
MIT © Shelf