-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathpackage.json
More file actions
133 lines (133 loc) · 4.65 KB
/
Copy pathpackage.json
File metadata and controls
133 lines (133 loc) · 4.65 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
{
"name": "@adguard/scriptlets",
"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",
"tgz": "pnpm pack && mv adguard-scriptlets-*.tgz scriptlets.tgz",
"test": "pnpm test:vitest && pnpm test:smoke && pnpm test:qunit",
"test:qunit": "tsx scripts/test.js",
"test:qunit:build": "tsx scripts/test.js --build",
"test:qunit:run": "tsx scripts/test.js --tests-only",
"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"
},
"lint-staged": {
"{src,tests,scripts}/**/*.js": [
"eslint"
],
"**/*.md": [
"markdownlint"
]
},
"author": "AdGuard",
"license": "GPL-3.0",
"engines": {
"pnpm": ">=10.33.4 <11"
},
"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": [],
"overrides": {
"basic-ftp": "5.2.1"
}
},
"dependencies": {
"@adguard/agtree": "4.2.1",
"@types/trusted-types": "2.0.7",
"js-yaml": "3.14.1"
},
"devDependencies": {
"@babel/cli": "7.27.0",
"@babel/core": "7.26.10",
"@babel/eslint-parser": "7.27.0",
"@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.27.0",
"@babel/plugin-transform-runtime": "7.26.10",
"@babel/preset-env": "7.26.9",
"@babel/preset-typescript": "7.27.0",
"@babel/runtime": "7.27.0",
"@rollup/plugin-alias": "5.1.1",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "28.0.3",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "15.3.1",
"@rollup/plugin-replace": "6.0.2",
"@rollup/plugin-terser": "0.4.4",
"@types/js-yaml": "3.12.10",
"@types/node": "22.14.0",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"axios": "1.15.0",
"chalk": "4.1.2",
"commander": "9.5.0",
"crypto-js": "4.2.0",
"dox": "0.9.1",
"eslint": "8.57.1",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "17.1.0",
"eslint-import-resolver-typescript": "3.10.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-import-newlines": "1.4.0",
"eslint-plugin-jsdoc": "50.6.9",
"fs-extra": "10.1.0",
"jsdom": "25.0.1",
"lint-staged": "12.5.0",
"markdownlint": "0.41.1",
"markdownlint-cli": "0.49.1",
"openurl": "1.1.1",
"rimraf": "6.0.1",
"rollup": "4.39.0",
"rollup-plugin-cleanup": "3.2.1",
"rollup-plugin-copy": "3.5.0",
"rollup-plugin-dts": "6.2.1",
"rollup-plugin-generate-html": "0.2.0",
"terser": "5.39.0",
"tsx": "4.19.3",
"typescript": "5.8.2",
"vitest": "2.1.9"
},
"files": [
"dist"
]
}