-
Notifications
You must be signed in to change notification settings - Fork 202
/
package.json
97 lines (97 loc) · 4.62 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
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "jiffy-reader",
"displayName": "Jiffy reader",
"version": "0.0.1",
"description": "jiffy reader",
"packageManager": "[email protected]",
"scripts": {
"dev": "plasmo dev",
"build": "plasmo build",
"dev:chrome": "cross-env VERSION=0.0.1 VERSION_NAME=\"jiffy-reader-chrome-dev\" NAME=\"jiffy-reader-chrome-dev\" TARGET=chrome SHORTCUT=\"Alt+B\" DEBUG=TRUE plasmo dev --target=chrome-mv3",
"dev:firefox": "cross-env VERSION=0.0.1 VERSION_NAME=\"jiffy-reader-firefox-dev\" NAME=\"jiffy-reader-firefox-dev\" TARGET=firefox SHORTCUT=\"Alt+W\" DEBUG=TRUE plasmo dev --target=firefox-mv2",
"dev:safari": "cross-env VERSION=0.0.1 VERSION_NAME=\"jiffy-reader-safari-dev\" NAME=\"jiffy-reader-safari-dev\" TARGET=safari SHORTCUT=\"Alt+W\" DEBUG=TRUE plasmo dev --target=safari-mv2",
"build:chrome": "cross-env VERSION=0.0.1 VERSION_NAME=\"0.0.0.1-jiffy-reader-chrome-dev-build\" NAME=\"jiffy-reader-chrome-dev\" TARGET=chrome SHORTCUT=\"Alt+B\" DEBUG=FALSE plasmo build --target=chrome-mv3",
"build:firefox": "cross-env VERSION=0.0.1 VERSION_NAME=\"0.0.0.1-jiffy-reader-firefox-dev-build\" NAME=\"jiffy-reader-firefox-dev\" TARGET=firefox SHORTCUT=\"Alt+W\" DEBUG=FALSE plasmo build --target=firefox-mv2",
"build:safari": "cross-env VERSION=0.0.1 VERSION_NAME=\"0.0.0.1-jiffy-reader-safari-dev-build\" NAME=\"jiffy-reader-safari-dev\" TARGET=safari SHORTCUT=\"Alt+W\" DEBUG=FALSE plasmo build --target=safari-mv2",
"gh:build:chrome": "cross-env NAME=\"Jiffy Reader\" DEBUG=FALSE TARGET=chrome SHORTCUT=\"Alt+B\" plasmo build --target=chrome-mv3 && npm run bundle:chrome-opera",
"bundle:chrome-opera": "cd build/chrome-mv3-prod && zip -r ../jiffyReader-chrome ./* && zip -r ../jiffyReader-opera.crx ./*",
"gh:build:firefox": "cross-env NAME=\"Jiffy Reader\" DEBUG=FALSE TARGET=firefox SHORTCUT=\"Alt+W\" plasmo build --target=firefox-mv2 && cd build/firefox-mv2-prod/ && zip -r ../jiffyReader-firefox.xpi ./*",
"gh:build:safari": "cross-env NAME=\"Jiffy Reader\" DEBUG=FALSE TARGET=safari SHORTCUT=\"Alt+W\" plasmo build --target=safari-mv2 && cd build/safari-mv2-prod/ && zip -r ../jiffyReader-safari.xpi ./*",
"gh:build:development": "cross-env DEBUG=FALSE SHORTCUT=\"Alt+B\" plasmo build --target=chrome-mv3 && cross-env DEBUG=FALSE SHORTCUT=\"Alt+W\" TARGET=firefox plasmo build --target=firefox-mv2",
"gh:build:bookmarklet": "node src/Bookmarklet/esbuild.mjs",
"build:ios": "xcrun safari-web-extension-converter --rebuild-project \"Jiffy reader/Jiffy reader.xcodeproj\"",
"build:xcode": "pnpm build:safari && xcrun safari-web-extension-converter --swift --no-open --force --bundle-identifier com.jiffyreader build/safari-mv2-prod",
"build:xcode:all": "pnpm build:xcode && pnpm build:ios",
"dev:xcode": "xcrun safari-web-extension-converter --swift --no-open --force --bundle-identifier com.jiffyreader build/safari-mv2-dev"
},
"dependencies": {
"@plasmohq/prettier-plugin-sort-imports": "^1.1.1",
"@plasmohq/storage": "^0.8.1",
"axios": "^0.27.2",
"cross-env": "^7.0.3",
"esbuild": "^0.14.53",
"esbuild-sass-plugin": "^2.3.1",
"mellowtel": "1.4.2",
"plasmo": "0.70.0",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"@parcel/transformer-sass": "2.6.2",
"@types/chrome": "0.0.193",
"@types/firefox-webext-browser": "^111.0.1",
"@types/node": "18.6.1",
"@types/react": "18.0.15",
"@types/react-dom": "18.0.6",
"console-browserify": "^1.2.0",
"eslint-config-airbnb-base-typescript-prettier": "^4.1.0",
"prettier": "2.7.1",
"process": "^0.11.10",
"typescript": "4.7.4"
},
"manifest": {
"name": "$NAME",
"version_name": "$VERSION_NAME",
"version": "$VERSION",
"description": "A Browser Extension for Faster Reading on ANY website!",
"default_locale": "en",
"permissions": [
"activeTab",
"declarativeNetRequest",
"tabs"
],
"host_permissions": [
"\u003Call_urls\u003E"
],
"commands": {
"toggle-bionic": {
"suggested_key": {
"default": "$SHORTCUT"
},
"description": "Toggle bionic reading mode"
}
},
"web_accessible_resources": [
{
"resources": [
"assets/icon512.png",
"assets/sun-light-solid.svg",
"assets/moon-solid.svg"
],
"matches": [
"<all_urls>"
]
}
]
},
"repository": {
"type": "git",
"url": "https://github.com/ansh/jiffyreader.com"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/ansh/jiffyreader.com/issues"
},
"homepage": "https://github.com/ansh/jiffyreader.com#readme"
}