lerna-ministack
v0.5.7
Published
Miniature stack intended to speed up lerna development. Includes jest, standard, prettier. Does not do anything by itself
Downloads
4
Readme
lerna-ministack
Accelerates first steps when creating npm project with lerna. Includes tools for testing, linting, prettying and packaging.
Installation
npm install --save-dev lerna-ministack
Configuration
Change following in your package.json
{
"scripts": {
"test": "jest"
},
"standard": {
"env": [
"jest"
],
"parser": "babel-eslint"
},
}
Create jest.config.js
. If you wish to configure it further, see lerna-jest.
module.exports = require('lerna-jest').guessRootConfig(__dirname)
What's inside
- Standard.js for coding style
- Prettier for maintaining the coding style with preconfigured Standard.js
- Jest for testing with autoconfiguration via lerna-jest for each lerna project
- lerna-isolate for extraction of your private lerna packages