-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
89 lines (89 loc) · 2.22 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
{
"name": "@minapp/generator",
"description": "微信官方文档解析器,同时生成解析后的结构化的文件",
"version": "1.2.0",
"engines": {
"node": ">=8.9 <9"
},
"scripts": {
"lint": "tslint src/**/*.ts",
"test": "jest",
"clear": "remove-all dist/",
"postpublish": "sync-taobao",
"generate-api": "node dist/cli/cmd.js api && node dist/cli/cmd.js api -p && git diff gen/**",
"generate-tpl": "node dist/cli/cmd.js tpl && git diff gen/tpl/components.json",
"build": "npm run lint && npm test && npm run clear && tsc",
"watch": "tsc -w"
},
"bin": {
"minapp-gen": "dist/cli/cmd.js"
},
"publishConfig": {
"access": "public"
},
"license": "MIT",
"author": "Mora <qiuzhongleiabc@126.com> (https://github.com/qiu8310)",
"bugs": "https://github.com/wx-minapp/minapp-generator/issues",
"homepage": "https://github.com/wx-minapp/minapp-generator",
"repository": {
"type": "git",
"url": "https://github.com/wx-minapp/minapp-generator"
},
"data": {
"components": "gen/tpl/components.json",
"detailComponents": "gen/tpl/components-with-examples.json",
"wx": "gen/api/wx.d.ts",
"wxp": "gen/api/wxp.d.ts",
"promisable": "gen/api/promisable.json"
},
"jest": {
"testEnvironment": "node",
"roots": [
"src"
],
"collectCoverage": false,
"coverageReporters": [
"text",
"html"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/__tests__/helper/"
],
"coverageDirectory": "./coverage",
"transform": {
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*\\.(test|spec))\\.(ts|tsx)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
]
},
"dependencies": {
"async": "^2.6.1",
"cheerio": "^1.0.0-rc.2",
"debug": "^3.1.0",
"fs-extra": "^5.0.0",
"lodash": "^4.17.10",
"mora-scripts": "1.6.35",
"request": "^2.87.0",
"request-promise": "^4.2.2",
"tslib": "^1.9.3",
"turndown": "^4.0.2"
},
"devDependencies": {
"@types/async": "^2.0.49",
"@types/cheerio": "^0.22.8",
"@types/fs-extra": "^5.0.4",
"@types/jest": "^23.3.1",
"@types/lodash": "^4.14.115",
"@types/request-promise": "^4.1.42",
"jest": "^23.4.2",
"ts-jest": "^23.0.1",
"ts-lint": "^4.5.1",
"typescript": "^2.9.2"
}
}