70 lines
1.8 KiB
JSON
70 lines
1.8 KiB
JSON
{
|
|
"name": "axios-miniprogram",
|
|
"version": "v2.0.0-rc-1",
|
|
"description": "基于 Promise 的 HTTP 请求库,适用于各大小程序平台。",
|
|
"main": "dist/cjs/axios-miniprogram.js",
|
|
"module": "dist/esm/axios-miniprogram.js",
|
|
"types": "dist/@types/axios-miniprogram/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/fluffff/axios-miniprogram.git"
|
|
},
|
|
"keywords": [
|
|
"axios",
|
|
"miniprogram",
|
|
"request",
|
|
"promise"
|
|
],
|
|
"author": "fluffff",
|
|
"bugs": {
|
|
"url": "https://github.com/fluffff/axios-miniprogram/issues"
|
|
},
|
|
"homepage": "https://github.com/fluffff/axios-miniprogram#readme",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=10.0.0"
|
|
},
|
|
"scripts": {
|
|
"build": "rollup --config",
|
|
"test": "jest --passWithNoTests",
|
|
"lint": "eslint",
|
|
"format": "prettier --check --write '{src,__tests__}/**/*.{js,ts,tsx}'",
|
|
"version": "yarn test && yarn build",
|
|
"prepare": "husky install"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.14.0",
|
|
"@babel/preset-env": "^7.14.4",
|
|
"@babel/preset-typescript": "^7.13.0",
|
|
"@commitlint/cli": "^12.1.4",
|
|
"@commitlint/config-conventional": "^12.1.4",
|
|
"@rollup/plugin-babel": "^5.3.0",
|
|
"@rollup/plugin-commonjs": "^19.0.0",
|
|
"@rollup/plugin-node-resolve": "^13.0.0",
|
|
"@types/jest": "^26.0.23",
|
|
"@typescript-eslint/eslint-plugin": "^4.22.1",
|
|
"@typescript-eslint/parser": "^4.22.1",
|
|
"eslint": "^7.26.0",
|
|
"husky": "^6.0.0",
|
|
"jest": "^26.6.3",
|
|
"lint-staged": "10.0.0",
|
|
"prettier": "2.2.1",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.47.0",
|
|
"rollup-plugin-typescript2": "^0.30.0",
|
|
"ts-node": "^9.1.1",
|
|
"tslib": "^2.2.0",
|
|
"typescript": "^4.2.4"
|
|
},
|
|
"lint-staged": {
|
|
"*.ts": [
|
|
"yarn lint",
|
|
"yarn format",
|
|
"yarn test"
|
|
]
|
|
}
|
|
}
|