@ptdevtemp/form-slidein-container
v1.0.11
Published
FormSliderContainer component description
Downloads
29
Readme
FormSliderContainer
FormSliderContainer component description
Scripts
Compiles test component
into dist
folder as a cjs2
component and ready to be shared
yarn build
Continuously watch for changes and compiles test component
into dist
folder as a cjs2
component and ready to be shared
yarn build:watch
Run webpack-dev-server on port https://localhost:3000
yarn dev
Run dev
and build:watch
script on parallel
yarn start
Dev and preview react component documentation
Run docz on port https://localhost:5000
yarn docz:dev
For component testing
yarn test
yarn test:watch
yarn test:coverage
Folders structure description
example
+-- example
| +-- src
| +-- App.tsx // where the compiled component is loaded for dev purpose
| +-- index.html
| +-- index.tsx
src
+-- src
| +-- index.mdx // docz for react component documentation
| +-- index.tsx // react component code
test
+-- test
| +-- index.test.tsx
| +-- setupTest.ts // enzyme adapter setup
| +-- testUtils.ts // functions for test