106 lines
3.1 KiB
JSON
106 lines
3.1 KiB
JSON
{
|
|
"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.7.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.6.1",
|
|
"ts-mocha": "^11.1.0",
|
|
"ts-standard": "^12.0.2",
|
|
"tsconfig-paths-webpack-plugin": "^4.2.0",
|
|
"typescript": "^5.9.3",
|
|
"web-ext": "^10.4.0",
|
|
"webpack": "^5.107.2",
|
|
"webpack-cli": "^7.0.3"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|