。。。
Showing
{ | { | ||
"name": "renderingengine-svga", | "name": "engine-svga", | ||
"version": "1.0.0", | "version": "1.0.0", | ||
"main": "index.js", | "main": "index.js", | ||
"license": "MIT", | "license": "MIT", | ||
... | @@ -16,12 +16,15 @@ | ... | @@ -16,12 +16,15 @@ |
"typescript": "^3.7.3" | "typescript": "^3.7.3" | ||
}, | }, | ||
"scripts": { | "scripts": { | ||
"declare": "node scripts/declare.js src/svga/index.ts", | "dts": "node scripts/declare.js src/svga/index.ts", | ||
"rollup": "rollup -c -o dist/svga.js", | "dev": "rollup -c -m -w", | ||
"rollup:prod": "rollup -c -o dist/svga.js --environment BUILD:production", | "build": "rollup -c -o dist/svga.js", | ||
"rollup:debug": "rollup -c -m ", | "build:prod": "rollup -c -o dist/svga.min.js --environment BUILD:production", | ||
"preprocess": "node scripts/pre-process.js svga dist/svga.js", | "preprocess:prod": "node scripts/pre-process.js svga dist/svga.min.js prod", | ||
"build": "rm -rf dist&&yarn rollup:prod && yarn preprocess && ali-oss-publish -c oss.config.js -e dist", | "preprocess:debug": "node scripts/pre-process.js svga dist/svga.js", | ||
"build:debug": "rm -rf dist&&yarn rollup && yarn preprocess && ali-oss-publish -c oss.config.js -e dist" | "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