aboutsummaryrefslogtreecommitdiffstats
path: root/vanilla/node_modules/@asamuzakjp/dom-selector/package.json
blob: 4e8736fb8f09b65c25fbfa8d48d7cbd90737cc54 (plain) (blame)
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
{
  "name": "@asamuzakjp/dom-selector",
  "description": "A CSS selector engine.",
  "author": "asamuzaK",
  "license": "MIT",
  "homepage": "https://github.com/asamuzaK/domSelector#readme",
  "bugs": {
    "url": "https://github.com/asamuzaK/domSelector/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/asamuzaK/domSelector.git"
  },
  "files": [
    "dist",
    "src",
    "types"
  ],
  "type": "module",
  "exports": {
    "import": {
      "types": "./types/index.d.ts",
      "default": "./src/index.js"
    },
    "require": {
      "types": "./dist/cjs/index.d.cts",
      "default": "./dist/cjs/index.cjs"
    },
    "default": {
      "types": "./dist/cjs/types/index.d.cts",
      "default": "./dist/cjs/index.cjs"
    }
  },
  "types": "types/index.d.ts",
  "dependencies": {
    "@asamuzakjp/nwsapi": "^2.3.9",
    "bidi-js": "^1.0.3",
    "css-tree": "^3.1.0",
    "is-potential-custom-element-name": "^1.0.1",
    "lru-cache": "^11.2.5"
  },
  "devDependencies": {
    "@types/css-tree": "^2.3.11",
    "benchmark": "^2.1.4",
    "c8": "^10.1.3",
    "chai": "^6.2.2",
    "commander": "^14.0.3",
    "esbuild": "^0.27.2",
    "eslint": "^9.39.2",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-jsdoc": "^62.5.0",
    "eslint-plugin-prettier": "^5.5.5",
    "eslint-plugin-regexp": "^3.0.0",
    "eslint-plugin-unicorn": "^62.0.0",
    "globals": "^17.2.0",
    "jsdom": "^27.4.0",
    "mocha": "^11.7.5",
    "neostandard": "^0.12.2",
    "prettier": "^3.8.1",
    "sinon": "^21.0.1",
    "tsup": "^8.5.1",
    "typescript": "^5.9.3",
    "wpt-runner": "^6.1.0"
  },
  "overrides": {
    "jsdom": "$jsdom"
  },
  "scripts": {
    "bench": "node benchmark/bench.js",
    "bench:sizzle": "node benchmark/bench-sizzle.js",
    "build": "npm run tsc && npm run lint && npm test && npm run bundle && npm run test:cjs",
    "bundle": "tsup src/index.js --format=cjs --platform=node --outDir=dist/cjs/ --sourcemap --dts",
    "lint": "eslint --fix .",
    "test": "c8 --reporter=text mocha --parallel --exit test/**/*.test.js",
    "test:cjs": "mocha --exit test/index.test.cjs",
    "test:wpt": "node test/wpt/wpt-runner.js",
    "tsc": "node scripts/index clean --dir=types -i && npx tsc",
    "update:wpt": "git submodule update --init --recursive --remote"
  },
  "version": "6.7.8"
}