зеркало из https://github.com/openwpm/OpenWPM.git
86 строки
2.7 KiB
JSON
86 строки
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.23.9",
|
|
"@babel/core": "^7.23.9",
|
|
"@babel/eslint-parser": "^7.23.10",
|
|
"@babel/preset-env": "^7.23.9",
|
|
"@types/download": "^8.0.5",
|
|
"@types/firefox-webext-browser": "^120.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
"@typescript-eslint/parser": "^6.21.0",
|
|
"ajv": "^8.12.0",
|
|
"body-parser": "^1.20.2",
|
|
"download": "^8.0.0",
|
|
"eslint": "^8.56.0",
|
|
"eslint-config-prettier": "^8.0.0",
|
|
"eslint-plugin-html": "^7.1.0",
|
|
"eslint-plugin-import": "^2.29.1",
|
|
"eslint-plugin-jsdoc": "^48.0.6",
|
|
"eslint-plugin-json": "^3.1.0",
|
|
"eslint-plugin-mozilla": "^3.3.2",
|
|
"eslint-plugin-no-unsanitized": "^4.0.2",
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
"eslint-plugin-unicorn": "^51.0.1",
|
|
"express": "^4.18.2",
|
|
"prettier": "^3.2.5",
|
|
"safe-compare": "^1.1.4",
|
|
"ts-loader": "^9.5.1",
|
|
"typedoc": "^0.25.7",
|
|
"typescript": "^5.3.3",
|
|
"web-ext": "^7.11.0",
|
|
"webpack": "^5.90.1",
|
|
"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"
|
|
}
|
|
}
|