init
Showing
... | @@ -4,7 +4,6 @@ | ... | @@ -4,7 +4,6 @@ |
"main": "index.js", | "main": "index.js", | ||
"license": "MIT", | "license": "MIT", | ||
"devDependencies": { | "devDependencies": { | ||
"dts-bundle": "^0.7.3", | |||
"glob": "^7.1.6", | "glob": "^7.1.6", | ||
"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", | ||
... | @@ -12,21 +11,25 @@ | ... | @@ -12,21 +11,25 @@ |
"rollup-plugin-typescript": "^1.0.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", | ||
"typescript": "^2.7.2" | "typescript": "^2.7.2", | ||
"dts-bundle-generator": "^4.3.0" | |||
}, | }, | ||
"dependencies": { | "dependencies": { | ||
"protobufjs": "^6.8.8", | "protobufjs": "^6.8.8", | ||
"tslib": "^1.10.0", | "tslib": "^1.10.0", | ||
"typescript": "^2.7.2" | "typescript": "^2.7.2" | ||
}, | }, | ||
"scripts": { | "scripts": { | ||
"dev": "rollup -c -m -w", | "dev": "rollup -c -m -w", | ||
"declare": "node scripts/declare.js src/svga/index.ts", | "build": "rollup -c -o dist/svga.js", | ||
"rollup": "rollup -c -o dist/svga.js", | "build:prod": "rollup -c -o dist/svga.min.js --environment BUILD:production", | ||
"rollup:prod": "rollup -c -o dist/svga.js --environment BUILD:production", | "preprocess:prod": "node scripts/pre-process.js svga dist/svga.min.js prod", | ||
"rollup:debug": "rollup -c -m ", | "preprocess:debug": "node scripts/pre-process.js svga dist/svga.js", | ||
"preprocess": "node scripts/pre-process.js svga dist/svga.js", | "pack:prod": "yarn build:prod && yarn preprocess:prod", | ||
"build": "rm -rf dist&&yarn rollup:prod && yarn preprocess && ali-oss-publish -c oss.config.js -e dist", | "pack:debug": "yarn build && yarn preprocess:debug", | ||
"build:debug": "rm -rf dist&&yarn rollup && yarn preprocess && ali-oss-publish -c oss.config.js -e dist" | "upload": "ali-oss-publish -c oss.config.js -e dist", | ||
"publish": "rm -rf dist && yarn pack:debug && yarn pack:prod && yarn upload", | |||
"token": "uglifyjs -m -c -o px-token.min.js px-token.js", | |||
"dts": "dts-bundle-generator -o types.d.ts src/index.ts" | |||
} | } | ||
} | } |
Please register or sign in to comment