forked from mozilla/shield-studies-addon-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
85 lines (85 loc) · 2.99 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
{
"name": "shield-studies-addon-template",
"description": "Template Shield Study",
"version": "1.8.2",
"author": "Mozilla Mike de Boer <[email protected]>",
"addon": {
"$ABOUT": "use these variables fill the moustache templates",
"id": "[email protected]",
"name": "User search study",
"minVersion": "57.0",
"maxVersion": "*",
"multiprocessCompatible": true,
"hasEmbeddedWebExtension": false,
"chromeResource": "search-nudges",
"creator": "Mike de Boer <[email protected]>",
"description": "This is a study to understand how users interact with search engines in Firefox.",
"bugzilla": "https://bugzilla.mozilla.org/show_bug.cgi?id=1462136",
"iconPath": "icon.png"
},
"bugs": {
"url": "https://github.com/mikedeboer/shield-search-nudges/issues"
},
"dependencies": {
"fsevents": "^1.2.4"
},
"devDependencies": {
"addons-linter": "^1.0.0",
"clipboardy": "^1.1.4",
"doctoc": "^1.3.0",
"eslint": "5.0.1",
"eslint-plugin-json": "1.2.1",
"eslint-plugin-mozilla": "0.15.0",
"eslint-plugin-no-unsanitized": "2.0.2",
"fixpack": "^2.3.1",
"fs-extra": "7.0.0",
"fx-runner": "^1.0.6",
"geckodriver": "^1.7.1",
"get-firefox": "^2.0.0",
"jshint": "^2.9.5",
"minimist": "^1.2.0",
"mocha": "5.2.0",
"moustache": "0.0.2",
"npm-run-all": "^4.1.1",
"nsp": "3.2.1",
"onchange": "4.1.0",
"prettier": "^1.10.2",
"selenium-webdriver": "^3.5.0",
"shield-studies-addon-utils": "^4.1.0"
},
"engines": {
"node": ">=8.9.0"
},
"homepage": "http://github.com/mozilla/shield-studies-addon-template",
"keywords": [
"firefox",
"legacy-addon",
"mozilla",
"shield-study"
],
"license": "MIT",
"main": "index.js",
"repository": {
"type": "git",
"url": "git://github.com/mikedeboer/shield-search-nudges.git"
},
"scripts": {
"build": "bash ./bin/xpi.sh",
"eslint": "eslint . --ext jsm --ext js --ext json",
"eslint-fix": "npm run eslint -- --fix",
"firefox": "export XPI=dist/linked-addon.xpi && npm run build && node run-firefox.js",
"format": "prettier '**/*.{css,js,json,jsm,md}' --trailing-comma=all --ignore-path=.eslintignore --write",
"harness_test": "export XPI=dist/linked-addon.xpi && 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",
"postformat": "npm run eslint-fix",
"prebuild": "bash ./bin/prebuild.sh",
"sign": "echo 'TBD, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1407757'",
"test": "npm-run-all test:*",
"test:functional": "export XPI=dist/linked-addon.xpi && npm run build && mocha test/functional_tests.js --retry 2",
"test:lint": "npm-run-all lint:*",
"watch": "onchange 'addon/**' 'package.json' 'template/**' -e addon/install.rdf -e addon/chrome.manifest -e addon/StudyUtils.jsm -- npm run build -- '{{event}} {{changed}} $(date)'"
}
}