swt-agent-app-components-library
v1.0.0
Published
![Built With Stencil](https://img.shields.io/badge/-Built%20With%20Stencil-16161d.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMSwgU1ZHIEV4cG9ydCBQbHVn
Downloads
2
Readme
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.