-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
43 lines (43 loc) · 1.71 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
{
"name": "tabatha",
"version": "0.1.9",
"private": true,
"scripts": {
"serve": "next dev",
"build": "next build",
"start": "next start",
"export": "next export",
"extension": "next build && next export -o extension/html && mv extension/html/_next extension/html/next && cp -R extension/assets extension/html && sed -i '' -e 's/\\/_next/\\/next/g' extension/html/*.html && sed -i '' -e 's/\\/_next/\\/next/g' extension/html/next/static/chunks/*.js",
"dev:chrome": "yarn extension && cp extension/manifest.chrome.json extension/html/manifest.json && web-ext run -t chromium",
"dev:firefox": "yarn extension && cp extension/manifest.firefox.json extension/html/manifest.json && web-ext run",
"dev": "yarn dev:firefox",
"pkg:chrome": "cp extension/manifest.chrome.json extension/html/manifest.json && web-ext build --overwrite-dest -a web-ext-artifacts/chrome",
"pkg:firefox": "cp extension/manifest.firefox.json extension/html/manifest.json && web-ext build --overwrite-dest -a web-ext-artifacts/firefox",
"pkg": "yarn extension && yarn pkg:chrome && yarn pkg:firefox && rm -rf extension/html"
},
"dependencies": {
"lodash.debounce": "^4.0.8",
"next": "^11.1.0",
"react": "17.0.2",
"react-contexify": "^5.0.0",
"react-dom": "17.0.2",
"styled-components": "^5.3.1"
},
"devDependencies": {
"@types/lodash.debounce": "^4.0.6",
"@types/node": "^16.7.5",
"@types/react": "^17.0.19",
"@types/styled-components": "^5.1.13",
"typescript": "^4.4.2",
"web-ext": "^6.3.0"
},
"webExt": {
"sourceDir": "extension/html",
"ignoreFiles": [
"package.json",
"yarn.lock",
"manifest.chrome.json",
"manifest.firefox.json"
]
}
}