forked from empathyco/x
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
40 lines (40 loc) · 1.32 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
{
"name": "x",
"license": "Apache-2.0",
"scripts": {
"postinstall": "lerna bootstrap --hoist && npm run build",
"postci": "lerna bootstrap --hoist --ci && npm run build",
"build": "lerna run build",
"lint": "eslint packages --ext .ts,.tsx,.vue --quiet",
"lint:fix": "eslint packages --ext .ts,.tsx,.vue --fix",
"test": "lerna run test --parallel",
"serve": "lerna run serve --parallel",
"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": "~4.6.0",
"cross-env": "~7.0.3",
"eslint": "~8.14.0",
"husky": "~7.0.2",
"lerna": "~4.0.0",
"lint-staged": "~11.1.2",
"prettier": "~2.3.2"
},
"engines": {
"node": "16",
"npm": ">=7"
},
"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"
}
}