-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
88 lines (88 loc) · 2.1 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
{
"name": "jest-preset-stylelint",
"version": "7.0.0",
"description": "Jest preset for Stylelint plugins.",
"keywords": [
"stylelint",
"jest",
"jest-preset",
"preset"
],
"repository": "stylelint/jest-preset-stylelint",
"license": "MIT",
"author": "stylelint",
"main": "index.js",
"types": "index.d.ts",
"files": [
"getTestRuleConfigs.js",
"getTestRule.js",
"jest-preset.js",
"jest-setup.js",
"jest-setup-after-env.js",
"index.d.ts"
],
"scripts": {
"format": "prettier . --write",
"lint": "npm-run-all --parallel lint:*",
"lint:formatting": "prettier . --check",
"lint:js": "eslint .",
"lint:md": "remark . --quiet --frail",
"lint:types": "tsc",
"release": "np --no-release-draft",
"pretest": "npm run lint",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"watch": "npm --ignore-scripts test -- --watch",
"prepare": "husky"
},
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{js,json,md,yml}": "prettier --write"
},
"prettier": "@stylelint/prettier-config",
"eslintConfig": {
"extends": [
"stylelint",
"stylelint/jest"
],
"globals": {
"module": true,
"require": true
},
"reportUnusedDisableDirectives": true,
"root": true
},
"remarkConfig": {
"plugins": [
"@stylelint/remark-preset"
]
},
"jest": {
"preset": "./jest-preset.js",
"runner": "jest-light-runner",
"testRegex": ".*\\.test\\.m?js$"
},
"devDependencies": {
"@stylelint/prettier-config": "^3.0.0",
"@stylelint/remark-preset": "^5.1.0",
"@types/jest": "^29.5.12",
"eslint": "^8.57.0",
"eslint-config-stylelint": "^21.0.0",
"eslint-plugin-jest": "^28.5.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-light-runner": "^0.6.0",
"lint-staged": "^15.2.5",
"np": "^10.0.5",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.0",
"remark-cli": "^12.0.1",
"stylelint": "^16.6.1",
"typescript": "^5.4.5"
},
"peerDependencies": {
"jest": "^29.0.2"
},
"engines": {
"node": ">=18.12.0"
}
}