OpenWPM/Extension/package.json

85 строки
2.7 KiB
JSON
Исходник Обычный вид История

{
"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": {
"@babel/cli": "^7.22.15",
"@babel/core": "^7.22.15",
"@babel/eslint-parser": "^7.22.15",
"@babel/preset-env": "^7.22.15",
"@types/download": "^8.0.2",
"@types/firefox-webext-browser": "^111.0.1",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"ajv": "^8.12.0",
"body-parser": "^1.20.2",
"download": "^8.0.0",
"eslint": "^8.48.0",
"eslint-config-prettier": "^8.0.0",
"eslint-plugin-html": "^7.1.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsdoc": "^46.5.1",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-mozilla": "^3.1.0",
"eslint-plugin-no-unsanitized": "^4.0.2",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-unicorn": "^48.0.1",
"express": "^4.18.2",
"prettier": "^3.0.3",
"safe-compare": "^1.1.4",
"ts-loader": "^9.4.4",
"typedoc": "^0.25.1",
"typescript": "^5.2.2",
"web-ext": "^7.6.2",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4"
},
"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 .",
"lint:web-ext-lint": "web-ext lint --privileged",
"lint:prettier": "prettier --list-different .",
"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",
"fix:prettier": "prettier --write .",
"fix:eslint": "eslint --fix .",
"test": "npm run build && npm run test:lint",
"test:lint": "eslint . && npm run lint:prettier || exit 0",
"watch": "npm run clean && npm run build",
"clean": "rm -rf build test",
"prepare": "npm run build && npm run test",
"start": "web-ext run --no-reload"
},
"resolutions": {
"lodash": "^4.17.21"
},
"prettier": {
"singleQuote": false,
"trailingComma": "all"
}
}