|
61 | 61 | "test": "pnpm test:code && pnpm test:types",
|
62 | 62 | "test:code:build": "jest ./dist-test",
|
63 | 63 | "test-build": "pnpm test:code:build",
|
64 |
| - "build": "pnpm clear-build && pnpm rollup --config ./rollup.config.js && cp index.d.ts reflect.d.ts", |
| 64 | + "build": "pnpm clear-build && pnpm rollup --config rollup.config.cjs && cp index.d.ts reflect.d.ts", |
65 | 65 | "clear-build": "rm -f index.* && rm -f reflect.* && rm -f ssr.* && rm -f scope.* && rm -rf dist && rm -rf core",
|
66 | 66 | "prepublishOnly": "pnpm build"
|
67 | 67 | },
|
|
71 | 71 | "@babel/preset-env": "^7.12.7",
|
72 | 72 | "@babel/preset-react": "^7.12.7",
|
73 | 73 | "@babel/preset-typescript": "^7.12.7",
|
74 |
| - "@rollup/plugin-commonjs": "^21.0.1", |
75 |
| - "@rollup/plugin-node-resolve": "^13.1.1", |
| 74 | + "@rollup/plugin-babel": "^6.0.3", |
| 75 | + "@rollup/plugin-commonjs": "^24.0.1", |
| 76 | + "@rollup/plugin-node-resolve": "^15.0.1", |
| 77 | + "@rollup/plugin-terser": "^0.4.0", |
76 | 78 | "@testing-library/dom": "^7.21.4",
|
77 | 79 | "@testing-library/react": "^11.2.2",
|
78 | 80 | "@testing-library/user-event": "^12.2.2",
|
|
85 | 87 | "eslint": "^8.22.0",
|
86 | 88 | "eslint-kit": "^6.11.0",
|
87 | 89 | "fs-extra": "^9.0.1",
|
88 |
| - "husky": "^4.3.0", |
89 | 90 | "jest": "^26.6.3",
|
90 | 91 | "prettier": "^2.2.0",
|
91 | 92 | "react": "^17.0.1",
|
92 | 93 | "react-dom": "^17.0.1",
|
93 |
| - "rollup": "^2.59.0", |
94 |
| - "rollup-plugin-babel": "^4.4.0", |
| 94 | + "rollup": "^3.18.0", |
95 | 95 | "rollup-plugin-multi-input": "^1.1.1",
|
96 |
| - "rollup-plugin-terser": "^7.0.2", |
97 |
| - "rollup-plugin-typescript2": "^0.29.0", |
| 96 | + "rollup-plugin-typescript2": "^0.34.1", |
98 | 97 | "svelte": "^3.2.0",
|
99 | 98 | "ts-jest": "^26.4.4",
|
100 | 99 | "tsd": "^0.19.0",
|
101 |
| - "typescript": "^4.1.2", |
102 |
| - "uglify-es": "^3.3.9" |
| 100 | + "typescript": "^4.9.5", |
| 101 | + "uglify-js": "^3.17.4" |
103 | 102 | },
|
104 | 103 | "peerDependencies": {
|
105 | 104 | "effector": "^22.0.0",
|
106 | 105 | "effector-react": "^22.1.0",
|
107 | 106 | "react": ">=16.8.0 <19.0.0"
|
108 |
| - }, |
109 |
| - "husky": { |
110 |
| - "hooks": { |
111 |
| - "pre-commit": "pnpm eslint ./src" |
112 |
| - } |
113 | 107 | }
|
114 | 108 | }
|
0 commit comments