。。。
Showing
{ | ||
"name": "renderingengine-svga", | ||
"name": "engine-svga", | ||
"version": "1.0.0", | ||
"main": "index.js", | ||
"license": "MIT", | ||
... | ... | @@ -16,12 +16,15 @@ |
"typescript": "^3.7.3" | ||
}, | ||
"scripts": { | ||
"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" | ||
"dts": "node scripts/declare.js src/svga/index.ts", | ||
"dev": "rollup -c -m -w", | ||
"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" | ||
} | ||
} |
src/types.d.ts
0 → 100644
This diff is collapsed.
src/types.ts
deleted
100644 → 0
This diff is collapsed.
svga.d.ts
0 → 100644
Please register or sign in to comment