-
-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 3.1 KB
/
package.json
File metadata and controls
105 lines (105 loc) · 3.1 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
{
"name": "container-proxy",
"version": "0.1.0",
"description": "[Firefox extension] Assign a proxy to a Firefox container [Extension page](https://addons.mozilla.org/en-US/firefox/addon/container-proxy/)",
"scripts": {
"test": "pnpm run test:unit",
"bundle": "web-ext -s dist build --overwrite-dest",
"bundle:src": "V=$(cat src/manifest.json | jq -r .version) && zip -r -X source-artifacts/container-proxy-v${V}.zip src babel.config.js LICENSE package.json package-lock.json README.md tsconfig.json webpack.config.js",
"test:func": "pnpm run build && mocha test/functional/",
"test:unit": "ts-mocha --require ts-node/register test/unit/**/*.test.ts",
"codeStyle:check": "standardx && ts-standard",
"codeStyle:fix": "standardx --fix && ts-standard --fix",
"lint": "addons-linter dist",
"debug": "web-ext run -s dist --verbose --browser-console --keep-profile-changes -p ./tmpProfile --start-url about:debugging --start-url about:addons --pref=intl.locale.requested=en #--pref=intl.locale.matchOS=false",
"ci:test-unit": "pnpm run test:unit",
"ci:test-func": "HEADLESS=true pnpm run test:func",
"ci:style-check": "pnpm run codeStyle:check",
"ci:lint": "pnpm run build && pnpm run lint",
"build": "webpack",
"build:watch": "webpack --watch",
"clean": "rm -rf ./dist"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bekh6ex/firefox-container-proxy.git"
},
"author": "Aleksei Bekh-Ivanov",
"license": "BSD-2-Clause",
"bugs": {
"url": "https://github.com/bekh6ex/firefox-container-proxy/issues"
},
"homepage": "https://addons.mozilla.org/en-US/firefox/addon/container-proxy/",
"devDependencies": {
"@types/chai": "^5.2.3",
"@types/firefox-webext-browser": "^143.0.0",
"@types/mocha": "^10.0.10",
"addons-linter": "^10.0.0",
"chai": "^6.2.2",
"copy-webpack-plugin": "^14.0.0",
"esm": "^3.2.25",
"sinon-chrome": "^3.0.1",
"standardx": "^7.0.0",
"ts-loader": "^9.5.4",
"ts-mocha": "^11.1.0",
"ts-standard": "^12.0.2",
"tsconfig-paths-webpack-plugin": "^4.2.0",
"typescript": "^5.9.3",
"web-ext": "^9.4.0",
"webpack": "^5.105.4",
"webpack-cli": "^7.0.1"
},
"standardx": {
"cache": false,
"parser": "@typescript-eslint/parser",
"env": {
"browser": true,
"mocha": true
},
"globals": [
"browser",
"expect",
"store"
],
"ignore": [
"dist",
"/src/lib/*",
"src/**/*.ts",
"test/**/*.ts"
]
},
"ts-standard": {
"ignore": [
"dist",
"src/**/*.js",
"test/**/*.js",
"src/options/import/FoxyProxyConverter.ts",
"test/unit/options/import/FoxyProxyConverter.test.ts"
],
"cache": false,
"env": {
"browser": true,
"mocha": true
},
"globals": [
"browser",
"expect",
"store"
]
},
"eslintConfig": {
"rules": {
"no-unused-expressions": "error"
},
"overrides": [
{
"files": [
"*.test.js"
],
"rules": {
"no-unused-expressions": "off"
}
}
]
}
}