|
5 | 5 | "files": [ |
6 | 6 | "/build" |
7 | 7 | ], |
| 8 | + "type": "module", |
8 | 9 | "main": "build/cjs/index.js", |
9 | 10 | "module": "build/esm/index.js", |
10 | 11 | "typings": "build/esm/index.d.ts", |
11 | 12 | "scripts": { |
12 | 13 | "prepare": "install-peers", |
13 | | - "build": "tsc --project tsconfig-typings.json && rollup -c", |
| 14 | + "build": "rollup -c && tsc --project tsconfig-typings.json", |
14 | 15 | "watch": "rollup -c -w", |
15 | 16 | "prepack": "yarn build", |
16 | 17 | "typecheck": "tsc", |
|
29 | 30 | "url": "https://github.com/toggle-corp/toggle-form/issues" |
30 | 31 | }, |
31 | 32 | "homepage": "https://github.com/toggle-corp/toggle-form#readme", |
32 | | - "peerDependencies": { |
33 | | - "react": "^17.0.2", |
34 | | - "react-dom": "^17.0.2" |
35 | | - }, |
36 | 33 | "dependencies": { |
37 | | - "@babel/runtime": "^7.19.0", |
| 34 | + "@babel/runtime-corejs3": "^7.22.3", |
38 | 35 | "@togglecorp/fujs": "^2.0.0" |
39 | 36 | }, |
| 37 | + "peerDependencies": { |
| 38 | + "react": "^18.2.0", |
| 39 | + "react-dom": "^18.2.0" |
| 40 | + }, |
40 | 41 | "devDependencies": { |
41 | | - "@babel/core": "^7.19.1", |
42 | | - "@babel/plugin-transform-runtime": "^7.19.1", |
43 | | - "@babel/preset-env": "^7.19.1", |
44 | | - "@babel/preset-react": "^7.18.6", |
45 | | - "@babel/preset-typescript": "^7.18.6", |
46 | | - "@rollup/plugin-babel": "^5.3.1", |
47 | | - "@rollup/plugin-commonjs": "^22.0.2", |
48 | | - "@rollup/plugin-eslint": "^8.0.1", |
49 | | - "@rollup/plugin-node-resolve": "^14.1.0", |
50 | | - "@types/jest": "^29.0.3", |
51 | | - "@types/node": "^18.7.22", |
52 | | - "@types/react": "^18.0.21", |
53 | | - "@types/react-dom": "^18.0.6", |
54 | | - "@typescript-eslint/eslint-plugin": "^5.59.8", |
55 | | - "@typescript-eslint/parser": "^5.59.8", |
56 | | - "babel-jest": "^29.0.3", |
57 | | - "babel-plugin-polyfill-corejs3": "^0.6.0", |
58 | | - "eslint": "^8.24.0", |
| 42 | + "@babel/core": "^7.22.8", |
| 43 | + "@babel/plugin-transform-runtime": "^7.22.7", |
| 44 | + "@babel/preset-env": "^7.22.7", |
| 45 | + "@babel/preset-react": "^7.22.5", |
| 46 | + "@babel/preset-typescript": "^7.22.5", |
| 47 | + "@rollup/plugin-babel": "^6.0.3", |
| 48 | + "@rollup/plugin-commonjs": "^25.0.2", |
| 49 | + "@rollup/plugin-eslint": "^9.0.4", |
| 50 | + "@rollup/plugin-node-resolve": "^15.1.0", |
| 51 | + "@types/jest": "^29.5.2", |
| 52 | + "@types/node": "^20.4.1", |
| 53 | + "@types/react": "^18.2.14", |
| 54 | + "@types/react-dom": "^18.2.6", |
| 55 | + "@typescript-eslint/eslint-plugin": "^5.61.0", |
| 56 | + "@typescript-eslint/parser": "^5.61.0", |
| 57 | + "babel-jest": "^29.6.1", |
| 58 | + "babel-plugin-polyfill-corejs3": "^0.8.2", |
| 59 | + "eslint": "^8.44.0", |
59 | 60 | "eslint-config-airbnb": "^19.0.4", |
60 | | - "eslint-plugin-import": "^2.26.0", |
61 | | - "eslint-plugin-jsx-a11y": "^6.6.1", |
62 | | - "eslint-plugin-react": "^7.31.8", |
| 61 | + "eslint-plugin-import": "^2.27.5", |
| 62 | + "eslint-plugin-jsx-a11y": "^6.7.1", |
| 63 | + "eslint-plugin-react": "^7.32.2", |
63 | 64 | "eslint-plugin-react-hooks": "^4.6.0", |
64 | 65 | "install-peers-cli": "^2.2.0", |
65 | | - "jest": "^29.0.3", |
66 | | - "rollup": "^2.79.1", |
| 66 | + "jest": "^29.6.1", |
| 67 | + "rollup": "^3.26.2", |
67 | 68 | "rollup-plugin-copy": "^3.4.0", |
68 | | - "rollup-plugin-filesize": "^9.1.2", |
69 | | - "typescript": "^5.0.4", |
70 | | - "unimported": "^1.22.0" |
| 69 | + "rollup-plugin-filesize": "^10.0.0", |
| 70 | + "typescript": "^5.1.6", |
| 71 | + "unimported": "^1.29.2" |
71 | 72 | } |
72 | 73 | } |
0 commit comments