File size: 2,454 Bytes
a053984
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "name": "csso",
  "version": "5.0.5",
  "description": "CSS minifier with structural optimisations",
  "author": "Sergey Kryzhanovsky <skryzhanovsky@ya.ru> (https://github.com/afelix)",
  "maintainers": [
    {
      "name": "Roman Dvornov",
      "email": "rdvornov@gmail.com",
      "github-username": "lahmatiy"
    }
  ],
  "repository": "css/csso",
  "license": "MIT",
  "keywords": [
    "css",
    "compress",
    "minifier",
    "minify",
    "optimise",
    "optimisation",
    "csstree"
  ],
  "type": "module",
  "unpkg": "dist/csso.esm.js",
  "jsdelivr": "dist/csso.esm.js",
  "browser": {
    "./cjs/version.cjs": "./dist/version.cjs",
    "./lib/version.js": "./dist/version.js"
  },
  "main": "./cjs/index.cjs",
  "module": "./lib/index.js",
  "exports": {
    ".": {
      "import": "./lib/index.js",
      "require": "./cjs/index.cjs"
    },
    "./syntax": {
      "import": "./lib/syntax.js",
      "require": "./cjs/syntax.cjs"
    },
    "./dist/*": "./dist/*.js",
    "./package.json": "./package.json"
  },
  "scripts": {
    "test": "mocha test --reporter ${REPORTER:-progress}",
    "test:cjs": "mocha cjs-test --reporter ${REPORTER:-progress}",
    "test:dist": "mocha dist/test --reporter ${REPORTER:-progress}",
    "lint": "eslint lib scripts test",
    "lint-and-test": "npm run lint && npm test",
    "build": "npm run bundle && npm run esm-to-cjs",
    "build-and-test": "npm run build && npm run test:dist && npm run test:cjs",
    "bundle": "node scripts/bundle",
    "bundle-and-test": "npm run bundle && npm run test:dist",
    "esm-to-cjs": "node scripts/esm-to-cjs.cjs",
    "esm-to-cjs-and-test": "npm run esm-to-cjs && npm run test:cjs",
    "coverage": "c8 --reporter=lcovonly npm test",
    "prepublishOnly": "npm run lint-and-test && npm run build-and-test",
    "hydrogen": "node --trace-hydrogen --trace-phase=Z --trace-deopt --code-comments --hydrogen-track-positions --redirect-code-traces --redirect-code-traces-to=code.asm --trace_hydrogen_file=code.cfg --print-opt-code bin/csso --stat -o /dev/null"
  },
  "dependencies": {
    "css-tree": "~2.2.0"
  },
  "devDependencies": {
    "c8": "^7.10.0",
    "esbuild": "^0.14.54",
    "eslint": "^7.24.0",
    "mocha": "^9.2.2",
    "rollup": "^2.60.2",
    "source-map-js": "^1.0.1"
  },
  "engines": {
    "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0",
    "npm": ">=7.0.0"
  },
  "files": [
    "dist",
    "!dist/test",
    "cjs",
    "lib"
  ]
}