|
30 | 30 | "dist" |
31 | 31 | ], |
32 | 32 | "scripts": { |
33 | | - "build": "rollup -c", |
| 33 | + "build": "rollup -c && yarn copy-definitionfile", |
34 | 34 | "build-storybook": "build-storybook", |
35 | 35 | "lint": "eslint \"**/*.{ts,tsx}\" --cache --max-warnings 0", |
36 | 36 | "prepack": "yarn build", |
37 | 37 | "prepare-pr": "yarn prettier . --write && yarn lint && yarn build && yarn test\"", |
38 | 38 | "prettier-check": "prettier --check .", |
39 | 39 | "prettier-write": "prettier --write .", |
40 | | - "start": "rollup -c -w", |
| 40 | + "copy-definitionfile": "shx cp -r src/react-table.d.ts dist/react-table.d.ts", |
| 41 | + "start": "yarn copy-definitionfile && rollup -c -w", |
41 | 42 | "start-all": "concurrently \"yarn start\" \"yarn start-yalc\"", |
42 | 43 | "start-yalc": "yarn nodemon --watch dist -x \"yarn yalc push\"", |
43 | 44 | "storybook": "start-storybook -p 6006", |
44 | 45 | "test": "cross-env DEBUG_PRINT_LIMIT=100 jest", |
45 | 46 | "tsc": "tsc" |
46 | 47 | }, |
47 | 48 | "dependencies": { |
48 | | - "@neolution-ch/react-pattern-ui": "2.9.0" |
| 49 | + "@neolution-ch/react-pattern-ui": "^3.1.0", |
| 50 | + "@tanstack/react-table": "^8.10.7", |
| 51 | + "react-loading-skeleton": "^3.3.1" |
49 | 52 | }, |
50 | 53 | "devDependencies": { |
51 | 54 | "@babel/core": "^7.21.8", |
|
65 | 68 | "@testing-library/dom": "^8.13.0", |
66 | 69 | "@testing-library/jest-dom": "^5.16.4", |
67 | 70 | "@testing-library/react": "^12.1.2", |
| 71 | + "@testing-library/react-hooks": "^8.0.1", |
68 | 72 | "@testing-library/user-event": "^14.0.4", |
69 | 73 | "@types/jest": "^27.4.1", |
70 | 74 | "@types/node": "^18.16.3", |
|
80 | 84 | "eslint-config-prettier": "^8.8.0", |
81 | 85 | "eslint-import-resolver-typescript": "^3.5.5", |
82 | 86 | "eslint-plugin-import": "^2.27.5", |
| 87 | + "eslint-plugin-react": "^7.33.2", |
| 88 | + "eslint-plugin-react-hooks": "^4.6.0", |
83 | 89 | "eslint-plugin-storybook": "^0.6.12", |
84 | 90 | "gh-pages": "^5.0.0", |
85 | 91 | "jest": "^27.5.1", |
|
0 commit comments