init
Showing
... | ... | @@ -6,14 +6,13 @@ |
"scripts": { | ||
"dev": "node ./scripts/devServer.js", | ||
"flushRes": "node scripts/flushRes", | ||
"handleRes": "node scripts/delRel && node scripts/copyRes", | ||
"handleRes": "node scripts/delRel && node scripts/copyRes && node scripts/imageMin.js", | ||
"upload": "node scripts/upload", | ||
"prod": "npm run handleRes && npm run upload && npm run buildTS", | ||
"buildWeb": "npm run handleRes && node scripts/upload 1", | ||
"buildTS": "webpack --config webpack.prod.js && node scripts/mergeJs", | ||
"babelbuild": "babel src --out-dir dist --extensions .ts,.tsx", | ||
"build": "webpack --config webpack.prod.js", | ||
"check-type": "tsc --watch" | ||
}, | ||
"author": "", | ||
... | ... | @@ -28,19 +27,18 @@ |
"@babel/plugin-transform-runtime": "^7.19.1", | ||
"@babel/preset-env": "^7.19.1", | ||
"@babel/preset-typescript": "^7.18.6", | ||
"ali-oss": "^4.11.4", | ||
"babel-loader": "^8.2.5", | ||
"chalk": "^2.3.0", | ||
"co": "^4.6.0", | ||
"del": "2.2.1", | ||
"form-data": "^4.0.0", | ||
"progress": "^2.0.0", | ||
"ts-loader": "^9.4.1", | ||
"typescript": "^4.8.3", | ||
"webpack": "^5.74.0", | ||
"webpack-cli": "^4.10.0", | ||
"webpack-dev-server": "^4.11.1", | ||
"webpack-merge": "^5.8.0", | ||
"ali-oss": "^4.11.4", | ||
"chalk": "^2.3.0", | ||
"co": "^4.6.0", | ||
"progress": "^2.0.0" | ||
"webpack-merge": "^5.8.0" | ||
} | ||
} |
scripts/imageMin.js
0 → 100644
scripts/tinyImage.js
0 → 100644
test.js
0 → 100644
Please register or sign in to comment