forked from alastor0325/autoplay-shield-study
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 4.06 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "autoplay-shield-studies-extension",
"description": "Shield Study for blocking autoplay",
"version": "2.0.0",
"author": "Mozilla",
"bugs": {
"url": "https://github.com/alastor0325/autoplay-shield-study/issues"
},
"dependencies": {
"shield-studies-addon-utils": "github:mozilla/shield-studies-addon-utils#release/5.1.0"
},
"devDependencies": {
"babel-core": "^6.26.3",
"babel-plugin-istanbul": "^4.1.6",
"babel-preset-env": "^1.7.0",
"chai": "^4.1.2",
"doctoc": "^1.3.1",
"eslint": "^4.19.1",
"eslint-config-airbnb-base": "^11.2.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-json": "^1.2.1",
"eslint-plugin-mozilla": "^0.4.10",
"eslint-plugin-no-unsanitized": "^2.0.2",
"fixpack": "^2.3.1",
"fs-extra": "^3.0.1",
"fx-runner": "^1.0.9",
"geckodriver": "github:motin/node-geckodriver#avoid-eisgit",
"get-firefox": "^2.2.0",
"istanbul": "^1.1.0-alpha.1",
"jshint": "^2.9.6",
"karma": "^2.0.5",
"karma-babel-preprocessor": "^7.0.0",
"karma-chai": "^0.1.0",
"karma-coverage": "^1.1.2",
"karma-coveralls": "^1.2.1",
"karma-firefox-launcher": "^1.1.0",
"karma-istanbuljs-reporter": "^0.2.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.5",
"minimist": "^1.2.0",
"mocha": "^5.2.0",
"npm-run-all": "^4.1.3",
"nsp": "^3.2.1",
"prettier": "^1.14.2",
"selenium-webdriver": "^3.6.0",
"sinon": "4.0.0",
"sinon-chrome": "2.2.1",
"web-ext": "^2.9.1",
"yamljs": "^0.3.0"
},
"engines": {
"node": ">=8.11.1"
},
"homepage": "https://github.com/alastor0325/autoplay-shield-study/",
"keywords": [
"firefox",
"mozilla",
"shield-study"
],
"license": "MPL-2.0",
"private": true,
"repository": {
"type": "git",
"url": "git://github.com/mozilla/shield-studies-addon-template.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: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 && 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": "npm-run-all -n test:unit test:func",
"test:func": "npm-run-all -pr test:func:*",
"test:func:selenium-mocha": "FIREFOX_BINARY=${FIREFOX_BINARY:-nightly} ADDON_ZIP=./dist/autoplay_shield-study_extension-2.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",
"test:unit": "NODE_ENV=test karma start",
"watch": "web-ext run"
}
}