diff --git a/package.json b/package.json index c316930..0cc6dff 100644 --- a/package.json +++ b/package.json @@ -1,21 +1,29 @@ { "name": "blackhole-sim", "version": "1.0.0", - "description": "", + "description": "黑洞吞噬流星模拟器 - 引力透镜版", "main": "index.js", "scripts": { - "build": "webpack", - "test": "echo \"Error: no test specified\" && exit 1" + "build": "webpack --mode=development", + "build:prod": "webpack --mode=production", + "watch": "webpack --mode=development --watch", + "test": "jest --runInBand", + "test:watch": "jest --watch" }, "keywords": [], "author": "", "license": "ISC", "type": "commonjs", "devDependencies": { + "copy-webpack-plugin": "^14.0.0", "css-loader": "^7.1.4", + "jest": "^29.7.0", "style-loader": "^4.0.0", + "terser-webpack-plugin": "^5.3.10", "webpack": "^5.105.2", "webpack-cli": "^6.0.1" + }, + "dependencies": { + "chart.js": "^4.5.1" } } -