Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (playbook-media-typescript-sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
NPM library Create React App template
Create React App (CRA) template to build and publish NPM libraries with rollup, eslint and stylelint configurations.
🎁👌🤓 NEW! Now with Typescript support.
Read full documentation.
Visit Demo Storybook.
Features
- Supports Typescript and Javascript.
- Bundles
commonjs
andes
module formats. - Husky for git hooks.
- Eslint and stylelint.
- Rollup for bundling.
- Jest and react-testing-library for testing.
- Supports CSS modules, SASS/SCSS and PostCSS.
- Storybook for documentation and demo.
- And much more.
Quickstart
npx create-react-app %PROJECT_NAME% --template npm-library
yarn create react-app %PROJECT_NAME% --template npm-library
pnpm create react-app %PROJECT_NAME% --template npm-library
Then
cd %PROJECT_NAME%
npm run prepare
yarn run prepare
pnpm run prepare