Commit c1d71a0c authored by rockyl's avatar rockyl

修复build脚本3

parent 3cf7d9e8
...@@ -12,7 +12,8 @@ ...@@ -12,7 +12,8 @@
"scripts": { "scripts": {
"dev": "rollup -c -w", "dev": "rollup -c -w",
"build:rollup": "rollup -c", "build:rollup": "rollup -c",
"build": "rm -rf node_modules && npm install", "build": "npm run clean && npm install",
"clean": "rm -rf node_modules && npm cache clean --force",
"start": "node dist/index.js" "start": "node dist/index.js"
}, },
"devDependencies": { "devDependencies": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment