-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
38 lines (38 loc) · 1.86 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
{
"name": "remote-settings-devtools",
"version": "1.10.0",
"description": "A set of tools for interacting with the Firefox Remote Settings",
"homepage_url": "https://github.com/mozilla-extensions/remote-settings-devtools",
"private": true,
"license": "MPLv2",
"docker-image": "node-lts-latest",
"scripts": {
"build": "npm-run-all clean build:*",
"build:extension": "npx web-ext build -s ./extension/ --overwrite-dest",
"build:finalize": "mv web-ext-artifacts/*.zip web-ext-artifacts/remote-settings-devtools.xpi",
"clean": "npx rimraf web-ext-artifacts",
"cs-check": "prettier -l \"{extension,tests}/**/*.{js,jsx,ts,tsx}\"",
"cs-format": "prettier \"{extension,tests}/**/*.{js,jsx,ts,tsx}\" --write",
"lint": "npm run lint:eslint",
"lint:eslint": "npx eslint --ignore-pattern '!.eslintrc.js' --ignore-pattern '!.prettierrc.js' .eslintrc.js .prettierrc.js extension",
"lint:fix": "npm run lint:eslint -- --fix",
"start:linux": "web-ext run --verbose --source-dir ./extension/ --firefox-binary /usr/bin/firefox-nightly --pref 'extensions.experiments.enabled=true'",
"start:macos": "web-ext run --verbose --source-dir ./extension/ --firefox-binary '/Applications/Firefox Nightly.app/Contents/MacOS/firefox' --pref 'extensions.experiments.enabled=true'",
"tcs:test": "npm-run-all clean build:* && jest --testTimeout=30000",
"tcs:docker": "docker build . -t addon-test:latest && docker run --rm -it addon-test:latest"
},
"devDependencies": {
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-fetch-options": "0.0.5",
"eslint-plugin-html": "8.1.2",
"eslint-plugin-mozilla": "3.7.5",
"eslint-plugin-no-unsanitized": "4.1.2",
"jest": "^29.7.0",
"npm-run-all2": "7.0.1",
"prettier": "3.4.0",
"rimraf": "6.0.1",
"selenium-webdriver": "^4.20.0",
"web-ext": "8.3.0"
}
}