deep-ui-comp
TypeScript icon, indicating that this package has built-in type declarations

0.0.7-alpha • Public • Published

Setting up this Template

Kinda Pain.

yarn init -y

Add TypeScript and React as devDeps

yarn add --dev react react-dom @types/react typescript

Add react & react-dom as peerDeeps

"peerDependencies": {
    "react": "^16.8.0",
    "react-dom": "^16.8.0"
 },

Add Storybook

npx sb init

Add the Config in .storybook/main.js

"stories": [
    "../src/**/*.stories.tsx"
 ],

Adding Bundler -> Rollup

yarn add --dev rollup rollup-plugin-typescript2 @rollup/plugin-commonjs @rollup/plugin-node-resolve rollup-plugin-peer-deps-external rollup-plugin-postcss postcss

To Set up Eslint & Prettier used Deepankar's Template

Scripts:

        "lint": "eslint src/**",
        "format": "prettier -w src/**"

Readme

Keywords

none

Package Sidebar

Install

npm i deep-ui-comp

Weekly Downloads

1

Version

0.0.7-alpha

License

MIT

Unpacked Size

46.3 kB

Total Files

13

Last publish

Collaborators

  • deepcodes