1.0.11 • Published 6 years ago
@ptdevtemp/form-slidein-container v1.0.11
FormSliderContainer
FormSliderContainer component description
Scripts
Compiles test component into dist folder as a cjs2 component and ready to be shared
yarn buildContinuously watch for changes and compiles test component into dist folder as a cjs2 component and ready to be shared
yarn build:watchRun webpack-dev-server on port https://localhost:3000
yarn devRun dev and build:watch script on parallel
yarn startDev and preview react component documentation
Run docz on port https://localhost:5000
yarn docz:devFor component testing
yarn testyarn test:watchyarn test:coverageFolders structure description
example
+-- example
| +-- src
| +-- App.tsx // where the compiled component is loaded for dev purpose
| +-- index.html
| +-- index.tsxsrc
+-- src
| +-- index.mdx // docz for react component documentation
| +-- index.tsx // react component codetest
+-- test
| +-- index.test.tsx
| +-- setupTest.ts // enzyme adapter setup
| +-- testUtils.ts // functions for test