chore(typing): 更新typing路径和发布配置
This commit is contained in:
File diff suppressed because one or more lines are too long
2
build/weRequest.min.js
vendored
2
build/weRequest.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -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",
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
"removeComments": true,
|
||||
"pretty": true,
|
||||
"strictPropertyInitialization": true,
|
||||
"typeRoots": ["./src/typings"],
|
||||
"typeRoots": ["typings"],
|
||||
"lib": ["es5", "es2015", "dom", "scripthost"],
|
||||
"declaration": true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user