forked from mozilla-extensions/firefox-voice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 2.76 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
{
"name": "firefox-voice",
"id": "[email protected]",
"description": "This is a WebExtension that allows the browser to be voice-controlled.",
"private": true,
"version": "0.1.0",
"author": {
"name": "Mozilla Emerging Technologies",
"url": "https://github.com/mozilla/firefox-voice"
},
"bugs": {
"url": "https://github.com/mozilla/firefox-voice/issues"
},
"devDependencies": {
"ejs": "^2.6.2",
"eslint": "^6.1.0",
"eslint-plugin-fetch-options": "0.0.5",
"eslint-plugin-mozilla": "^1.3.0",
"eslint-plugin-no-unsanitized": "^3.0.2",
"eslint-plugin-prettier": "^3.1.0",
"htmllint-cli": "0.0.7",
"markdown": "^0.5.0",
"npm-run-all": "^4.1.3",
"prettier": "1.18.2",
"prettier-linter-helpers": "^1.0.0",
"stylelint": "^10.1.0",
"stylelint-config-standard": "^18.3.0",
"web-ext": "^3.1.1"
},
"dependencies": {
"fuse.js": "^3.4.5",
"lottie-web": "^5.5.7",
"moment": "^2.24.0",
"tailwindcss": "^1.0.6",
"webextension-polyfill": "^0.3.1",
"webrtcvad_js": "^1.0.0"
},
"homepage": "https://github.com/mozilla/firefox-voice",
"license": "MPL-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/mozilla/firefox-voice.git"
},
"scripts": {
"start": "npm-run-all maybeinstall build:manifest start-extension",
"start-extension": "mkdir -p ${PROFILE:-Profile} && web-ext run --firefox-profile ${PROFILE:-Profile}/ --keep-profile-changes --firefox \"${FIREFOX:-nightly}\" --source-dir extension/ --browser-console",
"test": "npm-run-all build:manifest lint*",
"build:changelog": "mkdir -p extension/views && md2html CHANGELOG.md > extension/views/CHANGELOG.html",
"build:deps": "mkdir -p extension/js/vendor/ extension/css/vendor/ ; for file in lottie-web/build/player/lottie.min.js webextension-polyfill/dist/browser-polyfill.min.js moment/min/moment.min.js fuse.js/dist/fuse.js ; do cp node_modules/$file extension/js/vendor/ ; done ; for file in tailwindcss/dist/tailwind.min.css ; do cp node_modules/$file extension/css/vendor/ ; done ",
"build:manifest": "node bin/substitute-manifest.js",
"maybeinstall": "if [[ package.json -nt node_modules/last_install.txt ]] ; then npm install && touch node_modules/last_install.txt ; fi",
"format": "prettier 'extension/**/*.{js,css}' --write",
"lint": "npm-run-all lint:*",
"lint:css": "stylelint 'extension/**/*.css'",
"lint:html": "htmllint extension/**/*.html",
"lint:extension": "web-ext lint -s extension --self-hosted",
"lint:js": "eslint extension",
"once": "web-ext run -s extension",
"package": "npm-run-all build:* && web-ext build -s extension --overwrite-dest -i manifest.json.ejs && mv web-ext-artifacts/*.zip addon.xpi",
"postinstall": "npm-run-all build:*"
}
}