|
67 | 67 | "scripts": {
|
68 | 68 | "bootstrap": "yarn --network-timeout 100000 && yarn --cwd www --network-timeout 100000",
|
69 | 69 | "build": "rimraf lib && yarn build:esm && yarn build:cjs && yarn build:popper",
|
70 |
| - "build:esm": "babel src --out-dir lib --delete-dir-on-start --extensions .ts,.tsx --ignore '**/*.d.ts' && yarn build:esm:types", |
| 70 | + "build:esm": "babel src --out-dir lib --delete-dir-on-start --extensions .ts,.tsx --ignore '**/*.d.ts' && yarn build:esm:types && echo '{\"type\": \"module\"}' > lib/package.json", |
71 | 71 | "build:cjs": "babel src --out-dir cjs --env-name cjs --delete-dir-on-start --extensions .ts,.tsx --ignore '**/*.d.ts' && yarn build:cjs:types && echo '{\"type\": \"commonjs\"}' > cjs/package.json",
|
72 | 72 | "build:esm:types": "tsc -p . --emitDeclarationOnly --declaration --outDir lib",
|
73 | 73 | "build:cjs:types": "tsc -p . --emitDeclarationOnly --declaration --outDir cjs",
|
|
100 | 100 | "@restart/hooks": "^0.6.2",
|
101 | 101 | "@types/warning": "^3.0.3",
|
102 | 102 | "dequal": "^2.0.3",
|
103 |
| - "dom-helpers": "^5.2.0", |
| 103 | + "dom-helpers": "^6.0.1", |
104 | 104 | "uncontrollable": "^9.0.0",
|
105 | 105 | "warning": "^4.0.3"
|
106 | 106 | },
|
|
131 | 131 | "@vitest/browser": "^3.1.3",
|
132 | 132 | "@vitest/coverage-istanbul": "3.1.3",
|
133 | 133 | "babel-eslint": "^10.1.0",
|
| 134 | + "babel-plugin-add-import-extension": "^1.6.0", |
134 | 135 | "babel-preset-env-modules": "^1.0.1",
|
135 | 136 | "cross-env": "^7.0.3",
|
136 | 137 | "eslint": "^9.20.0",
|
|
0 commit comments