修改了好多东西啊
Showing
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
... | @@ -5,15 +5,16 @@ | ... | @@ -5,15 +5,16 @@ |
"main": "index.js", | "main": "index.js", | ||
"types": "index.d.ts", | "types": "index.d.ts", | ||
"dependencies": { | "dependencies": { | ||
"glob": "^7.1.6", | "color": "^3.1.2" | ||
"rollup-plugin-typescript": "^1.0.1" | |||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"dts-bundle": "^0.7.3", | "dts-bundle": "^0.7.3", | ||
"glob": "^7.1.6", | |||
"protobufjs": "^6.8.0", | "protobufjs": "^6.8.0", | ||
"rollup-plugin-commonjs": "^10.1.0", | "rollup-plugin-commonjs": "^10.1.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | "rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-progress": "^1.1.1", | "rollup-plugin-progress": "^1.1.1", | ||
"rollup-plugin-typescript": "^1.0.1", | |||
"rollup-plugin-typescript2": "^0.25.2", | "rollup-plugin-typescript2": "^0.25.2", | ||
"rollup-plugin-uglify": "^6.0.3", | "rollup-plugin-uglify": "^6.0.3", | ||
"ts-loader": "^4.0.0", | "ts-loader": "^4.0.0", | ||
... | @@ -25,10 +26,12 @@ | ... | @@ -25,10 +26,12 @@ |
}, | }, | ||
"scripts": { | "scripts": { | ||
"build-webpack": "webpack", | "build-webpack": "webpack", | ||
"rollup": "rollup -c -o dist/engine.js --environment BUILD:production1", | "rollup:prod": "rollup -c -o dist/engine.js --environment BUILD:production", | ||
"rollup": "rollup -c -o dist/engine.js", | |||
"rollup:debug": "rollup -c -m ", | "rollup:debug": "rollup -c -m ", | ||
"rename": "node scripts/rename-hash.js dist/engine.js", | "rename": "node scripts/rename-hash.js dist/engine.js", | ||
"build": "rm -rf dist&&yarn rollup && yarn rename && ali-oss-publish -c oss.config.js -e dist", | "build": "rm -rf dist&&yarn rollup:prod && yarn rename && ali-oss-publish -c oss.config.js -e dist", | ||
"build:debug": "rm -rf dist&&yarn rollup && yarn rename && ali-oss-publish -c oss.config.js -e dist", | |||
"ts": "dts-bundle --name engine --main types/src/index.d.ts --out ../../dist/index.d.ts", | "ts": "dts-bundle --name engine --main types/src/index.d.ts --out ../../dist/index.d.ts", | ||
"test": "echo \"Error: no test specified\" && exit 1", | "test": "echo \"Error: no test specified\" && exit 1", | ||
"dev": "webpack -w", | "dev": "webpack -w", | ||
... | ... |
src/zeroing/log-switch.ts
0 → 100644
src/zeroing/web.ts
0 → 100644
Please register or sign in to comment