|
5 | 5 | "module": "dist/index.mjs", |
6 | 6 | "types": "dist/index.d.ts", |
7 | 7 | "exports": { |
| 8 | + "types": "./dist/index.d.ts", |
8 | 9 | "import": "./dist/index.mjs", |
9 | 10 | "default": "./dist/index.js" |
10 | 11 | }, |
|
13 | 14 | "repository": "https://github.com/egoist/rollup-plugin-esbuild", |
14 | 15 | "scripts": { |
15 | 16 | "test": "jest", |
16 | | - "example:rollup-node-resolve": "rollup -c example/rollup.config.js", |
17 | | - "example:esbuild-optimize-deps": "OPTIMIZE=true rollup -c example/rollup.config.js", |
| 17 | + "example:rollup-node-resolve": "rollup --bundleConfigAsCjs -c example/rollup.config.js", |
| 18 | + "example:esbuild-optimize-deps": "OPTIMIZE=true rollup --bundleConfigAsCjs -c example/rollup.config.js", |
18 | 19 | "build": "rm -rf dist && tsup src/index.ts --format esm,cjs --dts-resolve", |
19 | 20 | "prepublishOnly": "npm run build" |
20 | 21 | }, |
21 | 22 | "files": [ |
22 | 23 | "dist" |
23 | 24 | ], |
24 | 25 | "devDependencies": { |
25 | | - "@rollup/plugin-commonjs": "^21.0.1", |
26 | | - "@rollup/plugin-node-resolve": "^13.1.1", |
| 26 | + "@rollup/plugin-commonjs": "^23.0.0", |
| 27 | + "@rollup/plugin-node-resolve": "^15.0.0", |
27 | 28 | "@types/debug": "^4.1.7", |
28 | | - "@types/jest": "^27.0.2", |
29 | | - "@types/node": "14.14.37", |
30 | | - "esbuild": "^0.14.51", |
| 29 | + "@types/jest": "^29.1.2", |
| 30 | + "@types/node": "16.11.66", |
| 31 | + "esbuild": "^0.15.11", |
31 | 32 | "istextorbinary": "^6.0.0", |
32 | | - "jest": "^27.3.1", |
| 33 | + "jest": "^29.2.0", |
33 | 34 | "lodash": "^4.17.21", |
34 | | - "prettier": "^2.4.1", |
35 | | - "react": "^17.0.2", |
36 | | - "rollup": "^2.59.0", |
37 | | - "three": "^0.136.0", |
38 | | - "ts-essentials": "^9.1.0", |
39 | | - "ts-jest": "^27.0.7", |
40 | | - "tsup": "^5.7.2", |
41 | | - "typescript": "^4.4.4", |
42 | | - "vue": "^3.2.26" |
| 35 | + "prettier": "^2.7.1", |
| 36 | + "react": "^18.2.0", |
| 37 | + "rollup": "^3.2.2", |
| 38 | + "three": "^0.145.0", |
| 39 | + "ts-essentials": "^9.3.0", |
| 40 | + "ts-jest": "^29.0.3", |
| 41 | + "tsup": "^6.3.0", |
| 42 | + "typescript": "^4.8.4", |
| 43 | + "vue": "^3.2.41" |
43 | 44 | }, |
44 | 45 | "dependencies": { |
45 | | - "@rollup/pluginutils": "^4.1.1", |
46 | | - "debug": "^4.3.3", |
47 | | - "es-module-lexer": "^0.9.3", |
48 | | - "joycon": "^3.0.1", |
49 | | - "jsonc-parser": "^3.0.0" |
| 46 | + "@rollup/pluginutils": "^5.0.1", |
| 47 | + "debug": "^4.3.4", |
| 48 | + "es-module-lexer": "^1.0.5", |
| 49 | + "joycon": "^3.1.1", |
| 50 | + "jsonc-parser": "^3.2.0" |
50 | 51 | }, |
51 | 52 | "peerDependencies": { |
52 | 53 | "esbuild": ">=0.10.1", |
53 | | - "rollup": "^1.20.0 || ^2.0.0" |
| 54 | + "rollup": "^1.20.0 || ^2.0.0 || ^3.0.0" |
54 | 55 | }, |
55 | 56 | "engines": { |
56 | | - "node": ">=12" |
| 57 | + "node": ">=14.18.0", |
| 58 | + "npm": ">=8.0.0" |
57 | 59 | } |
58 | 60 | } |
0 commit comments