do not generate dts in umd

This commit is contained in:
taoqf 2019-11-18 11:57:36 +08:00
parent dca773639b
commit 8a481f5d19
3 changed files with 3 additions and 1788 deletions

1785
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -8,7 +8,7 @@
"test": "mocha",
"clean": "del-cli ./dist/",
"ts:cjs": "tsc -m commonjs",
"ts:umd": "tsc -t es5 -m umd --outDir ./dist/umd/",
"ts:umd": "tsc -t es5 -m umd -d false --outDir ./dist/umd/",
"build": "npm run clean && npm run ts:cjs && npm run ts:umd",
"dev": "tsc -w",
"pretest": "tsc -m commonjs"
@ -58,4 +58,4 @@
"url": "https://github.com/taoqf/node-fast-html-parser/issues"
},
"homepage": "https://github.com/taoqf/node-fast-html-parser"
}
}

View file

@ -4,7 +4,7 @@
],
"compilerOptions": {
"module": "commonjs",
"target": "esnext",
"target": "es5",
"noImplicitAny": true,
"sourceMap": false,
"emitDecoratorMetadata": true,