-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 2.86 KB
/
package.json
File metadata and controls
93 lines (93 loc) · 2.86 KB
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
{
"name": "nimbus-devtools",
"version": "0.4.0",
"description": "nimbus-devtools",
"license": "MPL-2.0",
"private": true,
"repository": "https://github.com/mozilla-extensions/nimbus-devtools",
"targets": {
"background": {
"distDir": "./dist/background",
"publicUrl": "./",
"source": "./src/background/index.js",
"outputFormat": "esmodule"
},
"contentScripts": {
"distDir": "./dist/contentScripts",
"publicUrl": "./",
"source": [
"./src/contentScripts/experimenter.js",
"./src/contentScripts/devtools.js"
],
"outputFormat": "esmodule"
},
"ui": {
"distDir": "./dist/ui",
"publicUrl": "./",
"source": "./src/ui/index.html"
}
},
"browserslist": [
"firefox >= 150",
"unreleased firefox versions"
],
"@parcel/transformer-js": {
"inlineEnvironment": [
"npm_package_version"
]
},
"scripts": {
"build": "npm-run-all clean build:manifest build:parcel build:package",
"build:parcel": "parcel build --no-autoinstall",
"build:manifest": "node ./bin/build-manifest.mjs",
"build:package": "web-ext build -s dist --overwrite-dest --filename nimbus-devtools.xpi",
"clean": "node ./bin/clean.mjs",
"lint": "npm-run-all build lint:*",
"lint:web-ext": "web-ext lint --privileged -s dist",
"lint:eslint": "eslint",
"lint:prettier": "prettier -c .",
"lint:tsc": "tsc",
"fmt": "prettier -w .",
"fix": "npm-run-all fix:eslint fmt",
"fix:eslint": "npm run lint:eslint -- --fix",
"watch": "npm-run-all build --parallel --race watch:manifest watch:parcel watch:web-ext",
"watch:manifest": "node ./bin/build-manifest.mjs --watch",
"watch:parcel": "parcel watch --no-hmr --no-autoinstall",
"watch:web-ext": "web-ext run -s dist -f nightly",
"web-ext": "web-ext"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@microsoft/eslint-plugin-sdl": "^1.1.0",
"@types/react": "^18.3.27",
"@types/react-dom": "^18.3.7",
"@typescript-eslint/parser": "^8.52.0",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^3.10.1",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-mozilla": "^4.3.3",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"globals": "^17.0.0",
"npm-run-all": "^4.1.5",
"parcel": "^2.16.3",
"prettier": "^3.7.4",
"typescript": "^5.9.3",
"typescript-eslint": "^8.52.0",
"watcher": "^2.2.2",
"web-ext": "^10.0.0",
"web-ext-types": "^3.2.1"
},
"dependencies": {
"@mozilla/nimbus-schemas": "^2024.3.1",
"bootstrap": "^5.3.3",
"mozjexl": "github:mozilla/mozjexl",
"normalize.css": "^8.0.1",
"react": "^18.3.1",
"react-bootstrap": "^2.10.3",
"react-dom": "^18.3.1",
"react-router": "^6.30.3",
"react-router-dom": "^6.30.3"
}
}