-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
69 lines (69 loc) · 1.94 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
{
"name": "gatsby-mdx",
"version": "0.0.0",
"private": true,
"homepage": "https://github.com/karolis-sh/gatsby-mdx#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/karolis-sh/gatsby-mdx.git"
},
"license": "MIT",
"author": "Karolis Šarapnickis",
"workspaces": [
"packages/*",
"demos/*"
],
"scripts": {
"build": "lerna run build --ignore @demos/*",
"clean": "lerna run clean",
"clean-yarn": "yarn && lerna clean --yes && yarn && yarn clean",
"commit": "npx git-cz",
"format": "run-p format:*",
"format:package-json": "sort-package-json package.json packages/*/package.json",
"format:prettier": "prettier --write '**/*.*'",
"lint": "run-p lint:*",
"lint:js": "eslint .",
"lint:md": "markdownlint-cli2 '**/*.md' '!node_modules' '!**/node_modules' '!**/CHANGELOG.md'",
"purge": "git branch --merged main --no-color | grep -v main | grep -v stable | xargs git branch -d",
"qa": "run-p lint test",
"release": "run-s clean build qa && lerna publish --no-private",
"release-canary": "yarn release --canary --no-private --preid beta",
"test": "lerna run test --ignore @demos/*"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn lint"
}
},
"lint-staged": {
"**/package.json": [
"sort-package-json"
],
"*.js": [
"eslint --fix"
],
"*.{md,json,css,yml}": [
"pretty-quick --staged"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"devDependencies": {
"@k.sh/eslint-config": "^1.13.0",
"babel-eslint": "^10.1.0",
"cz-conventional-changelog": "^3.3.0",
"eslint-plugin-prettier": "^3.1.3",
"husky": "^4.3.0",
"lerna": "^3.22.1",
"lint-staged": "^10.4.0",
"markdownlint-cli2": "^0.0.10",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.4",
"pretty-quick": "^2.0.1",
"sort-package-json": "^1.46.0"
}
}