1 | {
|
2 | "name": "css-select",
|
3 | "version": "4.2.1",
|
4 | "description": "a CSS selector compiler/engine",
|
5 | "author": "Felix Boehm <me@feedic.com>",
|
6 | "funding": {
|
7 | "url": "https://github.com/sponsors/fb55"
|
8 | },
|
9 | "keywords": [
|
10 | "css",
|
11 | "selector",
|
12 | "sizzle"
|
13 | ],
|
14 | "repository": {
|
15 | "type": "git",
|
16 | "url": "git://github.com/fb55/css-select.git"
|
17 | },
|
18 | "main": "lib/index.js",
|
19 | "types": "lib/index.d.ts",
|
20 | "files": [
|
21 | "lib"
|
22 | ],
|
23 | "dependencies": {
|
24 | "boolbase": "^1.0.0",
|
25 | "css-what": "^5.1.0",
|
26 | "domhandler": "^4.3.0",
|
27 | "domutils": "^2.8.0",
|
28 | "nth-check": "^2.0.1"
|
29 | },
|
30 | "devDependencies": {
|
31 | "@types/boolbase": "^1.0.1",
|
32 | "@types/jest": "^27.0.3",
|
33 | "@types/node": "^17.0.4",
|
34 | "@typescript-eslint/eslint-plugin": "^5.8.0",
|
35 | "@typescript-eslint/parser": "^5.8.0",
|
36 | "cheerio-soupselect": "^0.1.1",
|
37 | "eslint": "^8.5.0",
|
38 | "eslint-config-prettier": "^8.1.0",
|
39 | "htmlparser2": "^7.2.0",
|
40 | "jest": "^27.4.5",
|
41 | "prettier": "^2.5.1",
|
42 | "ts-jest": "^27.1.2",
|
43 | "typescript": "^4.5.4"
|
44 | },
|
45 | "scripts": {
|
46 | "test": "npm run test:jest && npm run lint",
|
47 | "test:jest": "jest",
|
48 | "lint": "npm run lint:es && npm run lint:prettier",
|
49 | "lint:es": "eslint src",
|
50 | "lint:prettier": "npm run prettier -- --check",
|
51 | "format": "npm run format:es && npm run format:prettier",
|
52 | "format:es": "npm run lint:es -- --fix",
|
53 | "format:prettier": "npm run prettier -- --write",
|
54 | "prettier": "prettier '**/*.{ts,md,json,yml}'",
|
55 | "build": "tsc",
|
56 | "prepare": "npm run build"
|
57 | },
|
58 | "license": "BSD-2-Clause",
|
59 | "prettier": {
|
60 | "tabWidth": 4,
|
61 | "proseWrap": "always"
|
62 | },
|
63 | "jest": {
|
64 | "preset": "ts-jest",
|
65 | "testEnvironment": "node",
|
66 | "testMatch": [
|
67 | "<rootDir>/test/*.ts"
|
68 | ]
|
69 | }
|
70 | }
|