forked from AdguardTeam/Scriptlets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
96 lines (96 loc) · 3.56 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
{
"name": "@adguard/scriptlets",
"version": "1.5.25",
"description": "AdGuard's JavaScript library of Scriptlets and Redirect resources",
"scripts": {
"watch": "rollup -c -w",
"bundle:click2load": "rollup -c --environment CLICK2LOAD",
"build": "rollup -c && babel-node redirects.build.js",
"corelibs": "rollup -c --environment CLEAN && babel-node corelibs.build.js && REDIRECTS=CORELIBS babel-node redirects.build.js",
"build-test": "rollup -c --environment UI_TEST",
"test": "yarn build-test && node tests/index.js",
"test-watch": "rollup -c --watch --environment UI_TEST",
"browserstack": "yarn build-test && node browserstack.js",
"gui-test": "yarn build-test && open http://localhost:8585 && node ./tests/server.js",
"lint": "eslint .",
"lint-staged": "lint-staged",
"wiki:build-docs": "node scripts/build-docs.js",
"wiki:check-updates": "node ./scripts/check-sources-updates.js",
"wiki:update": "yarn wiki:check-updates && node ./scripts/build-compatibility-table.js",
"prepare-builds": "yarn corelibs && yarn build && babel-node ./scripts/build-txt.js",
"prepublishOnly": "yarn prepare-builds",
"increment": "yarn version --patch --no-git-tag-version"
},
"lint-staged": {
"*.js": [
"eslint"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && echo \"DO NOT FORGET ABOUT BUILDS UPDATE (yarn prepare-builds)\""
}
},
"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",
"main": "dist/umd/scriptlets.umd.js",
"types": "dist/umd/scriptlets.d.ts",
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/eslint-parser": "^7.16.5",
"@babel/node": "^7.8.7",
"@babel/plugin-proposal-class-properties": "^7.16.5",
"@babel/plugin-proposal-private-methods": "^7.16.5",
"@babel/plugin-transform-regenerator": "^7.7.0",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.9.0",
"@rollup/plugin-babel": "^5.0.4",
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^8.1.0",
"axios": "^0.21.1",
"browserstack-local": "^1.4.9",
"crypto-js": "^4.1.1",
"dotenv": "^8.2.0",
"dox": "^0.9.0",
"eslint": "^7.25.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-compat": "^3.9.0",
"eslint-plugin-import": "^2.22.1",
"husky": "^3.1.0",
"js-reporters": "^2.1.0",
"kleur": "^4.1.4",
"lint-staged": "^12.1.2",
"node-qunit-puppeteer": "^2.0.3",
"qunit": "^2.9.3",
"rollup": "^2.21.0",
"rollup-plugin-cleanup": "^3.1.1",
"rollup-plugin-clear": "^2.0.7",
"rollup-plugin-copy": "^3.1.0",
"rollup-plugin-generate-html": "^0.2.0",
"selenium-webdriver": "^4.1.1",
"sinon": "^7.5.0"
},
"dependencies": {
"@babel/runtime": "^7.7.2",
"js-yaml": "^3.13.1"
},
"files": [
"dist/"
],
"browserslist": [
"last 1 versions",
"chrome >= 55",
"safari >= 10",
"ie >= 9"
]
}