-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
97 lines (97 loc) · 2.92 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "tua-api",
"version": "1.7.0",
"description": "🏗 A common tool helps converting configs to api functions",
"main": "dist/TuaApi.cjs.js",
"module": "dist/TuaApi.esm.js",
"unpkg": "dist/TuaApi.umd.js",
"jsdelivr": "dist/TuaApi.umd.js",
"types": "src/index.d.ts",
"files": [
"src",
"dist",
"examples"
],
"scripts": {
"cov": "open coverage/lcov-report/index.html",
"docs": "vuepress dev docs",
"docs:build": "vuepress build docs",
"lint": "eslint --fix . docs/.vuepress/ --ignore-path .gitignore",
"test": "cross-env NODE_ENV=test jest",
"test:tdd": "cross-env NODE_ENV=test jest --watch",
"prebuild": "rimraf dist/* & npm run test",
"build": "cross-env NODE_ENV=production rollup -c",
"deploy": "npm run docs:build && gh-pages -m \"[ci skip]\" -d docs/.vuepress/dist",
"next:pm": "npm --no-git-tag-version version preminor",
"next:pr": "npm --no-git-tag-version version prerelease",
"pub": "npm run build && npm publish",
"pub:n": "npm run build && npm publish --tag next"
},
"husky": {
"hooks": {
"pre-push": "npm test",
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"{src,test}/**/*.js": [
"eslint --fix"
]
},
"eslintIgnore": [
"dist/*",
"!.eslintrc.js",
"package.json"
],
"dependencies": {
"axios": "^0.21.1",
"fetch-jsonp": "^1.1.3",
"koa-compose": "^4.1.0"
},
"devDependencies": {
"@babel/core": "^7.10.5",
"@babel/plugin-external-helpers": "^7.10.4",
"@babel/plugin-proposal-decorators": "^7.10.5",
"@babel/plugin-proposal-object-rest-spread": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"@commitlint/cli": "^9.1.1",
"@commitlint/config-conventional": "^9.1.1",
"@rollup/plugin-babel": "^5.1.0",
"@rollup/plugin-commonjs": "^14.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^8.4.0",
"@rollup/plugin-replace": "^2.3.3",
"@types/jest": "^26.0.5",
"all-contributors-cli": "^6.16.1",
"axios-mock-adapter": "^1.18.2",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.1.0",
"codecov": "^3.7.1",
"cross-env": "^7.0.2",
"eslint": "^7.5.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"gh-pages": "^3.1.0",
"husky": "^4.2.5",
"jest": "^26.1.0",
"lint-staged": "^10.2.11",
"rimraf": "^3.0.2",
"rollup": "^2.22.1",
"rollup-plugin-eslint": "^7.0.0",
"rollup-plugin-terser": "^6.1.0",
"typescript": "^3.9.7",
"vuepress": "^1.5.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tuateam/tua-api.git"
},
"homepage": "https://tuateam.github.io/tua-api/",
"author": "StEve Young",
"license": "MIT"
}