-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
91 lines (91 loc) · 2.04 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
{
"name": "mometa-mat",
"version": "1.0.0",
"description": "mometa 物料定义库",
"author": "余聪 <yucong@yuanfudao.com>",
"scripts": {
"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",
"bootstrap": "npx lerna bootstrap",
"release": "npx lerna publish --conventional-commits -m 'chore(release): publish'"
},
"husky": {
"hooks": {
"pre-commit": "npx lerna toc && git add README.md && pretty-quick --staged",
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
}
},
"sideEffects": false,
"engines": {
"node": ">=10"
},
"files": [
"es",
"types",
"lib"
],
"keywords": [],
"main": "lib",
"types": "types",
"license": "MIT",
"repository": "余聪/mometa-mat",
"module": "es",
"edam": {
"source": "pkg",
"alias": {
"pkg": {
"url": "./packages/__template",
"type": "file",
"config": {
"output": "./packages/"
}
}
}
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest",
"^.+\\.jsx?$": "babel-jest"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"testMatch": [
"**/__test{s,}__/*.(spec|test).{t,j}s{x,}"
]
},
"packagePrefix": "@mometa-mat/",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"devDependencies": {
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@types/jest": "^27.0.3",
"change-case": "^4.1.2",
"commander": "^8.3.0",
"concurrently": "^6.5.1",
"edam-cli": "^3.4.15",
"human-format": "^0.11.0",
"husky": "^4.3.8",
"jest": "^27.4.5",
"lerna-cli": "^5.0.1",
"lerna-command-toc": "^2.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.5.1",
"pretty-quick": "^3.1.3",
"rimraf": "^3.0.2",
"ts-jest": "^27.1.2",
"typescript": "^4.5.4"
}
}