72 строки
2.5 KiB
JSON
72 строки
2.5 KiB
JSON
{
|
|
"name": "shield-studies-addon-template",
|
|
"description": "Template Shield Study",
|
|
"version": "2.0.0",
|
|
"author": "Mozilla",
|
|
"bugs": {
|
|
"url": "https://github.com/mozilla/shield-studies-addon-template/issues"
|
|
},
|
|
"dependencies": {
|
|
"shield-studies-addon-utils": "^4.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"doctoc": "^1.3.0",
|
|
"eslint": "^4.7.2",
|
|
"eslint-config-airbnb-base": "^11.2.0",
|
|
"eslint-plugin-import": "^2.5.0",
|
|
"eslint-plugin-json": "^1.2.0",
|
|
"eslint-plugin-mozilla": "^0.4.4",
|
|
"eslint-plugin-no-unsanitized": "^2.0.1",
|
|
"fixpack": "^2.3.1",
|
|
"fs-extra": "^3.0.1",
|
|
"fx-runner": "^1.0.6",
|
|
"geckodriver": "^1.7.1",
|
|
"get-firefox": "^2.0.0",
|
|
"jshint": "^2.9.5",
|
|
"minimist": "^1.2.0",
|
|
"mocha": "^3.4.2",
|
|
"npm-run-all": "^4.1.1",
|
|
"nsp": "^2.8.1",
|
|
"prettier": "^1.10.2",
|
|
"selenium-webdriver": "^3.5.0",
|
|
"web-ext": "^2.4.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.9.0"
|
|
},
|
|
"homepage": "http://github.com/mozilla/shield-studies-addon-template",
|
|
"keywords": [
|
|
"firefox",
|
|
"mozilla",
|
|
"shield-study",
|
|
"template"
|
|
],
|
|
"license": "MPL-2.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/mozilla/shield-studies-addon-template.git"
|
|
},
|
|
"scripts": {
|
|
"build": "web-ext build",
|
|
"bundle-utils": "cp node_modules/shield-studies-addon-utils/dist/StudyUtils.jsm src/privileged/shieldUtils/jsm/StudyUtils.jsm",
|
|
"docformat": "doctoc --title '**Contents**' docs/*.md && prettier '**/*.md' --write",
|
|
"eslint": "eslint . --ext jsm --ext js --ext json",
|
|
"eslint-fix": "npm run eslint -- --fix",
|
|
"format": "prettier '**/*.{css,js,json,jsm,md}' --trailing-comma=all --ignore-path=.eslintignore --write",
|
|
"harness_test": "export ADDON_ZIP=./dist/button_icon_preference_-_shield_study_example-2.0.0.zip && mocha test/functional_tests.js --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_VERBOSE=false web-ext lint",
|
|
"postformat": "npm run eslint-fix",
|
|
"prebuild": "npm run bundle-utils",
|
|
"pretest": "node test/ensure_minimum_node_version.js",
|
|
"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": "export ADDON_ZIP=./dist/button_icon_preference_-_shield_study_example-2.0.0.zip && npm run build && mocha test/functional_tests.js --retry 2",
|
|
"watch": "web-ext run"
|
|
}
|
|
}
|