-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
103 lines (103 loc) · 2.77 KB
/
package.json
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"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": "[email protected]"
},
"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"
]
]
}
}
}