init
Showing
... | ... | @@ -4,7 +4,6 @@ |
"main": "index.js", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"dts-bundle": "^0.7.3", | ||
"glob": "^7.1.6", | ||
"rollup-plugin-commonjs": "^10.1.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
... | ... | @@ -12,21 +11,25 @@ |
"rollup-plugin-typescript": "^1.0.1", | ||
"rollup-plugin-typescript2": "^0.25.2", | ||
"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", | ||
"tslib": "^1.10.0", | ||
"typescript": "^2.7.2" | ||
}, | ||
"scripts": { | ||
"dev": "rollup -c -m -w", | ||
"declare": "node scripts/declare.js src/svga/index.ts", | ||
"rollup": "rollup -c -o dist/svga.js", | ||
"rollup:prod": "rollup -c -o dist/svga.js --environment BUILD:production", | ||
"rollup:debug": "rollup -c -m ", | ||
"preprocess": "node scripts/pre-process.js svga dist/svga.js", | ||
"build": "rm -rf dist&&yarn rollup:prod && yarn preprocess && ali-oss-publish -c oss.config.js -e dist", | ||
"build:debug": "rm -rf dist&&yarn rollup && yarn preprocess && ali-oss-publish -c oss.config.js -e dist" | ||
"build": "rollup -c -o dist/svga.js", | ||
"build:prod": "rollup -c -o dist/svga.min.js --environment BUILD:production", | ||
"preprocess:prod": "node scripts/pre-process.js svga dist/svga.min.js prod", | ||
"preprocess:debug": "node scripts/pre-process.js svga dist/svga.js", | ||
"pack:prod": "yarn build:prod && yarn preprocess:prod", | ||
"pack:debug": "yarn build && yarn preprocess:debug", | ||
"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