-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathpackage.json
More file actions
140 lines (140 loc) · 4.97 KB
/
package.json
File metadata and controls
140 lines (140 loc) · 4.97 KB
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "@adguard/scriptlets",
"version": "2.2.16",
"description": "AdGuard's JavaScript library of Scriptlets and Redirect resources",
"type": "module",
"scripts": {
"build": "rimraf dist && tsx scripts/build.js",
"postbuild": "tsx scripts/check-corelibs-dist.js",
"test": "pnpm test:vitest && pnpm test:smoke && pnpm test:qunit",
"browserstack": "pnpm test --build && node browserstack.js",
"test:qunit": "tsx scripts/test.js",
"test:vitest": "vitest run",
"test:smoke": "(cd tests/smoke/exports && ./test.sh)",
"lint": "pnpm lint:code && pnpm lint:types && pnpm lint:md && pnpm lint:test-lists",
"lint:code": "eslint --cache .",
"lint:types": "tsc --noEmit",
"lint:md": "markdownlint .",
"lint:test-lists": "tsx scripts/lint-test-lists.ts",
"lint-staged": "lint-staged",
"wiki": "pnpm wiki:build-table && pnpm wiki:build-docs",
"wiki:build-table": "tsx ./scripts/check-sources-updates.js && tsx ./scripts/build-compatibility-table.js",
"wiki:build-docs": "tsx scripts/build-docs.js",
"prepublishOnly": "pnpm build",
"increment": "pnpm version patch --no-git-tag-version"
},
"lint-staged": {
"{src,tests,scripts}/**/*.js": [
"eslint"
],
"**/*.md": [
"markdownlint"
]
},
"author": "AdGuard",
"license": "GPL-3.0",
"repository": {
"type": "git",
"url": "git+https://github.com/AdguardTeam/Scriptlets.git"
},
"bugs": {
"url": "https://github.com/AdguardTeam/Scriptlets/issues"
},
"homepage": "https://github.com/AdguardTeam/Scriptlets#adguard-scriptlets-and-redirect-resources",
"sideEffects": false,
"types": "dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/index.js"
},
"./redirects": {
"types": "./dist/types/redirects/index.d.ts",
"import": "./dist/redirects/index.js"
},
"./converters": {
"types": "./dist/types/converters/index.d.ts",
"import": "./dist/converters/index.js"
},
"./validators": {
"types": "./dist/types/validators/index.d.ts",
"import": "./dist/validators/index.js"
}
},
"pnpm": {
"neverBuiltDependencies": []
},
"dependencies": {
"@adguard/agtree": "^4.0.1",
"@types/trusted-types": "^2.0.7",
"js-yaml": "^3.14.1"
},
"devDependencies": {
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "^7.25.9",
"@babel/node": "^7.26.0",
"@babel/plugin-transform-arrow-functions": "^7.25.9",
"@babel/plugin-transform-function-name": "^7.25.9",
"@babel/plugin-transform-regenerator": "^7.25.9",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@babel/runtime": "^7.26.0",
"@rollup/plugin-alias": "^5.1.1",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-replace": "^6.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@swc/core": "^1.8.0",
"@types/js-yaml": "^3.12.10",
"@types/node": "^22.7.9",
"@typescript-eslint/eslint-plugin": "^5.52.0",
"@typescript-eslint/parser": "^5.62.0",
"axios": "^1.7.7",
"browserstack-local": "^1.4.9",
"chalk": "^4.1.2",
"commander": "^9.2.0",
"cross-env": "^7.0.3",
"crypto-js": "^4.2.0",
"dotenv": "^8.2.0",
"dox": "^0.9.0",
"eslint": "8.57.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-compat": "^6.0.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-import-newlines": "^1.3.1",
"eslint-plugin-jsdoc": "^50.2.2",
"fs-extra": "^10.0.1",
"js-reporters": "^2.1.0",
"jsdom": "^25.0.1",
"kleur": "^4.1.4",
"lint-staged": "^12.1.2",
"markdownlint": "^0.28.2",
"markdownlint-cli": "^0.34.0",
"node-qunit-puppeteer": "^2.2.1",
"openurl": "^1.1.1",
"puppeteer": "24.35.0",
"qunit": "^2.22.0",
"rimraf": "^6.0.1",
"rollup": "^4.28.1",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-generate-html": "^0.2.0",
"selenium-webdriver": "^4.1.1",
"sinon": "^19.0.2",
"terser": "^5.16.1",
"ts-node": "^10.9.2",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"vitest": "^2.1.8"
},
"files": [
"dist"
]
}