-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
65 lines (65 loc) · 1.72 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"name": "@megalo/api",
"version": "0.5.7",
"description": "重新封装各个端中的API,由 megalo 统一对外抛出方法名。目前微信小程序端提供的 API 最为丰富,所以 API 名称以微信小程序为准。",
"main": "index.js",
"scripts": {
"lint": "eslint ./ --fix",
"release": "standard-version",
"release:pre": "npm run release -- --prerelease",
"release:patch": "npm run release -- --release-as patch",
"release:minor": "npm run release -- --release-as minor",
"release:major": "npm run release -- --release-as major",
"publish": "git push --follow-tags origin master && npm publish"
},
"lint-staged": {
"./**/*.js": [
"eslint --fix --quiet",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/megalojs/megalo-api.git"
},
"keywords": [
"megalo",
"alipay",
"swan",
"wechat",
"toutiao",
"web"
],
"author": "kaola-fed",
"license": "MIT",
"bugs": {
"url": "https://github.com/megalojs/megalo-api/issues"
},
"homepage": "https://github.com/megalojs/megalo-api#readme",
"dependencies": {
"axios": "^0.19.0",
"mobile-detect": "^1.4.3"
},
"devDependencies": {
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^7.1.2",
"babel-eslint": "^10.0.1",
"commitizen": "^4.0.3",
"cz-conventional-changelog": "^2.1.0",
"eslint": "^5.10.0",
"husky": "^1.2.0",
"lint-staged": "^8.1.0",
"standard-version": "^4.4.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -e $GIT_PARAMS"
}
}
}