83 строки
2.8 KiB
JSON
83 строки
2.8 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": "^5.0.0-alpha1"
|
|
},
|
|
"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.7",
|
|
"geckodriver": "^1.9.0",
|
|
"get-firefox": "^2.0.0",
|
|
"jshint": "^2.9.5",
|
|
"karma": "1.7.1",
|
|
"karma-coverage": "1.1.1",
|
|
"karma-coveralls": "1.1.2",
|
|
"karma-firefox-launcher": "1.0.1",
|
|
"karma-mocha": "1.3.0",
|
|
"karma-mocha-reporter": "2.2.4",
|
|
"minimist": "^1.2.0",
|
|
"mocha": "^3.5.3",
|
|
"npm-run-all": "^4.1.1",
|
|
"nsp": "^2.8.1",
|
|
"prettier": "^1.10.2",
|
|
"selenium-webdriver": "^3.5.0",
|
|
"sinon": "4.0.0",
|
|
"sinon-chrome": "2.2.1",
|
|
"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": "bin/bundle-shield-studies-addon-utils.sh",
|
|
"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": "npm run test:func -- --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",
|
|
"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 --verbose",
|
|
"test": "npm-run-all test:*",
|
|
"test:func": "export ADDON_ZIP=./dist/button_icon_preference_-_shield_study_example-2.0.0.zip && export FIREFOX_BINARY=${FIREFOX_BINARY:-nightly} && mocha test/functional/ --bail",
|
|
"test:karma": "NODE_ENV=test karma start",
|
|
"watch": "web-ext run"
|
|
}
|
|
}
|