CookieRestrictionsShield/package.json

78 строки
3.1 KiB
JSON

{
"name": "cookie-restrictions-shield",
"description": "Shield Study for testing Cookie Restrictions",
"version": "1.0.5",
"author": "Mozilla",
"bugs": {
"url": "https://github.com/mozilla/CookieRestrictionsShield/issues"
},
"dependencies": {
"shield-studies-addon-utils": "^5.1.0"
},
"devDependencies": {
"babel-core": "^6.26.3",
"babel-preset-env": "^1.7.0",
"chai": "^4.1.2",
"doctoc": "^1.3.0",
"eslint": "5.5.0",
"eslint-plugin-import": "2.14.0",
"eslint-plugin-json": "1.2.1",
"eslint-plugin-mozilla": "0.16.0",
"eslint-plugin-no-unsanitized": "3.0.2",
"fixpack": "^2.3.1",
"fs-extra": "^3.0.1",
"fx-runner": "^1.0.9",
"geckodriver": "^1.12.2",
"get-firefox": "^2.0.0",
"mocha": "^5.2.0",
"npm-run-all": "^4.1.1",
"nsp": "^3.2.1",
"prettier": "^1.10.2",
"selenium-webdriver": "^3.5.0",
"web-ext": "^2.7.0",
"yamljs": "^0.3.0"
},
"engines": {
"node": ">=8.11.1"
},
"homepage": "https://github.com/mozilla/CookieRestrictionsShield/",
"keywords": [
"firefox",
"mozilla",
"shield-study"
],
"license": "MPL-2.0",
"private": true,
"repository": {
"type": "git",
"url": "git://github.com/mozilla/CookieRestrictionsShield.git"
},
"scripts": {
"build": "web-ext build",
"bundle-utils": "copyStudyUtils src/privileged",
"docformat": "doctoc --title '**Contents**' docs/*.md && prettier '**/*.md' --write",
"eslint": "eslint . --ext jsm,js,json",
"eslint-fix": "npm run eslint -- --fix",
"format": "prettier '**/*.{css,js,json,jsm,md}' --trailing-comma=all --ignore-path=.eslintignore --write",
"generate": "npm-run-all -s -n generate:schema:* generate:docs:* generate:stubApi:* format",
"generate:docs:testingOverrides": "node ./node_modules/shield-studies-addon-utils/weeUtils/documentSchema.js ./src/privileged/testingOverrides/schema.json > ./src/privileged/testingOverrides/api.md",
"generate:schema:testingOverrides": "cd ./src/privileged/testingOverrides && yaml2json schema.yaml -p > schema.json && node ../../../node_modules/shield-studies-addon-utils/weeUtils/verifyWeeSchema.js schema.json",
"generate:stubApi:testingOverrides": "cd ./src/privileged/testingOverrides && node ../../../node_modules/shield-studies-addon-utils/weeUtils/generateStubApi.js ./schema.json > stubApi.js",
"harness_test": "npm run test -- --retry 2 --reporter json",
"lint": "npm-run-all lint:*",
"lint:eslint": "npm run eslint",
"lint:fixpack": "fixpack",
"lint:nsp": "nsp check",
"lint:web-ext-lint": "web-ext lint",
"postformat": "npm run eslint-fix && fixpack",
"prebuild": "npm run bundle-utils",
"prestart": "npm run bundle-utils",
"pretest": "node test/ensure_minimum_node_version.js && npm run build",
"prewatch": "npm run bundle-utils",
"sign": "echo 'TBD, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1407757'",
"start": "web-ext run --no-reload",
"test": "FIREFOX_BINARY=${FIREFOX_BINARY:-Nightly} ADDON_ZIP=./dist/mozilla_cookie_restrictions_user_study-1.0.5.zip mocha test/functional/ --bail",
"watch": "web-ext run"
}
}