This repository has been archived by the owner on Feb 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 122
/
package.json
115 lines (115 loc) · 6 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "firefox-voice",
"id": "[email protected]",
"description": "This is a WebExtension that allows the browser to be voice-controlled.",
"private": true,
"version": "0.25.0",
"engines": {
"node": ">=12.0.0"
},
"author": {
"name": "Mozilla Emerging Technologies",
"url": "https://github.com/mozilla/firefox-voice"
},
"bugs": {
"url": "https://github.com/mozilla/firefox-voice/issues"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.6",
"@babel/node": "^7.8.7",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-transform-modules-commonjs": "^7.9.6",
"@babel/plugin-transform-react-jsx": "^7.9.4",
"@babel/preset-env": "^7.9.6",
"babel-eslint": "^10.1.0",
"babel-jest": "^25.5.1",
"concurrently": "^5.2.0",
"ejs": "^2.7.4",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-class-property": "^1.1.0",
"eslint-plugin-fetch-options": "0.0.5",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-mozilla": "^1.3.0",
"eslint-plugin-no-unsanitized": "^3.1.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^2.5.1",
"fake-indexeddb": "^3.0.0",
"geckodriver": "^1.19.1",
"glob": "^7.1.6",
"htmllint-cli": "0.0.7",
"jest": "^25.5.3",
"markdown-it": "^10.0.0",
"nodemon": "^2.0.3",
"npm-run-all": "^4.1.3",
"prettier": "1.18.2",
"prettier-linter-helpers": "^1.0.0",
"rollup": "^2.21.0",
"selenium-webdriver": "^4.0.0-alpha.7",
"semver": "^7.3.2",
"stylelint": "^10.1.0",
"stylelint-config-prettier": "^5.3.0",
"stylelint-config-standard": "^18.3.0",
"stylelint-prettier": "^1.1.2",
"tmp": "^0.2.1",
"toml": "^3.0.0",
"web-ext": "^4.2.0"
},
"dependencies": {
"@sentry/browser": "^5.15.5",
"@tensorflow/tfjs": "^2.0.0",
"browserify": "^16.5.1",
"chrono-node": "^1.4.6",
"freeze-dry": "^0.2.4",
"fuse.js": "^3.6.1",
"jquery": "^3.5.1",
"lottie-web": "^5.6.8",
"react": "^16.13.1",
"react-dom": "^16.13.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": "concurrently --kill-others --success first --names watch,browser 'npm run watch' 'npm run start-and-build'",
"start-and-build": "env NO_SENTRY=1 IN_DEVELOPMENT=1 npm-run-all maybeinstall build:templates build:manifest build:intent-metadata build:jsx build:manifest build:rollup 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 --pref=extensions.experiments.enabled=true",
"start-android": "concurrently --kill-others --success first --names watch,android 'npm run watch' 'npm run start-and-build-android'",
"start-and-build-android": "env NO_SENTRY=1 IN_DEVELOPMENT=1 ANDROID=1 npm-run-all maybeinstall build:templates build:manifest build:intent-metadata start-android-extension",
"start-android-extension": "web-ext run --target=firefox-android --source-dir extension/ --android-device ${ANDROID_DEVICE:-please_set_ANDROID_DEVICE} --firefox-apk ${FIREFOX_APK:-org.mozilla.firefox}",
"test": "npm-run-all build:manifest build:intent-metadata lint test:selenium",
"test-ci": "npm-run-all build:manifest build:intent-metadata lint",
"jest": "npm run build:intent-metadata && jest",
"build": "npm-run-all build:* package-prod",
"build:templates": "mkdir -p extension/views && node bin/fill-templates.js",
"build:deps": "mkdir -p extension/js/vendor/ extension/css/vendor/ ; for file in @tensorflow/tfjs/dist/tf.es2017.js lottie-web/build/player/lottie.min.js fuse.js/dist/fuse.js react/umd/react.production.min.js react-dom/umd/react-dom.production.min.js chrono-node/dist/chrono.min.js jquery/dist/jquery.min.js; do cp node_modules/$file extension/js/vendor/ ; done ; cp \"node_modules/@sentry/browser/build/bundle.es6.min.js\" extension/js/vendor/sentry.js",
"build:manifest": "node bin/substitute-manifest.js",
"build:intent-metadata": "node bin/parse-intent-toml.js",
"build:jsx": "babel --relative --out-dir ../build --only '**/*.jsx' extension/ && node bin/move-changed-build-files.js",
"build:browserify": "browserify --require freeze-dry --standalone freezeDry > extension/js/vendor/freezeDry.js",
"build:rollup": "./bin/rollup-content-scripts.js",
"test:selenium": "web-ext build -s extension --filename firefox-voice-dev.xpi --overwrite-dest && jest",
"watch-rebuild": "npm-run-all build:jsx build:intent-metadata build:manifest build:rollup",
"watch": "nodemon --on-change-only -e toml,jsx,ejs,content.js --exec 'npm run watch-rebuild'",
"maybeinstall": "if [[ package.json -nt node_modules/last_install.txt ]] ; then npm install && touch node_modules/last_install.txt ; fi",
"format": "prettier 'extension/**/*.{js,jsx,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 --rule '{\"no-console\": \"error\"}' --ext 'js,jsx' extension/ bin/",
"once": "web-ext run -s extension",
"package": "npm-run-all build:* && web-ext build -s extension --filename firefox-voice.xpi --overwrite-dest -i '**/*.ejs' -i '**/*.jsx' -i '**/*.toml'",
"package-prod": "VERSION=\"$(node -e 'process.stdout.write(require(\"./package.json\").version, {encoding: \"UTF-8\"})')\" INSTALL_CHANNEL=prod LOG_LEVEL=info npm run package",
"calculate-version": "node bin/calculate-version.js",
"enumerate-phrases": "babel-node --plugins @babel/plugin-transform-modules-commonjs bin/enumerate-phrases.js",
"postinstall": "npm-run-all build:*"
}
}