chore(typing): 更新typing路径和发布配置

This commit is contained in:
mwindson
2020-04-15 13:49:46 +08:00
committed by Ivin Wu
parent 8b890172f3
commit 1140e87f1c
11 changed files with 7 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -20,7 +20,10 @@
"url": "https://github.com/IvinWu/weRequest.git"
},
"main": "build/weRequest.js",
"typings": "build/index.d.ts",
"typings": [
"build/index.d.ts",
"typings"
],
"scripts": {
"build": "webpack --display-error-details",
"commit": "git cz",

View File

@@ -20,7 +20,7 @@
"removeComments": true,
"pretty": true,
"strictPropertyInitialization": true,
"typeRoots": ["./src/typings"],
"typeRoots": ["typings"],
"lib": ["es5", "es2015", "dom", "scripthost"],
"declaration": true
},