-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 1.8 KB
/
package.json
File metadata and controls
72 lines (72 loc) · 1.8 KB
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
{
"name": "wxapp-image-loader",
"version": "0.0.1",
"description": "小程序的 image-loader。把静态文件转换为 base64 或者远程 url",
"pre-commit": [
"lint",
"test"
],
"bin": "bin/index.js",
"devDependencies": {
"@types/commander": "^2.12.2",
"@types/node": "~10",
"codecov": "^3.1.0",
"commitizen": "^3.0.4",
"cz-conventional-changelog": "^2.1.0",
"jest": "^23.6.0",
"pre-commit": "^1.2.2",
"prettier": "^1.15.3",
"rimraf": "~2.6.2",
"ts-loader": "^5.3.0",
"ts-node": "^7.0.1",
"tslint": "~5.11.0",
"tslint-config-prettier": "1.15.0",
"tslint-microsoft-contrib": "~5.2.1",
"tsutils": "~3.0.0",
"typescript": "~3.1.0"
},
"scripts": {
"commit": "git-cz",
"clean": "rimraf coverage build tmp dist .nyc_output",
"dev": "yarn clean && tsc --watch",
"build": "yarn clean && tsc --build tsconfig.build.json",
"lint": "tslint -t stylish --project \"tsconfig.json\"",
"test": "nyc jest",
"test:watch": "nyc jest --watch",
"ci": "yarn clean && yarn lint && yarn test && tsc --build tsconfig.build.json",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov"
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"nyc": {
"extension": [
".js",
".jsx",
".ts",
".tsx"
],
"include": [
"src/**/!(*.test.*).[tj]s?(x)"
],
"require": [
"ts-node/register"
]
},
"author": "DiamondYuan",
"license": "Apache-2.0",
"dependencies": {
"@types/jest": "~23.3.2",
"@types/mz": "^0.0.32",
"axios": "^0.18.0",
"coffee": "^5.2.1",
"commander": "^2.19.0",
"mz": "^2.7.0",
"nyc": "^13.1.0",
"ts-jest": "~23.10.2",
"tslib": "~1.9.3",
"zlogger": "^2.0.0"
}
}