-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
85 lines (85 loc) · 3.74 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
{
"name": "superkeys",
"displayName": "SuperKeys",
"description": "_THIS EXTENSION IS IN ALPHA_ Superkeys allow users to add short keys for websites and make search query in those sites.",
"version": "1.0.3-alpha.0",
"private": true,
"scripts": {
"start": "npm run dev:firefox",
"dev:chrome": "run-p chrome:*",
"dev:firefox": "run-p firefox:*",
"chrome:prepare": "esno scripts/prepare.ts build --watch",
"chrome:watch": "vite build --watch",
"chrome:preview": "vite preview",
"chrome:build": "tsup src/background src/content --format iife --out-dir extension/dist --no-splitting",
"chrome:open": "npm run wait && web-ext run -t chromium --start-url \"https://stackoverflow.com\" --source-dir ./extension/",
"firefox:prepare": "esno scripts/prepare.ts build --firefox --watch",
"firefox:web": "vite build --watch",
"firefox:preview": "vite preview",
"firefox:build": "tsup src/background src/content --format iife --out-dir extension/dist --no-splitting",
"firefox:open": "npm run wait && web-ext run --start-url \"about:debugging#/runtime/this-firefox\" --source-dir ./extension/ --browser-console --no-reload",
"build:chrome": "run-s clear build:web build:prepare build:js",
"build:firefox": "run-s clear build:web 'build:prepare -- --firefox' build:js",
"build:prepare": "esno scripts/prepare.ts build",
"build:web": "vite build",
"build:js": "tsup src/background src/content --format iife --out-dir extension/dist --no-splitting",
"clear": "rimraf extension/dist extension/manifest.json",
"wait": "wait-on http://localhost:4173/options/index.html",
"prod:command:divider::": "echo '@========> 🚀 PROD COMMANDS <========@'",
"prod:prepare": "mkdir -p releases/$npm_package_version",
"prod:chrome": "run-s build:chrome prod:prepare && cd extension && web-ext build --overwrite-dest --artifacts-dir=../releases/$npm_package_version && npm run post:prod:chrome",
"prod:firefox": "run-s build:firefox prod:prepare && cd extension && web-ext build --overwrite-dest --artifacts-dir=../releases/$npm_package_version && npm run post:prod:firefox",
"post:prod:chrome": "cd releases/$npm_package_version && mv superkeys-* superkeys.chrome.$npm_package_version.zip",
"post:prod:firefox": "cd releases/$npm_package_version && mv superkeys-* superkeys.firefox.$npm_package_version.zip",
"release": "release-it",
"release:alpha": "release-it patch --preRelease=alpha",
"release:beta": "release-it patch --preRelease=beta",
"prod": "run-s prod:chrome prod:firefox",
"lint": "eslint . --color",
"lint-staged": "lint-staged --allow-empty --config lint-staged.js",
"prettier": "prettier . -w"
},
"devDependencies": {
"@iconify/react": "^3.2.2",
"@preact/preset-vite": "^2.1.0",
"@types/chrome": "^0.0.191",
"@types/fs-extra": "^9.0.12",
"@types/node": "^16.4.1",
"@types/webextension-polyfill": "^0.9.0",
"@typescript-eslint/eslint-plugin": "^5.30.3",
"@typescript-eslint/parser": "^5.30.3",
"autoprefixer": "^10.4.7",
"chokidar": "^3.5.2",
"cross-env": "^7.0.3",
"eslint": "^8.19.0",
"eslint-plugin-react": "^7.30.1",
"esno": "^0.8.0",
"fs-extra": "^10.0.0",
"husky": "^8.0.1",
"kolorist": "^1.5.0",
"lint-staged": "^13.0.3",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.14",
"preact": "^10.5.14",
"prettier": "^2.7.1",
"release-it": "^15.1.1",
"rimraf": "^3.0.2",
"tailwindcss": "^3.1.2",
"tsc-files": "^1.1.3",
"tsup": "^4.12.5",
"typescript": "^4.3.5",
"vite": "^2.4.3",
"wait-on": "^6.0.1",
"web-ext": "^7.0.0",
"webext-bridge": "^4.0.0",
"webextension-polyfill": "^0.9.0",
"webextension-polyfill-ts": "^0.26.0"
},
"dependencies": {
"daisyui": "^2.15.3",
"fuse.js": "^6.6.2",
"react-drag-drop-files": "^2.3.7",
"react-hook-form": "^7.32.0",
"react-simple-flex-grid": "^1.3.21"
}
}