|
26 | 26 | "emitDeclarations": "tsc --skipLibCheck --emitDeclarationOnly", |
27 | 27 | "build": "rollup -c & yarn emitDeclarations", |
28 | 28 | "prepublishOnly": "yarn build", |
29 | | - "test:lint": "eslint 'src/**/*.{ts,tsx}' 'test/**/*.{ts,tsx}'", |
| 29 | + "start:storybook": "start-storybook -p 6006 --ci", |
| 30 | + "test:lint": "eslint 'src/**/*.{ts,tsx}' 'stories/**/*.{ts,tsx}' 'test/**/*.{ts,tsx}'", |
30 | 31 | "test:unit": "jest -c jest.config.json", |
31 | 32 | "test:build": "yarn build", |
32 | 33 | "test:size": "size-limit", |
|
44 | 45 | "react": "^16.8.0 || ^17.0.0" |
45 | 46 | }, |
46 | 47 | "devDependencies": { |
| 48 | + "@babel/core": "^7.15.8", |
47 | 49 | "@rollup/plugin-node-resolve": "^13.0.5", |
48 | 50 | "@size-limit/preset-big-lib": "^6.0.3", |
| 51 | + "@storybook/addon-actions": "^6.3.12", |
| 52 | + "@storybook/addon-controls": "^6.3.12", |
| 53 | + "@storybook/addon-docs": "^6.3.12", |
| 54 | + "@storybook/addons": "^6.3.12", |
| 55 | + "@storybook/react": "^6.3.12", |
49 | 56 | "@swc/core": "^1.2.95", |
50 | 57 | "@swc/helpers": "^0.2.13", |
51 | 58 | "@swc/jest": "^0.2.4", |
52 | 59 | "@testing-library/jest-dom": "^5.5.0", |
53 | 60 | "@testing-library/react": "^12.1.2", |
| 61 | + "@types/faker": "^5.5.8", |
54 | 62 | "@types/jest": "^27.0.2", |
55 | 63 | "@types/lodash": "^4.14.150", |
56 | 64 | "@types/react": "^17.0.28", |
|
68 | 76 | "eslint-plugin-prettier": "^4.0.0", |
69 | 77 | "eslint-plugin-promise": "^5.1.0", |
70 | 78 | "eslint-plugin-react": "^7.17.0", |
| 79 | + "faker": "^5.5.3", |
71 | 80 | "gh-pages": "^3.2.3", |
72 | 81 | "jest": "^27.2.5", |
73 | 82 | "jest-canvas-mock": "^2.2.0", |
|
80 | 89 | "rollup-plugin-swc": "^0.2.0", |
81 | 90 | "simple-git-hooks": "^2.6.1", |
82 | 91 | "size-limit": "^6.0.3", |
83 | | - "typescript": "^4.4.3" |
| 92 | + "typescript": "^4.4.3", |
| 93 | + "webpack": "^5.58.2" |
84 | 94 | }, |
85 | 95 | "files": [ |
86 | 96 | "dist" |
|
0 commit comments