-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
79 lines (79 loc) · 2.26 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
{
"name": "shadow-dom-selector",
"version": "5.0.1",
"description": "A very small JavaScript utility to query DOM elements through the Shadow Dom subtrees in a sync or an async way",
"keywords": [
"query-selector",
"dom",
"dom-query",
"dom-selector",
"shadow-dom",
"shadow-root",
"shadow-root-selector",
"shadow-root-query",
"query-selector-all",
"javascript-library",
"library"
],
"main": "dist/index.js",
"module": "dist/esm/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
}
}
},
"files": [
"dist/**/*"
],
"author": "ElChiniNet",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/elchininet/shadow-dom-selector"
},
"scripts": {
"build": "rollup --config rollup.config.js --bundleConfigAsCjs",
"clean": "rm -rf dist .nyc_output coverage || true",
"demo": "rollup --config rollup.test.config.js --bundleConfigAsCjs -w",
"coverage:report": "nyc report --reporter=lcov --reporter=text-summary",
"lint": "eslint \"src/**/*.ts\" \"demo/**/*.ts\" \"tests/**/*.ts\"",
"lint:fix": "pnpm lint --fix",
"test:ts": "tsc --noEmit",
"test:run": "playwright test",
"test:open": "playwright test --ui",
"test:ci": "pnpm clean && pnpm test:run",
"prepare": "pnpm build",
"prepublishOnly": "pnpm lint && pnpm test:ts && pnpm test:ci",
"version": "git add .",
"postversion": "git push && git push --tags"
},
"devDependencies": {
"@playwright/test": "^1.50.1",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@types/eslint": "^9.6.1",
"@types/node": "^22.13.1",
"eslint": "^9.20.0",
"globals": "^15.14.0",
"nyc": "^17.1.0",
"playwright-test-coverage": "^1.2.12",
"rollup": "4.34.6",
"rollup-plugin-istanbul": "^5.0.0",
"rollup-plugin-serve": "^2.0.3",
"rollup-plugin-ts": "^3.4.5",
"tslib": "^2.8.1",
"typescript": "^5.7.3",
"typescript-eslint": "^8.23.0"
},
"dependencies": {
"get-promisable-result": "^1.0.1"
}
}