1.0.0 • Published 3 years ago

agent-app-components-library v1.0.0

Weekly downloads
4
License
-
Repository
-
Last release
3 years ago

Built With Stencil

Stencil 2.3.0 + Storybook 6.1.11 + Real Stencil HMR (hot module reloading)

Start to develop

npm install npm start your storybook will run under: http://localhost:3000

Build your production

npm build

Test your Stencil

npm test npm test -t special.spec.ts

Husky, lint-staged

Reverting to original state because of errors...

If you attempt to commit only one file with lint errors, or several files all with lint errors, your commit will fail and all your files will "revert to original state" because lint-staged is trying to avoid making an empty commit.

I added --no-stash "lint:husky": "lint-staged --no-stash", to disable the backup stash, and do not revert in case of errors. If you want to know more, https://github.com/okonet/lint-staged


Known Issues


Stylelint rule:

"/color/",
"font-size",
"font-weight"

is disabled until "font-size", "font-weight" are specified in Stylebook. Once we have font-size and font-weight this rule needs to be enabled.