-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
125 lines (125 loc) · 3.15 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
{
"name": "stylelint-demo",
"version": "0.0.0",
"private": true,
"description": "Stylelint Demo",
"repository": "stylelint/stylelint-demo",
"license": "MIT",
"type": "module",
"scripts": {
"clean": "node -e \"fs.rmSync('dist', {force: true, recursive: true})\"",
"build": "vite build",
"build:lib": "vite build -c vite.config.lib.ts",
"dev": "vite",
"format": "prettier . --write",
"lint": "npm-run-all --parallel lint:*",
"lint:css": "stylelint src/**/*.css",
"lint:formatting": "prettier . --check",
"lint:js": "eslint",
"lint:md": "remark . --quiet --frail --ignore-path .gitignore",
"lint:types": "tsc",
"prepare": "husky",
"pretest": "npm run lint",
"test": "npm run build"
},
"lint-staged": {
"*.css": "stylelint --cache --fix",
"*.{js,mjs,ts}": "eslint --cache --fix",
"*.{css,js,mjs,ts,json,md,yml}": "prettier --write"
},
"browserslist": [
"defaults"
],
"prettier": "@stylelint/prettier-config",
"remarkConfig": {
"plugins": [
"@stylelint/remark-preset"
]
},
"stylelint": {
"extends": [
"stylelint-config-standard"
],
"plugins": [
"stylelint-order",
"stylelint-use-logical-spec"
],
"rules": {
"declaration-property-value-no-unknown": true,
"declaration-property-unit-allowed-list": {
"/^border$|^border.*(width$|block$|inline$|start$|end$/|radius$)": [
"px"
],
"/^((min|max)-)?(block-size$|inline-size$)/": [
"%",
"ch",
"dvb",
"rem",
"vb"
],
"/^font|^gap/|^inset|^margin|^padding/": [
"rem"
]
},
"font-weight-notation": "numeric",
"liberty/use-logical-spec": "always",
"media-feature-name-unit-allowed-list": {
"/(width|height)$/": [
"em"
]
},
"no-descending-specificity": null,
"order/order": [
[
"custom-properties",
"declarations",
"rules",
"at-rules"
],
{
"severity": "warning"
}
],
"order/properties-alphabetical-order": [
true,
{
"severity": "warning"
}
]
}
},
"dependencies": {
"@webcontainer/api": "^1.5.1",
"ansi-regex": "^6.1.0",
"lz-string": "^1.5.0",
"monaco-editor": "^0.52.0",
"xterm": "^5.3.0",
"xterm-addon-fit": "^0.8.0"
},
"devDependencies": {
"@stylelint/prettier-config": "^3.0.0",
"@stylelint/remark-preset": "^5.1.1",
"@types/chokidar": "^2.1.7",
"@types/eslint__js": "^8.42.3",
"@types/lz-string": "^1.5.0",
"@types/node": "^22.10.1",
"eslint": "^9.16.0",
"eslint-config-stylelint": "^23.0.0",
"globals": "^15.13.0",
"husky": "^9.1.7",
"lint-staged": "^15.2.10",
"npm-run-all": "^4.1.5",
"prettier": "^3.4.1",
"remark-cli": "^12.0.1",
"stylelint": "^16.11.0",
"stylelint-config-standard": "^36.0.1",
"stylelint-order": "^6.0.4",
"stylelint-use-logical-spec": "^5.0.1",
"typescript": "^5.7.2",
"typescript-eslint": "^8.16.0",
"vite": "^6.0.2"
},
"engines": {
"node": "22"
}
}