|
31 | 31 | "clean": "rimraf lib && rimraf es", |
32 | 32 | "build": "npm run clean && npm run build:cjs && npm run build:es", |
33 | 33 | "build:cjs": "babel src --out-dir lib --env-name cjs --copy-files", |
34 | | - "build:es": "babel src --out-dir es --env-name es --copy-files" |
| 34 | + "build:es": "babel src --out-dir es --env-name es --copy-files", |
| 35 | + "storybook": "start-storybook -p 6006", |
| 36 | + "build-storybook": "build-storybook" |
35 | 37 | }, |
36 | 38 | "husky": { |
37 | 39 | "hooks": { |
|
58 | 60 | }, |
59 | 61 | "devDependencies": { |
60 | 62 | "@babel/cli": "^7.8.4", |
| 63 | + "@babel/core": "^7.15.0", |
61 | 64 | "@babel/plugin-proposal-object-rest-spread": "^7.9.5", |
62 | 65 | "@babel/preset-env": "^7.9.5", |
63 | 66 | "@babel/preset-react": "^7.9.4", |
64 | 67 | "@commitlint/config-conventional": "^9.0.1", |
65 | 68 | "@semantic-release/changelog": "^5.0.1", |
66 | 69 | "@semantic-release/git": "^9.0.0", |
| 70 | + "@storybook/addon-actions": "^6.3.7", |
| 71 | + "@storybook/addon-essentials": "^6.3.7", |
| 72 | + "@storybook/addon-links": "^6.3.7", |
| 73 | + "@storybook/react": "^6.3.7", |
67 | 74 | "@testing-library/jest-dom": "^5.8.0", |
68 | 75 | "@testing-library/react": "^10.0.4", |
69 | 76 | "babel-eslint": "^10.1.0", |
| 77 | + "babel-loader": "^8.2.2", |
70 | 78 | "babel-plugin-add-module-exports": "^1.0.2", |
71 | 79 | "babel-plugin-module-resolver": "^4.0.0", |
72 | 80 | "commitlint": "^8.0.0", |
|
0 commit comments