OpenWPM-WebExtension-Experi.../package.json

85 строки
3.1 KiB
JSON
Исходник Постоянная ссылка Обычный вид История

{
"name": "openwpm-webext-experiment",
"description": "OpenWPM WebExtension Experiment",
"version": "0.1.0",
"author": "Mozilla",
"bin": {
"installOpenWPM": "bin/installOpenWPM.js"
},
"bugs": {
"url": "https://github.com/mozilla/OpenWPM-WebExtension-Experiment/issues"
},
"dependencies": {
"commander": "^2.15.1",
"fs-extra": "^6.0.1"
},
"devDependencies": {
"assert": "^1.4.1",
"doctoc": "^1.3.1",
"eslint": "4.19.1",
"eslint-plugin-json": "^1.2.0",
"eslint-plugin-mozilla": "^0.13.0",
"eslint-plugin-no-unsanitized": "^3.0.2",
"fixpack": "^2.3.1",
"fx-runner": "^1.0.9",
"geckodriver": "github:motin/node-geckodriver#avoid-eisgit",
"get-firefox": "^2.1.0",
"mocha": "^5.2.0",
"npm-run-all": "^4.1.2",
"pre-commit": "^1.2.2",
"prettier": "^1.11.0",
"selenium-webdriver": "^3.6.0",
"web-ext": "^2.7.0",
"webext-experiment-utils": "github:motin/webext-experiment-utils#develop",
"webpack": "^2.6.1",
"yamljs": "^0.3.0"
},
"engines": {
"npm": "^6.1.0"
},
"files": [
"bin/installOpenWPM.js",
"dist/api.js",
"dist/schema.json",
"testUtils"
],
"homepage": "https://github.com/mozilla/OpenWPM-WebExtension-Experiment#readme",
"keywords": [
"mozilla",
"openwpm"
],
"license": "MPL-2.0",
"pre-commit": [
"format"
],
"repository": {
"type": "git",
"url": "git://github.com/mozilla/OpenWPM-WebExtension-Experiment.git"
},
"scripts": {
"build": "yaml2json src/schema.yaml -p > dist/schema.json && npm run generate && cd src && webpack",
"eslint": "eslint . --ext js --ext json",
"eslint-fix": "npm run eslint -- --fix",
"format": "prettier '**/*.{css,js,jsm,json,md}' --trailing-comma=all --ignore-path=.eslintignore --write",
"generate": "npm-run-all -s -n generate:verifyWeeSchema generate:documentSchema generate:generateStubApi",
"generate:documentSchema": "documentSchema dist/schema.json > dist/api.md",
"generate:generateStubApi": "generateStubApi dist/schema.json > src/stubApi.js",
"generate:verifyWeeSchema": "verifyWeeSchema dist/schema.json",
"lint": "npm-run-all lint:*",
"lint:eslint": "npm run eslint",
"lint:fixpack": "fixpack",
"postformat": "run-p lint:fixpack eslint-fix",
"postgenerate": "npm run format",
"prepare": "npm run build",
"pretest": "npm run build && npm run test-addon:install-openwpm && npm run test-addon:build",
"pretest-addon": "npm run pretest",
"test": "npm run test:func",
"test-addon": "cd test-addon && web-ext run --no-reload",
"test-addon:build": "cd test-addon && web-ext build",
"test-addon:install-openwpm": "./bin/installOpenWPM.js test-addon/src/privileged",
"test:func": "npm-run-all -pr test:func:*",
"test:func:selenium-mocha": "FIREFOX_BINARY=${FIREFOX_BINARY:-nightly} ADDON_ZIP=test-addon/dist/openwpm_webextension_experiment_test_add-on-1.0.0.zip GECKODRIVER_URL=http://127.0.0.1:4444 mocha test/functional/ --bail --full-trace",
"test:func:start-geckodriver-server": "geckodriver -vv 1> test/results/logs/geckodriver.log 2> test/results/logs/geckodriver.errors.log"
}
}