@newhighsco/postcss-config 3.4.7 → 3.4.11

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 +8 -1
  2. package/package.json +11 -9
package/README.md CHANGED
@@ -7,7 +7,7 @@ New High Score [shareable config](https://github.com/postcss/postcss#plugins) fo
7
7
  Install `@newhighsco/postcss-config`:
8
8
 
9
9
  ```
10
- npm install --save-dev @newhighsco/postcss-config
10
+ yarn add -D @newhighsco/postcss-config postcss
11
11
  ```
12
12
 
13
13
  ## Usage
@@ -18,4 +18,11 @@ New High Score PostCSS rules come bundled in `@newhighsco/postcss-config`. To en
18
18
  module.exports = require('@newhighsco/postcss-config');
19
19
  ```
20
20
 
21
+ ### [PurgeCSS](https://purgecss.com/)
22
+
23
+ ```javascript
24
+ // `postcss.config.js`
25
+ module.exports = require('@newhighsco/postcss-config/purgecss');
26
+ ```
27
+
21
28
  ## [CHANGELOG](CHANGELOG.md)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@newhighsco/postcss-config",
3
3
  "description": "New High Score shareable config for PostCSS",
4
- "version": "3.4.7",
4
+ "version": "3.4.11",
5
5
  "author": "New High Score <hello@newhighsco.re>",
6
6
  "license": "ISC",
7
7
  "repository": {
@@ -17,17 +17,16 @@
17
17
  "purgecss.js"
18
18
  ],
19
19
  "scripts": {
20
- "test": "npm run lint",
20
+ "test": "yarn lint",
21
21
  "lint": "npm-run-all --parallel lint:*",
22
- "lint:js": "eslint --cache --ext .js,.jsx,.json .",
22
+ "lint:js": "eslint --cache --ignore-path .gitignore --ext .js,.jsx,.json .",
23
23
  "format": "npm-run-all --parallel format:*",
24
- "format:js": "npm run lint:js -- --fix"
24
+ "format:js": "yarn lint:js -- --fix"
25
25
  },
26
26
  "dependencies": {
27
27
  "@fullhuman/postcss-purgecss": "4.0.3",
28
28
  "autoprefixer": "10.3.7",
29
- "caniuse-lite": "1.0.30001270",
30
- "postcss": "8.3.9",
29
+ "caniuse-lite": "1.0.30001272",
31
30
  "postcss-flexbugs-fixes": "5.0.2",
32
31
  "postcss-preset-env": "6.7.0"
33
32
  },
@@ -35,15 +34,18 @@
35
34
  "@commitlint/cli": "13.2.1",
36
35
  "@newhighsco/commitlint-config": "1.0.16",
37
36
  "@newhighsco/editor-config": "1.1.2",
38
- "@newhighsco/eslint-config": "2.3.32",
37
+ "@newhighsco/eslint-config": "2.3.36",
39
38
  "@newhighsco/prettier-config": "2.0.14",
40
39
  "@newhighsco/release-config": "1.0.73",
41
- "eslint": "8.0.1",
42
- "husky": "7.0.2",
40
+ "eslint": "8.1.0",
41
+ "husky": "7.0.4",
43
42
  "npm-run-all": "4.1.5",
44
43
  "prettier": "2.4.1",
45
44
  "semantic-release": "18.0.0"
46
45
  },
46
+ "peerDependencies": {
47
+ "postcss": "8.3.11"
48
+ },
47
49
  "commitlint": {
48
50
  "extends": [
49
51
  "@newhighsco"