-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
51 lines (51 loc) · 2 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
{
"name": "multitran-extension",
"version": "3.0.1",
"description": "Multitran Browser extension",
"main": "manifest.json",
"type": "module",
"scripts": {
"prepare-files": "tsx scripts/prepare.js",
"js": "tsx scripts/esbuild.config.js",
"tw": "tailwind -i src/styles.css -o extension/dist/styles.css",
"styles:watch": "npm run tw -- -w",
"styles:build": "npm run tw -- -m",
"web-ext:ff": "web-ext run --source-dir extension",
"web-ext:chrome": "web-ext run --target chromium --source-dir extension",
"dev:chrome": "cross-env NODE_ENV=development TARGET=chrome run-p prepare-files js styles:watch web-ext:chrome",
"dev:ff": "cross-env NODE_ENV=development TARGET=firefox run-p prepare-files js styles:watch web-ext:ff",
"build:chrome": "cross-env TARGET=chrome run-s clear prepare-files js styles:build",
"build:ff": "cross-env TARGET=firefox run-s clear prepare-files js styles:build",
"buildzip:chrome": "run-s build:chrome zip",
"buildzip:ff": "run-s build:ff zip",
"clear": "rimraf extension/dist",
"zip": "web-ext build --source-dir extension",
"lint": "eslint ./src",
"lint:fix": "eslint --fix ./src"
},
"author": "Vitaly Yerofeyevsky",
"license": "MPL-2.0",
"dependencies": {
"autoprefixer": "^10.4.20",
"chokidar": "^4.0.3",
"cross-env": "^7.0.3",
"esbuild": "^0.24.2",
"fs-extra": "^11.2.0",
"kolorist": "^1.8.0",
"qrcode": "^1.5.4",
"tailwindcss": "^3.4.17",
"web-ext": "^8.3.0",
"webextension-polyfill": "^0.12.0"
},
"devDependencies": {
"@types/qrcode": "^1.5.5",
"@types/webextension-polyfill": "^0.12.1",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.4.2",
"prettier-plugin-tailwindcss": "^0.6.9",
"rimraf": "^6.0.1",
"tsx": "^4.19.2"
}
}