UNPKG

addons-linter

Version:
112 lines (111 loc) 3.88 kB
{ "name": "addons-linter", "version": "10.3.0", "description": "Mozilla Add-ons Linter", "main": "dist/addons-linter.js", "bin": { "addons-linter": "bin/addons-linter" }, "engines": { "node": ">=20.0.0" }, "browserslist": [ "node >=20.0.0" ], "scripts": { "build": "webpack --bail --stats-error-details true --color --config webpack.config.js", "eslint": "eslint bin/* scripts/* src/* && eslint --config tests/eslint.config.mjs tests/", "test": "jest --runInBand --watch 'tests/.*'", "test-coverage": "jest --runInBand --coverage --watch 'tests/.*'", "test-once": "jest --runInBand", "test-coverage-once": "jest --runInBand --coverage", "test-ci": "npm run test-coverage-once", "test-integration": "jest --runInBand --config=jest.integration.config.js", "test-integration-linter": "npm run test-integration -- tests/integration/addons-linter", "test-integration:production": "node tests/integration/run-as-production-env.js test-integration tests/integration/addons-linter", "lint": "npm run eslint", "prettier": "prettier --write '**'", "prettier-ci": "prettier --list-different '**' || (echo '\n\nThis failure means you did not run `npm run prettier-dev` before committing\n\n' && exit 1)", "prettier-dev": "pretty-quick --branch master", "build-rules": "scripts/build-rules && cp node_modules/github-markdown-css/github-markdown.css docs/github-markdown.css", "webext-test-functional": "scripts/webext-test-functional", "smoke-test-eslint-version-conflicts": "scripts/smoke-test-eslint-version-conflicts", "update-hashes": "scripts/dispensary > src/dispensary/hashes.txt" }, "repository": { "type": "git", "url": "git+https://github.com/mozilla/addons-linter.git" }, "author": "Mozilla Add-ons Team", "license": "MPL-2.0", "bugs": { "url": "https://github.com/mozilla/addons-linter/issues" }, "homepage": "https://github.com/mozilla/addons-linter#readme", "dependencies": { "@fluent/syntax": "0.19.0", "@fregante/relaxed-json": "2.0.0", "@mdn/browser-compat-data": "7.3.9", "addons-moz-compare": "1.3.0", "addons-scanner-utils": "15.0.0", "ajv": "8.18.0", "chalk": "4.1.2", "cheerio": "1.2.0", "columnify": "1.6.0", "common-tags": "1.8.2", "deepmerge": "4.3.1", "eslint": "9.39.4", "eslint-plugin-no-unsanitized": "4.1.5", "eslint-visitor-keys": "5.0.1", "espree": "11.2.0", "esprima": "4.0.1", "fast-json-patch": "3.1.1", "image-size": "2.0.2", "json-merge-patch": "1.0.2", "pino": "10.3.1", "semver": "7.7.4", "source-map-support": "0.5.21", "upath": "2.0.1", "yargs": "17.7.2", "yauzl": "3.2.1" }, "devDependencies": { "@babel/cli": "7.28.6", "@babel/core": "7.29.0", "@babel/eslint-parser": "7.28.6", "@babel/preset-env": "7.29.2", "@babel/register": "7.28.6", "async": "3.2.6", "babel-core": "7.0.0-bridge.0", "babel-jest": "30.3.0", "babel-loader": "10.1.1", "comment-json": "4.6.2", "eslint-config-amo": "8.0.0", "eslint-plugin-amo": "3.0.0", "eslint-plugin-prettier": "5.5.5", "github-markdown-css": "5.9.0", "globals": "17.4.0", "gunzip-maybe": "1.4.2", "hashish": "0.0.4", "jest": "30.3.0", "lodash.clonedeep": "4.5.0", "lodash.ismatchwith": "4.4.0", "markdown-it": "14.1.1", "markdown-it-anchor": "9.2.0", "markdown-it-footnote": "4.0.0", "natural-compare-lite": "1.4.0", "node-fetch": "2.6.11", "prettier": "3.8.1", "pretty-quick": "4.2.2", "raw-loader": "4.0.2", "replace-in-file": "8.4.0", "shelljs": "0.10.0", "sinon": "21.0.3", "tar-fs": "3.1.2", "tmp-promise": "3.0.3", "webpack": "5.105.4", "webpack-cli": "7.0.2", "webpack-node-externals": "3.0.0", "yazl": "2.5.1" } }