purgecss-from-pug 8.0.0 → 9.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 +1 -1
  2. package/package.json +14 -9
package/README.md CHANGED
@@ -4,7 +4,7 @@ A PurgeCSS extractor for PUG files that automatically generates a list of used C
4
4
 
5
5
  ## Usage
6
6
 
7
- ```
7
+ ```js
8
8
  import { PurgeCSS } from 'purgecss'
9
9
  import { purgeCSSFromPug } from 'purgecss-from-pug'
10
10
  const options = {
package/package.json CHANGED
@@ -1,10 +1,13 @@
1
1
  {
2
2
  "name": "purgecss-from-pug",
3
- "version": "8.0.0",
3
+ "version": "9.0.0",
4
4
  "description": "Pug extractor for PurgeCSS",
5
5
  "author": "Ffloriel",
6
6
  "homepage": "https://github.com/FullHuman/purgecss#readme",
7
7
  "license": "MIT",
8
+ "engines": {
9
+ "node": ">=22.12.0"
10
+ },
8
11
  "main": "lib/purgecss-from-pug.js",
9
12
  "directories": {
10
13
  "lib": "lib",
@@ -17,20 +20,22 @@
17
20
  "type": "git",
18
21
  "url": "git+https://github.com/FullHuman/purgecss.git"
19
22
  },
20
- "scripts": {
21
- "build": "ts-node build.ts",
22
- "test": "jest"
23
- },
24
23
  "bugs": {
25
24
  "url": "https://github.com/FullHuman/purgecss/issues"
26
25
  },
26
+ "dependencies": {
27
+ "pug-lexer": "^5.0.1"
28
+ },
27
29
  "devDependencies": {
28
- "pug-lexer": "^5.0.0",
29
- "pug-parser": "^6.0.0"
30
+ "pug-parser": "^6.0.0",
31
+ "purgecss": "^9.0.0"
30
32
  },
31
33
  "publishConfig": {
32
34
  "access": "public",
33
35
  "registry": "https://registry.npmjs.org/"
34
36
  },
35
- "gitHead": "859266ccb4ea80e0911fa32f1e215397978b3c89"
36
- }
37
+ "scripts": {
38
+ "build": "ts-node build.ts",
39
+ "test": "jest"
40
+ }
41
+ }