-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
30 lines (30 loc) · 1.06 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
"name": "webpack-treeshake-test",
"version": "1.0.0",
"type": "module",
"scripts": {
"build": "export ENTRY=./src/index.js && npm run build-all",
"build-three": "export ENTRY=./src/index-three.js && npm run build-all",
"build-buffergeom": "export ENTRY=./src/index-buffergeometryutils.js && npm run build-all",
"build-instanceof": "export ENTRY=./src/index-instanceof.js && npm run build-all",
"build-all": "npm run build-webpack && npm run build-rollup && npm run build-esbuild",
"build-webpack": "webpack",
"build-rollup": "rollup -c rollup.config.js",
"build-esbuild": "esbuild $ENTRY --outfile=dist/index-esbuild.js --bundle --format=esm --minify"
},
"author": "",
"license": "MIT",
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"esbuild": "^0.19.4",
"rollup": "^4.0.2",
"rollup-plugin-filesize": "^10.0.0",
"terser-webpack-plugin": "^5.3.3",
"webpack": "^5.73.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"three": "^0.157.0"
}
}