-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
85 lines (85 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "@humanmade/coding-standards",
"version": "1.1.0",
"private": true,
"description": "Human Made Coding Standards.",
"author": "Human Made",
"license": "GPL-2.0-or-later",
"keywords": [
"scripts",
"eslint",
"stylelint",
"npm-package-json-lint",
"lint",
"linter",
"humanmade"
],
"homepage": "https://github.com/humanmade/coding-standards",
"repository": {
"type": "git",
"url": "git+https://github.com/humanmade/coding-standards.git"
},
"bugs": {
"url": "https://github.com/humanmade/coding-standards/issues"
},
"engines" : {
"npm" : ">=7.0.0",
"node" : ">=16.0.0"
},
"npmpackagejsonlint": {
"extends": "@wordpress/npm-package-json-lint-config",
"rules": {
"description-format": [
"error",
{
"requireCapitalFirstLetter": true,
"requireEndingPeriod": true
}
],
"prefer-no-devDependencies": "warning",
"require-publishConfig": "error",
"require-repository-directory": "error",
"valid-values-author": [
"error",
[
"Human Made"
]
],
"valid-values-publishConfig": [
"error",
[
{
"access": "public"
}
]
]
},
"overrides": [
{
"patterns": [
"./package.json"
],
"rules": {
"require-publishConfig": "off",
"require-repository-directory": "off",
"prefer-no-devDependencies": "off"
}
}
]
},
"devDependencies": {
"@wordpress/npm-package-json-lint-config": "^4.0.5",
"lerna": "^5.5.0",
"npm-package-json-lint": "^5.1.0"
},
"scripts": {
"lint-pkg-json": "npmPkgJsonLint . 'packages/*/package.json'",
"publish:check": "lerna updated",
"publish:dev": "lerna publish --dist-tag next",
"publish:legacy": "lerna publish --dist-tag legacy",
"publish:prod": "lerna publish",
"test": "npm run lint-pkg-json && npm run test:eslint && npm run test:stylelint",
"test:eslint": "cd packages/eslint-config-humanmade && npm test",
"test:stylelint": "cd packages/stylelint-config && npm test"
}
}