@primer/stylelint-config 13.0.0-rc.35215da → 13.0.0-rc.6ef7302
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +9 -4
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/stylelint-config",
|
|
3
|
-
"version": "13.0.0-rc.
|
|
3
|
+
"version": "13.0.0-rc.6ef7302",
|
|
4
4
|
"description": "Sharable stylelint config used by GitHub's CSS",
|
|
5
5
|
"author": "GitHub, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
8
|
+
"main": "./dist/index.cjs",
|
|
8
9
|
"exports": {
|
|
9
10
|
".": {
|
|
10
11
|
"import": "./dist/index.js",
|
|
@@ -32,10 +33,12 @@
|
|
|
32
33
|
"node": ">16.0.0"
|
|
33
34
|
},
|
|
34
35
|
"scripts": {
|
|
36
|
+
"pretest": "npm run build",
|
|
35
37
|
"build": "rollup -c",
|
|
36
38
|
"clean": "rimraf dist",
|
|
37
|
-
"test": "
|
|
38
|
-
"test:
|
|
39
|
+
"test": "npm run test:jest && npm run test:stylelint",
|
|
40
|
+
"test:jest": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest --coverage false",
|
|
41
|
+
"test:stylelint": "stylelint __tests__/__fixtures__/good/",
|
|
39
42
|
"lint": "eslint .",
|
|
40
43
|
"release": "changeset publish"
|
|
41
44
|
},
|
|
@@ -46,6 +49,7 @@
|
|
|
46
49
|
"anymatch": "^3.1.1",
|
|
47
50
|
"globby": "^11.0.1",
|
|
48
51
|
"postcss-scss": "^4.0.2",
|
|
52
|
+
"postcss-styled-syntax": "^0.6.4",
|
|
49
53
|
"postcss-value-parser": "^4.0.2",
|
|
50
54
|
"string.prototype.matchall": "^4.0.2",
|
|
51
55
|
"stylelint": "^16.3.1",
|
|
@@ -88,7 +92,8 @@
|
|
|
88
92
|
],
|
|
89
93
|
"testPathIgnorePatterns": [
|
|
90
94
|
"/node_modules/",
|
|
91
|
-
"__tests__/utils"
|
|
95
|
+
"__tests__/utils",
|
|
96
|
+
"__tests__/__fixtures__"
|
|
92
97
|
]
|
|
93
98
|
}
|
|
94
99
|
}
|