You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
1.9 KiB
70 lines
1.9 KiB
{ |
|
"name": "css-select", |
|
"version": "4.2.1", |
|
"description": "a CSS selector compiler/engine", |
|
"author": "Felix Boehm <me@feedic.com>", |
|
"funding": { |
|
"url": "https://github.com/sponsors/fb55" |
|
}, |
|
"keywords": [ |
|
"css", |
|
"selector", |
|
"sizzle" |
|
], |
|
"repository": { |
|
"type": "git", |
|
"url": "git://github.com/fb55/css-select.git" |
|
}, |
|
"main": "lib/index.js", |
|
"types": "lib/index.d.ts", |
|
"files": [ |
|
"lib" |
|
], |
|
"dependencies": { |
|
"boolbase": "^1.0.0", |
|
"css-what": "^5.1.0", |
|
"domhandler": "^4.3.0", |
|
"domutils": "^2.8.0", |
|
"nth-check": "^2.0.1" |
|
}, |
|
"devDependencies": { |
|
"@types/boolbase": "^1.0.1", |
|
"@types/jest": "^27.0.3", |
|
"@types/node": "^17.0.4", |
|
"@typescript-eslint/eslint-plugin": "^5.8.0", |
|
"@typescript-eslint/parser": "^5.8.0", |
|
"cheerio-soupselect": "^0.1.1", |
|
"eslint": "^8.5.0", |
|
"eslint-config-prettier": "^8.1.0", |
|
"htmlparser2": "^7.2.0", |
|
"jest": "^27.4.5", |
|
"prettier": "^2.5.1", |
|
"ts-jest": "^27.1.2", |
|
"typescript": "^4.5.4" |
|
}, |
|
"scripts": { |
|
"test": "npm run test:jest && npm run lint", |
|
"test:jest": "jest", |
|
"lint": "npm run lint:es && npm run lint:prettier", |
|
"lint:es": "eslint src", |
|
"lint:prettier": "npm run prettier -- --check", |
|
"format": "npm run format:es && npm run format:prettier", |
|
"format:es": "npm run lint:es -- --fix", |
|
"format:prettier": "npm run prettier -- --write", |
|
"prettier": "prettier '**/*.{ts,md,json,yml}'", |
|
"build": "tsc", |
|
"prepare": "npm run build" |
|
}, |
|
"license": "BSD-2-Clause", |
|
"prettier": { |
|
"tabWidth": 4, |
|
"proseWrap": "always" |
|
}, |
|
"jest": { |
|
"preset": "ts-jest", |
|
"testEnvironment": "node", |
|
"testMatch": [ |
|
"<rootDir>/test/*.ts" |
|
] |
|
} |
|
}
|
|
|