Commit 9e618735 authored by 任建锋's avatar 任建锋

--

parent f4df8017
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
"typescript": "^3.7.3" "typescript": "^3.7.3"
}, },
"scripts": { "scripts": {
"dev": "rollup -c -m -w",
"declare": "node scripts/declare.js src/svga/index.ts", "declare": "node scripts/declare.js src/svga/index.ts",
"rollup": "rollup -c -o dist/svga.js", "rollup": "rollup -c -o dist/svga.js",
"rollup:prod": "rollup -c -o dist/svga.js --environment BUILD:production", "rollup:prod": "rollup -c -o dist/svga.js --environment BUILD:production",
......
...@@ -9,7 +9,7 @@ const typescript = require('rollup-plugin-typescript'); ...@@ -9,7 +9,7 @@ const typescript = require('rollup-plugin-typescript');
const {uglify} = require('rollup-plugin-uglify'); const {uglify} = require('rollup-plugin-uglify');
const options = { const options = {
input: 'src/index.ts', input: 'src/svga/index.ts',
output: [ output: [
{ {
file: `debug/engine-svga.js`, file: `debug/engine-svga.js`,
......
...@@ -81,23 +81,11 @@ ...@@ -81,23 +81,11 @@
resolved "https://registry.npm.taobao.org/@types/long/download/@types/long-4.0.0.tgz?cache=0&sync_timestamp=1572463917434&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Flong%2Fdownload%2F%40types%2Flong-4.0.0.tgz#719551d2352d301ac8b81db732acb6bdc28dbdef" resolved "https://registry.npm.taobao.org/@types/long/download/@types/long-4.0.0.tgz?cache=0&sync_timestamp=1572463917434&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Flong%2Fdownload%2F%40types%2Flong-4.0.0.tgz#719551d2352d301ac8b81db732acb6bdc28dbdef"
integrity sha1-cZVR0jUtMBrIuB23Mqy2vcKNve8= integrity sha1-cZVR0jUtMBrIuB23Mqy2vcKNve8=
"@types/node@*":
version "12.12.21"
resolved "https://registry.npm.taobao.org/@types/node/download/@types/node-12.12.21.tgz?cache=0&sync_timestamp=1576679981554&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Fnode%2Fdownload%2F%40types%2Fnode-12.12.21.tgz#aa44a6363291c7037111c47e4661ad210aded23f"
integrity sha1-qkSmNjKRxwNxEcR+RmGtIQre0j8=
"@types/node@^10.1.0": "@types/node@^10.1.0":
version "10.17.11" version "10.17.11"
resolved "https://registry.npm.taobao.org/@types/node/download/@types/node-10.17.11.tgz?cache=0&sync_timestamp=1576679981554&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Fnode%2Fdownload%2F%40types%2Fnode-10.17.11.tgz#46ba035fb917b31c948280dbea22ab8838f386a4" resolved "https://registry.npm.taobao.org/@types/node/download/@types/node-10.17.11.tgz?cache=0&sync_timestamp=1576679981554&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Fnode%2Fdownload%2F%40types%2Fnode-10.17.11.tgz#46ba035fb917b31c948280dbea22ab8838f386a4"
integrity sha1-RroDX7kXsxyUgoDb6iKriDjzhqQ= integrity sha1-RroDX7kXsxyUgoDb6iKriDjzhqQ=
"@types/resolve@0.0.8":
version "0.0.8"
resolved "https://registry.npm.taobao.org/@types/resolve/download/@types/resolve-0.0.8.tgz#f26074d238e02659e323ce1a13d041eee280e194"
integrity sha1-8mB00jjgJlnjI84aE9BB7uKA4ZQ=
dependencies:
"@types/node" "*"
ansi-styles@^3.2.1: ansi-styles@^3.2.1:
version "3.2.1" version "3.2.1"
resolved "https://registry.npm.taobao.org/ansi-styles/download/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" resolved "https://registry.npm.taobao.org/ansi-styles/download/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d"
...@@ -105,10 +93,17 @@ ansi-styles@^3.2.1: ...@@ -105,10 +93,17 @@ ansi-styles@^3.2.1:
dependencies: dependencies:
color-convert "^1.9.0" color-convert "^1.9.0"
builtin-modules@^3.1.0: browser-resolve@^1.11.0:
version "3.1.0" version "1.11.3"
resolved "https://registry.npm.taobao.org/builtin-modules/download/builtin-modules-3.1.0.tgz#aad97c15131eb76b65b50ef208e7584cd76a7484" resolved "https://registry.npm.taobao.org/browser-resolve/download/browser-resolve-1.11.3.tgz#9b7cbb3d0f510e4cb86bdbd796124d28b5890af6"
integrity sha1-qtl8FRMet2tltQ7yCOdYTNdqdIQ= integrity sha1-m3y7PQ9RDky4a9vXlhJNKLWJCvY=
dependencies:
resolve "1.1.7"
builtin-modules@^1.1.0:
version "1.1.1"
resolved "https://registry.npm.taobao.org/builtin-modules/download/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f"
integrity sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=
chalk@^2.0.0, chalk@^2.4.2: chalk@^2.0.0, chalk@^2.4.2:
version "2.4.2" version "2.4.2"
...@@ -156,11 +151,6 @@ has-flag@^3.0.0: ...@@ -156,11 +151,6 @@ has-flag@^3.0.0:
resolved "https://registry.npm.taobao.org/has-flag/download/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" resolved "https://registry.npm.taobao.org/has-flag/download/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"
integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0= integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0=
is-module@^1.0.0:
version "1.0.0"
resolved "https://registry.npm.taobao.org/is-module/download/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591"
integrity sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE=
is-reference@^1.1.2: is-reference@^1.1.2:
version "1.1.4" version "1.1.4"
resolved "https://registry.npm.taobao.org/is-reference/download/is-reference-1.1.4.tgz#3f95849886ddb70256a3e6d062b1a68c13c51427" resolved "https://registry.npm.taobao.org/is-reference/download/is-reference-1.1.4.tgz#3f95849886ddb70256a3e6d062b1a68c13c51427"
...@@ -222,7 +212,19 @@ protobufjs@^6.8.8: ...@@ -222,7 +212,19 @@ protobufjs@^6.8.8:
"@types/node" "^10.1.0" "@types/node" "^10.1.0"
long "^4.0.0" long "^4.0.0"
resolve@^1.10.0, resolve@^1.11.0, resolve@^1.11.1: resolve@1.1.7:
version "1.1.7"
resolved "https://registry.npm.taobao.org/resolve/download/resolve-1.1.7.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fresolve%2Fdownload%2Fresolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b"
integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=
resolve@^1.1.6:
version "1.17.0"
resolved "https://registry.npm.taobao.org/resolve/download/resolve-1.17.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fresolve%2Fdownload%2Fresolve-1.17.0.tgz#b25941b54968231cc2d1bb76a79cb7f2c0bf8444"
integrity sha1-sllBtUloIxzC0bt2p5y38sC/hEQ=
dependencies:
path-parse "^1.0.6"
resolve@^1.10.0, resolve@^1.11.0:
version "1.14.1" version "1.14.1"
resolved "https://registry.npm.taobao.org/resolve/download/resolve-1.14.1.tgz#9e018c540fcf0c427d678b9931cbf45e984bcaff" resolved "https://registry.npm.taobao.org/resolve/download/resolve-1.14.1.tgz#9e018c540fcf0c427d678b9931cbf45e984bcaff"
integrity sha1-ngGMVA/PDEJ9Z4uZMcv0XphLyv8= integrity sha1-ngGMVA/PDEJ9Z4uZMcv0XphLyv8=
...@@ -240,16 +242,14 @@ rollup-plugin-commonjs@^10.1.0: ...@@ -240,16 +242,14 @@ rollup-plugin-commonjs@^10.1.0:
resolve "^1.11.0" resolve "^1.11.0"
rollup-pluginutils "^2.8.1" rollup-pluginutils "^2.8.1"
rollup-plugin-node-resolve@^5.2.0: "rollup-plugin-node-resolve@^5. 2.0":
version "5.2.0" version "2.0.0"
resolved "https://registry.npm.taobao.org/rollup-plugin-node-resolve/download/rollup-plugin-node-resolve-5.2.0.tgz#730f93d10ed202473b1fb54a5997a7db8c6d8523" resolved "https://registry.npm.taobao.org/rollup-plugin-node-resolve/download/rollup-plugin-node-resolve-2.0.0.tgz#07e0ae94ac002a3ea36e8f33ca121d9f836b1309"
integrity sha1-cw+T0Q7SAkc7H7VKWZen24xthSM= integrity sha1-B+CulKwAKj6jbo8zyhIdn4NrEwk=
dependencies: dependencies:
"@types/resolve" "0.0.8" browser-resolve "^1.11.0"
builtin-modules "^3.1.0" builtin-modules "^1.1.0"
is-module "^1.0.0" resolve "^1.1.6"
resolve "^1.11.1"
rollup-pluginutils "^2.8.1"
rollup-plugin-progress@^1.1.1: rollup-plugin-progress@^1.1.1:
version "1.1.1" version "1.1.1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment