Project with lerna + Storybook + Jest + Typescript + Vue-cli 3
include terms/tags that can be searched
Badges
- lerna
- storybook
- Jest
- Typescript (https://github.com/microsoft/TypeScript)
- Vue cli 3 (https://github.com/vuejs/vue-cli)
- Clone this repo to your local machine using
https://github.com/evgeniy-logvinov/lerna.monorepo.ts.vue.git
- If you want more syntax highlighting, format your code like this:
install packages first
$ npm install
-
Project contains installed lerna. Inside packages you can find HelloWorld project. This project contains jest for testing. You can add new project inside folder
/packages/*
. -
To start unit tests for each projects inside
/packages/*
run:
npm run test:unit
-
Also project contains storybook.
-
To start stroybook run next:
npm run stroybook:serve
- Please don't forget about files:
shims-tsx.d.ts
andshims-vue.d.ts
. They can help you start project with typescript.
- Use jest inside
/packages/*
for each project and add this line to yourpackage.json
file
scripts: {
"test:unit": "vue-cli-service test:unit --color"
}
Reach out to me at one of the following places!
- Github
evgeniy-logvinov
- Facebook
evgeniy.logvinov.k
- LinkedIn
evgeniy-logvinov-k
- MIT license
- Copyright 2015 © FVCproductions.