-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
98 lines (98 loc) · 2.29 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
{
"name": "@bingtsingw/mrm-preset",
"version": "0.11.1",
"description": "Common tasks for Mrm",
"keywords": [
"mrm",
"mrm-task",
"mrm-preset"
],
"license": "MIT",
"author": {
"name": "bingtsingw",
"url": "https://github.com/bingtsingw"
},
"main": "config.json",
"scripts": {
"commit": "cz",
"format": "prettier . --check",
"format:fix": "prettier . --write",
"lint:js": "eslint . --cache --ext .js,.jsx,.ts,.tsx",
"lint:js:fix": "eslint . --cache --ext .js,.jsx,.ts,.tsx --fix",
"mrm": "mrm --preset=@bingtsingw/mrm-preset",
"prepare": "if [ -d './node_modules/husky' ]; then husky install; fi",
"release": "release-it"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"**/*.{js,ts,html,css,md,json}": "prettier --check",
"**/*.{js,jsx,ts,tsx,html,css,md,json}": "prettier --check",
"**/*.{js,jsx,ts,tsx}": "eslint"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"prettier": {
"plugins": [
"prettier-plugin-packagejson"
],
"printWidth": 120,
"proseWrap": "never",
"singleQuote": true,
"trailingComma": "all"
},
"eslintConfig": {
"extends": [
"alloy"
],
"overrides": [
{
"files": [
"*.config.js"
],
"rules": {
"@typescript-eslint/no-require-imports": "off",
"import/no-commonjs": "off"
}
}
]
},
"eslintIgnore": [
"dist",
"build",
"out"
],
"dependencies": {
"execa": "^8.0.1",
"git-user-name": "^2.0.0",
"mrm-core": "^7.1.22"
},
"devDependencies": {
"@babel/core": "^7.23.7",
"@babel/eslint-parser": "^7.23.3",
"@bingtsingw/mrm-preset": "workspace:^",
"@commitlint/cli": "^18.4.4",
"@commitlint/config-conventional": "^18.4.4",
"@release-it/conventional-changelog": "^8.0.1",
"@types/node": "^20.11.1",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.56.0",
"eslint-config-alloy": "^5.1.2",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"mrm": "^4.1.22",
"prettier": "^3.2.2",
"prettier-plugin-packagejson": "^2.4.9",
"release-it": "^17.0.1"
},
"publishConfig": {
"access": "public"
}
}