/
package.json
75 lines (75 loc) · 1.35 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
{
"name": "ali-dcdn",
"version": "1.4.1",
"description": "Aliyun DCDN client",
"keywords": [
"ali",
"aliyun",
"dcdn",
"sdk",
"client",
"cdn"
],
"main": "lib",
"dependencies": {
"urllib": "^2.36.1"
},
"devDependencies": {
"husky": "^4.3.0",
"lint-staged": "^10.5.2",
"babel-eslint": "^10.1.0",
"debug": "^4.3.1",
"eslint": "^7.14.0",
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"sinon": "^9.2.1",
"standard-version": "^9.0.0",
"prettier": "^1.16.4"
},
"scripts": {
"build-change-log": "standard-version",
"lint": "eslint . --fix",
"cov": "nyc report --reporter=text-lcov",
"ci": "npm run lint && npm run test && npm run cov",
"test": "nyc mocha -R spec test/*.test.js",
"lint-staged": "lint-staged"
},
"files": [
"lib",
"index.js"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"prettier --write",
"eslint --fix",
"git add"
],
"*.md": [
"prettier --write",
"git add"
]
},
"nyc": {
"include": [
"lib",
"index.js"
],
"reporter": [
"lcov",
"text",
"text-summary"
]
},
"engines": {
"node": ">=10"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ant-ife/ali-dcdn.git"
}
}