forked from Debdut/browser-extension
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
77 lines (77 loc) 路 3.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
{
"name": "one-redirect",
"version": "0.0.1",
"description": "support .1 domain for any browser",
"engines": {
"node": ">=16.13.1",
"npm": ">=8.1.2"
},
"scripts": {
"test": "mocha",
"clean": "rm -rf dist",
"prebuild": "npm run clean",
"init:profile": "mkdir -p tmp/profile/chrome tmp/profile/brave tmp/profile/firefox",
"build": "NODE_ENV=production webpack",
"build:chrome": "NODE_ENV=development webpack --config ./webpack/chrome.js",
"build:chromev2": "NODE_ENV=development webpack --config ./webpack/chromev2.js",
"build:firefox": "NODE_ENV=development webpack --config ./webpack/firefox.js",
"build:safari": "NODE_ENV=development webpack --config ./webpack/safari.js && xcrun safari-web-extension-converter dist/safari-prebuild --project-location dist/safari --force --no-open && rm -rf safari-prebuild",
"watch": "NODE_ENV=development webpack -w",
"watch:chrome": "NODE_ENV=development webpack --config ./webpack/chrome.js -w",
"watch:chromev2": "NODE_ENV=development webpack --config ./webpack/chromev2.js -w",
"watch:firefox": "NODE_ENV=development webpack --config ./webpack/firefox.js -w",
"watch:safari": "npm run init:safari && NODE_ENV=development webpack --config ./webpack/safari.js -w",
"reload:chrome": "web-ext --source-dir=dist/chrome run -t chromium --chromium-binary /Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome --start-url example.com --chromium-profile tmp/profile/chrome --profile-create-if-missing --keep-profile-changes",
"reload:brave": "web-ext --source-dir=dist/chrome run -t chromium --chromium-binary /Applications/Brave\\ Browser.app/Contents/MacOS/Brave\\ Browser --start-url example.com --chromium-profile tmp/profile/brave --profile-create-if-missing --keep-profile-changes",
"reload:firefox": "web-ext --source-dir=dist/firefox run --start-url example.com --firefox-profile tmp/profile/firefox --profile-create-if-missing --keep-profile-changes",
"start:chrome": "concurrently npm:watch:chrome npm:reload:chrome",
"start:brave": "concurrently npm:watch:chrome npm:reload:brave",
"start:firefox": "concurrently npm:watch:firefox npm:reload:firefox",
"start": "concurrently npm:watch:chrome npm:reload:brave npm:watch:firefox npm:reload:firefox",
"test-server": "http-server ./test"
},
"author": "Debdut Karmakar <iawaiponly@gmail.com>",
"license": "ISC",
"dependencies": {
"detect-browser": "^5.3.0",
"dexie": "^3.2.2",
"lodash": "^4.17.21",
"rambda": "^7.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rxjs": "^7.5.6"
},
"devDependencies": {
"@babel/cli": "^7.18.10",
"@babel/core": "^7.18.13",
"@babel/plugin-transform-react-jsx": "^7.18.10",
"@babel/preset-env": "^7.18.10",
"@types/chrome": "^0.0.196",
"@types/webextension-polyfill": "^0.9.0",
"autoprefixer": "^10.4.8",
"babel-loader": "^8.2.5",
"concurrently": "^7.3.0",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.1",
"dotenv": "^16.0.2",
"generate-json-from-js-webpack-plugin": "^0.1.1",
"html-webpack-plugin": "^5.5.0",
"http-proxy": "^1.18.1",
"http-server": "^14.1.1",
"postcss-loader": "^7.0.1",
"sass": "^1.54.8",
"sass-loader": "^13.0.2",
"style-loader": "^3.3.1",
"tailwindcss": "^3.1.8",
"terser-webpack-plugin": "^5.3.6",
"ts-loader": "^9.3.1",
"typescript": "^4.8.2",
"web-ext": "^7.2.0",
"webextension-polyfill": "^0.10.0",
"webpack": "^5.74.0",
"webpack-bundle-analyzer": "^4.6.1",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.10.1",
"webpack-merge": "^5.8.0"
}
}