-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
42 lines (42 loc) · 1.33 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
{
"name": "x",
"license": "Apache-2.0",
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "lerna run build",
"postci": "lerna run build",
"build": "lerna run build",
"lint": "lerna run lint -- --quiet --cache --cache-strategy content",
"lint:fix": "lerna run lint -- --fix",
"test": "lerna run test",
"test:unit": "lerna run test:unit",
"serve": "lerna run serve",
"prepare-release:stable": "lerna version --conventional-commits --conventional-graduate --no-git-tag-version --yes",
"release:alpha": "lerna publish --conventional-commits --conventional-prerelease --yes --no-push",
"publish-release": "node scripts/publish-release",
"prepare": "husky install"
},
"devDependencies": {
"@empathyco/eslint-plugin-x": "file:packages/eslint-plugin-x",
"colors": "1.4.0",
"conventional-changelog-conventionalcommits": "~5.0.0",
"cross-env": "~7.0.3",
"eslint": "~8.33.0",
"husky": "~8.0.3",
"lerna": "~6.6.0",
"lint-staged": "~13.2.0",
"prettier": "~2.8.3"
},
"engines": {
"node": ">=18",
"npm": ">=9"
},
"prettier": "@empathyco/eslint-plugin-x/prettier-config",
"lint-staged": {
"*.{ts,tsx,vue}": [
"prettier --write",
"cross-env NODE_ENV=production eslint --fix"
],
"*.{md,js,json}": "prettier --write"
}
}