@jgarber/stylelint-config 1.2.0 → 2.0.0

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.
Files changed (2) hide show
  1. package/README.md +4 -1
  2. package/package.json +19 -15
package/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  Shareable [Stylelint](https://stylelint.io) configuration.
4
4
 
5
+ [![npm](https://img.shields.io/npm/v/@jgarber/stylelint-config.svg?logo=npm&style=for-the-badge)](https://www.npmjs.com/package/@jgarber/stylelint-config)
6
+ [![Downloads](https://img.shields.io/npm/dt/@jgarber/stylelint-config.svg?logo=npm&style=for-the-badge)](https://www.npmjs.com/package/@jgarber/stylelint-config)
7
+ [![Build](https://img.shields.io/github/actions/workflow/status/jgarber623/stylelint-config/ci.yml?branch=main&logo=github&style=for-the-badge)](https://github.com/jgarber623/stylelint-config/actions/workflows/ci.yml)
8
+
5
9
  ## Installation
6
10
 
7
11
  ```sh
@@ -45,7 +49,6 @@ In a JavaScript file using [ECMAScript module (ESM)](https://nodejs.org/api/esm.
45
49
 
46
50
  ```js
47
51
  // stylelint.config.mjs
48
-
49
52
  import config from '@jgarber/stylelint-config';
50
53
 
51
54
  export default config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jgarber/stylelint-config",
3
- "version": "1.2.0",
3
+ "version": "2.0.0",
4
4
  "description": "Shareable Stylelint configuration.",
5
5
  "keywords": [
6
6
  "stylelint",
@@ -11,29 +11,33 @@
11
11
  "bugs": "https://github.com/jgarber623/stylelint-config/issues",
12
12
  "license": "MIT",
13
13
  "author": "Jason Garber <jason@sixtwothree.org> (https://sixtwothree.org)",
14
- "main": "index.js",
14
+ "files": [
15
+ "index.js"
16
+ ],
17
+ "exports": {
18
+ "./package.json": "./package.json",
19
+ ".": "./index.js"
20
+ },
15
21
  "repository": "github:jgarber623/stylelint-config",
16
22
  "scripts": {
17
23
  "lint": "eslint .",
18
- "test": "jasmine"
24
+ "test": "ava"
19
25
  },
20
- "engines": {
21
- "node": ">=16.0.0"
22
- },
23
- "devDependencies": {
24
- "@jgarber/eslint-config": "^1.1.0",
25
- "globals": "^13.20.0",
26
- "jasmine": "^5.1.0",
27
- "stylelint": "^15.10.2",
26
+ "dependencies": {
28
27
  "stylelint-config-standard": "^34.0.0",
29
28
  "stylelint-order": "^6.0.3",
30
29
  "stylelint-stylistic": "^0.4.3"
31
30
  },
31
+ "devDependencies": {
32
+ "@jgarber/eslint-config": "^3.0.0",
33
+ "ava": "^5.3.1",
34
+ "stylelint": "^15.10.3"
35
+ },
32
36
  "peerDependencies": {
33
- "stylelint": ">=15.10",
34
- "stylelint-config-standard": ">=34.0",
35
- "stylelint-order": ">=6.0",
36
- "stylelint-stylistic": ">=0.4"
37
+ "stylelint": ">=15.10"
38
+ },
39
+ "engines": {
40
+ "node": ">=18.0.0"
37
41
  },
38
42
  "publishConfig": {
39
43
  "access": "public"