forked from imcuttle/mometa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
146 lines (146 loc) · 3.71 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"name": "mometa",
"private": true,
"version": "1.0.0",
"description": "面向研发的低代码元编程平台",
"author": "imcuttle <[email protected]>",
"scripts": {
"preinstall": "npx only-allow pnpm",
"start": "pnpm start --filter=@mometa/editor",
"start:app:cr:debug": "pnpm run start:cr:debug --filter=@mometa/app",
"start:app:cr": "pnpm run start:cr --filter=@mometa/app",
"start:app-webpack4:cr": "pnpm run start:cr --filter=@mometa/app-webpack4",
"test": "npx jest",
"test:watch": "npm test -- --watch",
"preversion": "npm test",
"postpublish": "git push --tag origin $(git rev-parse --abbrev-ref HEAD)",
"new": "npx edam",
"release": "pnpm lerna publish"
},
"husky": {
"hooks": {
"pre-commit": "npx lerna toc --heading=\"NPM 包\" && npx markdown-toc README.md -i && git add README.md && pretty-quick --staged",
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
}
},
"sideEffects": false,
"engines": {
"node": ">=10"
},
"files": [
"es",
"types",
"lib"
],
"keywords": [
"imcuttle",
"mometa",
"mometa"
],
"main": "lib",
"types": "types",
"license": "MIT",
"repository": "imcuttle/mometa",
"module": "es",
"edam": {
"alias": {
"pkg": {
"url": "./packages/__template",
"type": "file",
"config": {
"output": "./packages/"
}
},
"editor-component": {
"description": "Editor 组件",
"url": "./packages/editor/__template/component",
"type": "file",
"config": {
"output": "./packages/editor/src/module/render/components"
}
},
"mometa-runtime-component": {
"description": "Mometa Runtime 组件",
"url": "./packages/editor/__template/component",
"type": "file",
"config": {
"output": "./packages/editor/src/mometa/preset/react/runtime/components"
}
}
}
},
"jest": {
"globals": {
"ts-jest": {
"diagnostics": {
"ignoreCodes": [
2304,
2769
]
}
}
},
"transform": {
"^.+\\.tsx?$": "ts-jest",
"^.+\\.jsx?$": "babel-jest"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/es/",
"/lib/"
],
"testMatch": [
"**/__test{s,}__/*.(spec|test).{t,j}s{x,}",
"**/*.test{s,}.{t,j}s{x,}"
],
"moduleNameMapper": {
"@mometa/react-docgen-typescript$": [
"<rootDir>/packages/react-docgen-typescript/src",
"<rootDir>/../react-docgen-typescript/src"
],
"@mometa/react-docgen-typescript/lib/(.*)$": [
"<rootDir>/packages/react-docgen-typescript/src/$1",
"<rootDir>/../react-docgen-typescript/src/$1"
]
}
},
"packagePrefix": "@mometa/",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"devDependencies": {
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@types/jest": "^27.0.3",
"@types/webpack-env": "^1.16.3",
"babel-plugin-import": "^1.13.3",
"change-case": "^4.1.2",
"commander": "^8.3.0",
"concurrently": "^6.4.0",
"conventional-changelog-conventionalcommits": "^4.6.3",
"edam-cli": "^3.4.15",
"human-format": "^0.11.0",
"husky": "^4.3.8",
"jest": "^27.3.1",
"lerna-cli": "^5.0.6",
"lerna-command-toc": "^2.0.0",
"markdown-toc": "^1.2.0",
"npm-run-all": "^4.1.5",
"pkgxo": "^1.0.2",
"prettier": "^2.4.1",
"pretty-quick": "^3.1.2",
"rimraf": "^3.0.2",
"ts-jest": "^27.0.7",
"typescript": "^4.5.2"
}
}