/
package.json
137 lines (137 loc) · 3.27 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
{
"name": "stylelint-io",
"version": "0.0.0",
"private": true,
"description": "Stylelint's website",
"homepage": "https://stylelint.io",
"repository": "https://github.com/stylelint/stylelint.io.git",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/stylelint"
},
"license": "MIT",
"author": "stylelint",
"scripts": {
"build": "npm run gendoc && docusaurus build",
"docusaurus": "docusaurus",
"format": "prettier . --write",
"pregendoc": "rimraf docs",
"gendoc": "node ./scripts/generate-docs.mjs docs",
"lint": "npm-run-all --parallel lint:*",
"lint:css": "stylelint \"**/*.css\" --ignore-path .gitignore ",
"lint:formatting": "prettier . --check",
"lint:js": "eslint . --ignore-path .gitignore --ext .js,.mjs",
"lint:md": "remark . --quiet --frail --ignore-path .gitignore",
"prepare": "husky install",
"start": "npm run gendoc && docusaurus start",
"pretest": "npm run lint",
"test": "npm run build"
},
"lint-staged": {
"*.css": "stylelint --cache --fix",
"*.js": "eslint --cache --fix",
"*.{js,json,md,yml}": "prettier --write"
},
"browserslist": [
"defaults"
],
"prettier": "@stylelint/prettier-config",
"eslintConfig": {
"env": {
"browser": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module"
},
"settings": {
"jest": {
"version": 27
},
"react": {
"version": "17.0.2"
}
},
"extends": [
"stylelint",
"plugin:react/recommended"
],
"rules": {
"require-await": "error",
"node/no-unpublished-import": [
"error",
{
"allowModules": [
"glob",
"remark",
"unist-util-visit"
]
}
]
},
"root": true
},
"remarkConfig": {
"plugins": [
"@stylelint/remark-preset"
]
},
"stylelint": {
"extends": "stylelint-config-standard",
"plugins": [
"stylelint-order"
],
"rules": {
"order/order": [
"custom-properties",
"declarations",
"rules",
"at-rules"
],
"order/properties-alphabetical-order": true,
"property-no-unknown": [
true,
{
"ignoreProperties": [
"composes"
]
}
],
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": [
"global"
]
}
]
}
},
"dependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@docusaurus/core": "^2.0.0-beta.8",
"@docusaurus/preset-classic": "^2.0.0-beta.8",
"@stylelint/prettier-config": "^2.0.0",
"@stylelint/remark-preset": "^3.0.0",
"eslint": "^7.32.0",
"eslint-config-stylelint": "^14.0.0",
"eslint-plugin-react": "^7.26.1",
"glob": "^7.2.0",
"husky": "^7.0.2",
"lint-staged": "^11.2.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.3.9",
"prettier": "^2.4.1",
"remark": "^14.0.1",
"remark-cli": "^10.0.0",
"rimraf": "^3.0.2",
"stylelint": "github:stylelint/stylelint",
"stylelint-config-standard": "^23.0.0",
"stylelint-order": "^5.0.0",
"unist-util-visit": "^4.1.0"
}
}