-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
158 lines (158 loc) · 6.2 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
"name": "javascript-style-guide",
"private": true,
"description": "This project is a code style guide of all basic back- and front end project used at Anolilab.",
"keywords": [
"babel",
"es2015",
"es2018",
"es6",
"anolilab",
"javascript",
"browserslist",
"browserslist-config",
"browsers",
"lint",
"styleguide",
"eslint",
"eslintconfig",
"config",
"es2016",
"es2017",
"es2020",
"css",
"prettier",
"prettier-config",
"semantic-release",
"semantic-release-config",
"changelog",
"publish",
"release",
"npm",
"github",
"git",
"sass",
"scss",
"style",
"stylelint",
"stylelint-config",
"text",
"textlint",
"write-good"
],
"homepage": "https://github.com/anolilab/javascript-style-guide#readme",
"bugs": {
"url": "https://github.com/anolilab/javascript-style-guide/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/anolilab/javascript-style-guide.git"
},
"license": "MIT",
"author": "Daniel Bannert <[email protected]>",
"type": "module",
"workspaces": [
"packages/*"
],
"scripts": {
"audit": "audit-ci --config ./audit-ci.jsonc",
"build:packages": "nx run-many --target=build --parallel --projects=tag:type:package",
"build:packages:prod": "nx run-many --target=build:prod --parallel --projects=tag:type:package",
"clean": "nx run-many --target=clean && rimraf node_modules",
"preinstall": "node verify-node-version.cjs",
"postinstall": "is-ci || husky || exit 0",
"lint:eslint": "eslint -c .eslintrc.js --ext js,cjs,mjs,ts,tsx,json,yaml,yml,md,mdx ./packages",
"lint:eslint:fix": "eslint -c .eslintrc.js --ext js,cjs,mjs,ts,tsx,json,yaml,yml,md,mdx ./packages --fix",
"lint:prettier:root": "prettier --config=.prettierrc.js --check '*.{json,yml,yaml,js,ts}'",
"lint:prettier:root:fix": "prettier --config=.prettierrc.js --write '*.{json,yml,yaml,js,ts}'",
"lint:secrets": "secretlint **/*",
"lint:staged": "lint-staged --verbose --concurrent false --debug",
"lint:styles": "stylelint",
"lint:text": "textlint ./.github/ ./packages/** ./README.md ./UPGRADE.md --parallel --experimental --cache --dry-run",
"lint:text:fix": "textlint ./.github/ ./packages/** ./README.md ./UPGRADE.md --parallel --experimental --fix",
"prettier": "prettier --config=.prettierrc.js --write '**/*.{js,jsx,cjs,tsx,ts,less,md,json}'",
"sort-package-json": "sort-package-json ./packages/**/package.json ./package.json",
"test:all": "nx run-many --target=test:coverage --projects=browserslist-config-anolilab,stylelint-config,eslint-config && pnpm test:stylelint && pnpm test:babel",
"test:browserslist-config-anolilab": "pnpm --filter \"browserslist-config-anolilab\" run test",
"test:coverage:browserslist-config-anolilab": "pnpm --filter \"browserslist-config-anolilab\" run test:coverage",
"test:coverage:lint-staged-config": "pnpm --filter \"lint-staged-config\" run test:coverage",
"test:coverage:stylelint-config": "pnpm --filter \"stylelint-config\" run test:coverage",
"test:eslint-config": "pnpm --filter \"eslint-config\" run test",
"test:lint-staged-config": "pnpm --filter \"lint-staged-config\" run test",
"test:stylelint": "node scripts/isNotWindows || stylelint --formatter verbose --config packages/stylelint-config/index.js ./packages/stylelint-config/__tests__/css/**/*.css",
"test:stylelint-config": "pnpm --filter \"stylelint-config\" run test",
"update:deps": "taze"
},
"dependencies": {
"@anolilab/multi-semantic-release": "^1.1.6",
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@commitlint/core": "^19.6.1",
"@secretlint/secretlint-rule-preset-recommend": "^9.0.0",
"@tsconfig/node16": "^16.1.3",
"@tsconfig/strictest": "^2.0.5",
"@types/node": "18.19.70",
"@vitest/coverage-v8": "^2.1.8",
"audit-ci": "^7.1.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"commitizen": "^4.3.1",
"conventional-changelog-conventionalcommits": "8.0.0",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^9.17.0",
"eslint-plugin-deprecation": "^3.0.0",
"eslint-plugin-editorconfig": "^4.0.3",
"eslint-plugin-mdx": "^3.1.5",
"eslint-plugin-vitest": "^0.5.4",
"eslint-plugin-vitest-globals": "^1.5.0",
"husky": "^9.1.7",
"is-ci": "^4.1.0",
"lint-staged": "^15.3.0",
"nx": "20.3.1",
"postcss": "^8.4.49",
"prettier": "^3.4.2",
"publint": "^0.3.1",
"read-pkg": "^9.0.1",
"rimraf": "^6.0.1",
"secretlint": "9.0.0",
"semantic-release": "^24.2.1",
"sort-package-json": "^2.12.0",
"stylelint": "^16.12.0",
"taze": "^18.1.0",
"textlint": "^14.4.2",
"typescript": "5.7.3",
"vitest": "^2.1.8"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=18.* <=23.*"
},
"pnpm": {
"overrides": {
"cross-spawn@>=7.0.0 <7.0.5": ">=7.0.5",
"nanoid@<3.3.8": ">=3.3.8",
"chrono-node@<2.2.4": ">=2.2.4"
}
},
"anolilab": {
"lint-staged-config": {
"eslint": {
"config": "./.eslintrc.js"
}
},
"eslint-config": {
"plugin": {
"tsdoc": false,
"etc": false
},
"warn_on_unsupported_typescript_version": false,
"info_on_disabling_jsx_react_rule": false,
"info_on_disabling_prettier_conflict_rule": false,
"info_on_disabling_jsonc_sort_keys_rule": false,
"info_on_disabling_etc_no_deprecated": false
}
}
}