axios-miniprogram/package.json

75 lines
2.1 KiB
JSON
Raw Normal View History

2020-04-14 23:45:21 +08:00
{
"name": "axios-miniprogram",
2020-07-22 14:20:00 +08:00
"version": "1.1.3",
2020-04-17 19:45:55 +08:00
"description": "基于 Promise 的 HTTP 请求库,适用于各大小程序平台。",
2020-04-14 23:45:21 +08:00
"main": "package/index.js",
"miniprogram": "package",
"types": "types/index.d.ts",
"files": [
"package",
"types"
],
"scripts": {
"build": "rollup -c",
2020-07-27 11:37:08 +08:00
"lint": "eslint --ext ts --fix src __tests__",
"prettier": "prettier --write --config .prettierrc \"{src,__tests__}/**/*.{js,ts}\"",
2020-04-14 23:45:21 +08:00
"test": "jest",
"test:watch": "yarn test -- --watch",
"test:cov": "yarn test -- --coverage",
"coverage": "yarn test:cov --coverageReporters=text-lcov | coveralls"
},
"husky": {
"hooks": {
2020-05-05 16:45:39 +08:00
"pre-commit": "yarn prettier && yarn lint && yarn test:cov && git add ."
2020-04-14 23:45:21 +08:00
}
},
"jest": {
"preset": "ts-jest",
"globals": {
"ts-jest": {
"babelConfig": "test/.babelrc"
}
}
},
"repository": {
"type": "git",
2020-07-22 14:20:00 +08:00
"url": "git+https://github.com/zjx0905/axios-miniprogram.git"
2020-04-14 23:45:21 +08:00
},
2020-04-17 12:06:41 +08:00
"keywords": [
"axios",
2020-04-24 09:24:43 +08:00
"miniprogram",
"request",
"promise"
2020-04-17 12:06:41 +08:00
],
2020-07-22 14:20:00 +08:00
"author": "zjx0905",
2020-04-14 23:45:21 +08:00
"license": "MIT",
"bugs": {
2020-07-22 14:20:00 +08:00
"url": "https://github.com/zjx0905/axios-miniprogram/issues"
2020-04-14 23:45:21 +08:00
},
2020-07-22 14:20:00 +08:00
"homepage": "https://github.com/zjx0905/axios-miniprogram#readme",
2020-04-14 23:45:21 +08:00
"devDependencies": {
2020-07-22 14:20:00 +08:00
"@babel/core": "^7.10.5",
"@babel/plugin-proposal-optional-chaining": "^7.10.4",
"@babel/plugin-transform-modules-commonjs": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.10.5",
"@babel/preset-env": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@babel/runtime": "^7.10.5",
"@types/jest": "^26.0.5",
"@typescript-eslint/eslint-plugin": "^3.7.0",
"@typescript-eslint/parser": "^3.7.0",
"coveralls": "^3.1.0",
"eslint": "^7.5.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.2.5",
"jest": "^26.1.0",
"prettier": "^2.0.5",
2020-04-14 23:45:21 +08:00
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-node-resolve": "^5.2.0",
2020-07-22 14:20:00 +08:00
"rollup-plugin-typescript2": "^0.27.1",
"ts-jest": "^26.1.3",
"typescript": "^3.9.7"
2020-04-14 23:45:21 +08:00
}
2020-07-22 14:20:00 +08:00
}