* feat(types): 更新使用独立的微信小程序 types * build: add package-lock.json * feat: 由于当前仅修改依赖,不更新版本号
73 lines
1.7 KiB
JSON
73 lines
1.7 KiB
JSON
{
|
||
"name": "we-request",
|
||
"version": "1.6.6",
|
||
"description": "本工具通过拓展小程序的wx.request,让开发者通过简单的配置,实现自动管理登录态等功能",
|
||
"keywords": [
|
||
"登录态",
|
||
"登陆态",
|
||
"会话管理",
|
||
"用户态",
|
||
"小程序"
|
||
],
|
||
"homepage": "https://github.com/IvinWu/weRequest",
|
||
"author": {
|
||
"name": "Ivin Wu",
|
||
"email": "iviner1989@gmail.com",
|
||
"url": "https://github.com/IvinWu"
|
||
},
|
||
"repository": {
|
||
"type": "git",
|
||
"url": "https://github.com/IvinWu/weRequest.git"
|
||
},
|
||
"main": "build/weRequest.min.js",
|
||
"types": "build/index.d.ts",
|
||
"scripts": {
|
||
"build": "webpack --display-error-details",
|
||
"commit": "git cz",
|
||
"pub": "npm publish",
|
||
"test": "jest test"
|
||
},
|
||
"dependencies": {
|
||
"miniprogram-api-typings": "^3.6.0"
|
||
},
|
||
"devDependencies": {
|
||
"@babel/core": "^7.12.9",
|
||
"@babel/preset-env": "^7.12.7",
|
||
"@babel/preset-typescript": "^7.12.7",
|
||
"@types/jest": "^26.0.16",
|
||
"babel-jest": "^26.6.3",
|
||
"commitizen": "^3.0.5",
|
||
"cz-conventional-changelog": "^2.1.0",
|
||
"jest": "^26.6.3",
|
||
"prettier": "^1.15.3",
|
||
"pretty-quick": "^1.8.0",
|
||
"ts-loader": "^5.3.1",
|
||
"tslint": "^5.12.0",
|
||
"tslint-config-prettier": "^1.17.0",
|
||
"typescript": "^3.7.4",
|
||
"webpack": "^4.28.0",
|
||
"webpack-cli": "^3.3.12"
|
||
},
|
||
"husky": {
|
||
"hooks": {
|
||
"pre-commit": "pretty-quick --staged"
|
||
}
|
||
},
|
||
"config": {
|
||
"commitizen": {
|
||
"path": "./node_modules/cz-conventional-changelog"
|
||
}
|
||
},
|
||
"jest": {
|
||
"setupFiles": [
|
||
"./test/__mock__/wx.ts"
|
||
],
|
||
"collectCoverage": true,
|
||
"collectCoverageFrom": [
|
||
"src/**/*.ts",
|
||
"!src/*.ts",
|
||
"!src/store/**/*.ts"
|
||
]
|
||
}
|
||
}
|