mirror of
https://github.com/sern-handler/website
synced 2026-06-14 11:52:21 +00:00
104 lines
2.8 KiB
JSON
104 lines
2.8 KiB
JSON
{
|
|
"name": "css-selector-parser",
|
|
"version": "3.0.5",
|
|
"description": "Powerful and compliant CSS selector parser.",
|
|
"keywords": [
|
|
"css",
|
|
"css selector",
|
|
"css selector parser",
|
|
"pseudo-classes",
|
|
"pseudo-elements",
|
|
"css attributes",
|
|
"css tags",
|
|
"css classes"
|
|
],
|
|
"author": {
|
|
"name": "Marat Dulin",
|
|
"email": "mdevils@yandex.ru"
|
|
},
|
|
"funding": [
|
|
{
|
|
"type": "github",
|
|
"url": "https://github.com/sponsors/mdevils"
|
|
},
|
|
{
|
|
"type": "patreon",
|
|
"url": "https://patreon.com/mdevils"
|
|
}
|
|
],
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^17.6.6",
|
|
"@commitlint/config-conventional": "^17.6.6",
|
|
"@types/jest": "^29.5.2",
|
|
"@typescript-eslint/eslint-plugin": "^7.1.0",
|
|
"@typescript-eslint/parser": "^7.1.0",
|
|
"eslint": "^8.43.0",
|
|
"eslint-config-prettier": "^8.8.0",
|
|
"eslint-plugin-import": "^2.27.5",
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
"husky": "^4.3.8",
|
|
"jest": "^29.5.0",
|
|
"jest-ts-webcompat-resolver": "^1.0.0",
|
|
"prettier": "^3.2.5",
|
|
"standard-version": "^9.5.0",
|
|
"ts-jest": "^29.1.0",
|
|
"ts-node": "^10.9.1",
|
|
"typedoc": "^0.24.8",
|
|
"typedoc-plugin-markdown": "^3.15.3",
|
|
"typescript": "^4.9.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/mdevils/css-selector-parser.git"
|
|
},
|
|
"main": "./dist/cjs/index.js",
|
|
"module": "./dist/mjs/index.js",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/mjs/index.js",
|
|
"require": "./dist/cjs/index.js"
|
|
}
|
|
},
|
|
"typings": "./dist/cjs/index",
|
|
"types": "./dist/cjs/index",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"build": "rm -Rf dist && tsc -p tsconfig.json && tsc -p tsconfig.mjs.json && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json && echo '{\"type\": \"module\"}' > dist/mjs/package.json",
|
|
"build:docs": "rm -Rf docs && typedoc --excludeInternal --excludeExternals --disableSources --plugin typedoc-plugin-markdown --entryDocument ../README.md --out docs src/index.ts && ts-node tools/cleanup-docs.ts",
|
|
"test": "jest test",
|
|
"test:watch": "jest --watch test",
|
|
"test:dist": "TEST_DIST=cjs npm run test",
|
|
"lint": "eslint {src,test,benchmark}/**.ts",
|
|
"lint:fix": "eslint --fix {src,test,benchmark}/**.ts",
|
|
"benchmark": "ts-node benchmark/benchmark.ts",
|
|
"release": "standard-version",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run lint && npm run test",
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
}
|
|
},
|
|
"commitlint": {
|
|
"extends": [
|
|
"@commitlint/config-conventional"
|
|
],
|
|
"rules": {
|
|
"subject-case": [
|
|
2,
|
|
"never",
|
|
[
|
|
"start-case",
|
|
"pascal-case"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
}
|