31 lines
971 B
JSON
31 lines
971 B
JSON
|
{
|
||
|
"dependencies": {
|
||
|
"three": "^0.119.1"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@babel/core": "^7.11.1",
|
||
|
"@babel/plugin-proposal-class-properties": "^7.10.4",
|
||
|
"@babel/preset-env": "^7.11.0",
|
||
|
"babel-loader": "^8.1.0",
|
||
|
"concurrently": "^5.2.0",
|
||
|
"css-loader": "^4.2.0",
|
||
|
"dotenv": "^8.2.0",
|
||
|
"file-loader": "^6.0.0",
|
||
|
"img-loader": "^3.0.1",
|
||
|
"less-loader": "^6.2.0",
|
||
|
"mini-css-extract-plugin": "^0.9.0",
|
||
|
"style-loader": "^1.2.1",
|
||
|
"terser-webpack-plugin": "^4.0.0",
|
||
|
"url-loader": "^4.1.0",
|
||
|
"webpack": "^4.44.1",
|
||
|
"webpack-cli": "^3.3.12",
|
||
|
"webpack-merge": "^4.2.2"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"babel": "babel --presets es2015 js/main.js -o build/main.bundle.js",
|
||
|
"serve": "http-server",
|
||
|
"prod": "rm -rf dist && webpack",
|
||
|
"watch": "concurrently \"npm run serve\" \"npx webpack --source-maps --watch\" "
|
||
|
}
|
||
|
}
|