This repository was archived by the owner on Nov 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Local Development
Kaitlyn Pickard edited this page Jul 15, 2019
·
1 revision
Typescript Style Check
yarn lint
with autofix
yarn lint:fix
Sass Style Check
yarn lint:sass
Sass Style Autofix
yarn lint:sass:fix
Styled-Components Check
yarn lint:css
yarn codequality
It will then generate .codeclimate/codeclimate.html
(Note: This takes time)
For Details Check Here
```bash
yarn add -D some-library
```
```bash
yarn add -E some-library
```
-
Add
devDependencies
yarn add -D some-library
-
Update
package.json
to addpeerDependencies
{ "devDependencies": { "some-library": "^1.0.0" }, "peerDependencies": { "some-library": "^1.0.0" } }
-
Update
README.md
the Get Started session to include your library in the install command -
Update your consumer to include your
peerDependencies
npm i --save-dev some-library # or yarn add -D some-library