2022-09-23 23:08:18 +03:00
|
|
|
{
|
|
|
|
"name": "@openwpm/webext-firefox",
|
|
|
|
"description": "OpenWPM Client extension",
|
|
|
|
"author": "OpenWPM Contributors",
|
|
|
|
"scripts-info": {
|
|
|
|
"info": "Display information about the package scripts",
|
|
|
|
"build": "Clean and rebuild the project",
|
|
|
|
"fix": "Try to automatically fix any linting problems",
|
|
|
|
"start": "Start is required for the manual_test.py to run"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-06-26 00:52:31 +03:00
|
|
|
"@babel/cli": "^7.22.5",
|
|
|
|
"@babel/core": "^7.22.5",
|
|
|
|
"@babel/eslint-parser": "^7.22.5",
|
|
|
|
"@babel/preset-env": "^7.22.5",
|
2022-09-23 23:08:18 +03:00
|
|
|
"@types/download": "^8.0.1",
|
2023-06-26 00:52:31 +03:00
|
|
|
"@types/firefox-webext-browser": "^111.0.1",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.59.11",
|
|
|
|
"@typescript-eslint/parser": "^5.59.11",
|
|
|
|
"ajv": "^8.12.0",
|
|
|
|
"body-parser": "^1.20.2",
|
2022-09-23 23:08:18 +03:00
|
|
|
"download": "^8.0.0",
|
2023-06-26 00:52:31 +03:00
|
|
|
"eslint": "^8.43.0",
|
|
|
|
"eslint-config-prettier": "^8.8.0",
|
|
|
|
"eslint-plugin-html": "^7.1.0",
|
|
|
|
"eslint-plugin-import": "^2.27.5",
|
|
|
|
"eslint-plugin-jsdoc": "^46.2.6",
|
2022-09-23 23:08:18 +03:00
|
|
|
"eslint-plugin-json": "^3.1.0",
|
2023-06-26 00:52:31 +03:00
|
|
|
"eslint-plugin-mozilla": "^3.1.0",
|
|
|
|
"eslint-plugin-no-unsanitized": "^4.0.2",
|
|
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
|
|
"eslint-plugin-unicorn": "^47.0.0",
|
2022-09-23 23:08:18 +03:00
|
|
|
"express": "^4.18.1",
|
2023-06-26 00:52:31 +03:00
|
|
|
"prettier": "^2.8.8",
|
2022-09-23 23:08:18 +03:00
|
|
|
"safe-compare": "^1.1.4",
|
2023-06-26 00:52:31 +03:00
|
|
|
"ts-loader": "^9.4.3",
|
|
|
|
"typedoc": "^0.24.8",
|
|
|
|
"typescript": "^5.1.3",
|
|
|
|
"web-ext": "^7.6.2",
|
|
|
|
"webpack": "^5.87.0",
|
|
|
|
"webpack-cli": "^5.1.4"
|
2022-09-23 23:08:18 +03:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=14.0.0"
|
|
|
|
},
|
|
|
|
"homepage": "",
|
|
|
|
"keywords": [
|
|
|
|
"firefox",
|
|
|
|
"openwpm"
|
|
|
|
],
|
|
|
|
"license": "MPL-2.0",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/openwpm/OpenWPM.git"
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"postbuild": "cp dist/openwpm-1.0.zip openwpm.xpi",
|
|
|
|
"lint": "npm run lint:eslint && npm run lint:prettier && npm run lint:web-ext-lint",
|
|
|
|
"lint:eslint": "eslint .",
|
2023-06-26 00:52:31 +03:00
|
|
|
"lint:web-ext-lint": "web-ext lint --privileged",
|
2022-10-14 13:51:59 +03:00
|
|
|
"lint:prettier": "prettier 'src/**/*.ts' --list-different",
|
2022-09-23 23:08:18 +03:00
|
|
|
"info": "npm-scripts-info",
|
|
|
|
"build": "npm run clean && npm run build:main && npm run build:module && npm run build:webpack && npm run build:webext",
|
|
|
|
"build:main": "tsc -p tsconfig.json",
|
|
|
|
"build:module": "tsc -p tsconfig.module.json",
|
|
|
|
"build:webpack": "webpack",
|
|
|
|
"build:webext": "web-ext build",
|
|
|
|
"fix": "npm run fix:prettier && npm run fix:eslint",
|
2022-10-14 13:51:59 +03:00
|
|
|
"fix:prettier": "prettier 'src/**/*.ts' --write",
|
2022-09-23 23:08:18 +03:00
|
|
|
"fix:eslint": "eslint --fix .",
|
|
|
|
"test": "npm run build && npm run test:lint",
|
2022-10-14 13:51:59 +03:00
|
|
|
"test:lint": "eslint . && npm run lint:prettier || exit 0",
|
2022-09-23 23:08:18 +03:00
|
|
|
"watch": "npm run clean && npm run build",
|
2022-10-14 13:51:59 +03:00
|
|
|
"clean": "rm -rf build test",
|
2022-09-23 23:08:18 +03:00
|
|
|
"prepare": "npm run build && npm run test",
|
|
|
|
"start": "web-ext run --no-reload"
|
|
|
|
},
|
|
|
|
"resolutions": {
|
|
|
|
"lodash": "^4.17.21"
|
|
|
|
},
|
|
|
|
"prettier": {
|
|
|
|
"singleQuote": false,
|
|
|
|
"trailingComma": "all"
|
|
|
|
}
|
2023-06-26 00:52:31 +03:00
|
|
|
}
|