UNPKG

2.05 kBJSONView Raw
1{
2 "name": "css-select",
3 "version": "4.1.3",
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.0.0",
26 "domhandler": "^4.2.0",
27 "domutils": "^2.6.0",
28 "nth-check": "^2.0.0"
29 },
30 "devDependencies": {
31 "@types/boolbase": "^1.0.0",
32 "@types/jest": "^26.0.14",
33 "@types/node": "^15.0.2",
34 "@typescript-eslint/eslint-plugin": "^4.1.0",
35 "@typescript-eslint/parser": "^4.1.0",
36 "cheerio-soupselect": "^0.1.1",
37 "coveralls": "^3.0.2",
38 "eslint": "^7.9.0",
39 "eslint-config-prettier": "^8.1.0",
40 "htmlparser2": "^6.0.0",
41 "jest": "^27.0.3",
42 "prettier": "^2.1.2",
43 "ts-jest": "^27.0.1",
44 "typescript": "^4.0.2"
45 },
46 "scripts": {
47 "test": "jest --coverage && npm run lint",
48 "coverage": "cat coverage/lcov.info | coveralls",
49 "lint": "npm run lint:es && npm run lint:prettier",
50 "lint:es": "eslint src",
51 "lint:prettier": "npm run prettier -- --check",
52 "format": "npm run format:es && npm run format:prettier",
53 "format:es": "npm run lint:es -- --fix",
54 "format:prettier": "npm run prettier -- --write",
55 "prettier": "prettier '**/*.{ts,md,json,yml}'",
56 "build": "tsc",
57 "prepare": "npm run build"
58 },
59 "license": "BSD-2-Clause",
60 "prettier": {
61 "tabWidth": 4,
62 "proseWrap": "always"
63 },
64 "jest": {
65 "preset": "ts-jest",
66 "testEnvironment": "node",
67 "testMatch": [
68 "<rootDir>/test/*.ts"
69 ]
70 }
71}