|
@@ -17,16 +17,22 @@
|
|
|
],
|
|
|
"main": "./build/potree/potree.js",
|
|
|
"scripts": {
|
|
|
- "start": "gulp watch",
|
|
|
- "build": "gulp build pack",
|
|
|
+ "start": "gulp watch -c development",
|
|
|
+ "build": "node main.js",
|
|
|
+ "build-c": "gulp build pack -c production",
|
|
|
"postinstall": "npm run build"
|
|
|
},
|
|
|
"dependencies": {
|
|
|
+ "@babel/core": "^7.16.10",
|
|
|
+ "@babel/preset-env": "^7.16.10",
|
|
|
+ "fs-extra": "^10.0.0",
|
|
|
"gulp": "^4.0.2",
|
|
|
"gulp-concat": "^2.6.1",
|
|
|
"gulp-connect": "^5.7.0",
|
|
|
"json5": "^2.1.3",
|
|
|
"rollup": "^1.31.1",
|
|
|
+ "rollup-plugin-babel": "^4.4.0",
|
|
|
+ "rollup-plugin-uglify": "^6.0.4",
|
|
|
"through": "~2.3.4"
|
|
|
},
|
|
|
"author": "Markus Schütz",
|