-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
36 lines (36 loc) · 1.75 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
{
"name": "mark-my-search",
"displayName": "Mark My Search",
"type": "module",
"scripts": {
"icons-convert": "bash -c 'mkdir -p icons/dist; SIZES=(16 32 48 64 96 128 240 300); for SIZE in ${SIZES[@]}; do npx sharp -i icons/mms.svg -o icons/dist/mms-${SIZE}.png resize $SIZE $SIZE & done; SIZES=(32); for SIZE in ${SIZES[@]}; do npx sharp -i icons/mms-off.svg -o icons/dist/mms-off-${SIZE}.png resize $SIZE $SIZE & done; wait'",
"scripts-build": "rm --recursive dist; tsc --project tsconfig.json",
"prepare-firefox": "ln --force --symbolic platform/firefox/manifest.json manifest.json",
"prepare-chromium": "ln --force --symbolic platform/chromium/manifest.json manifest.json",
"pack-firefox": "rm --force pack/mark_my_search-firefox.zip; npm run scripts-build; npm run prepare-firefox; mkdir --parents pack; zip pack/mark_my_search-firefox.zip * -ri dist/**\\* icons/**\\* pages/**\\* lib/**\\* manifest.json",
"pack-chromium": "rm --force pack/mark_my_search-chromium.zip; npm run scripts-build; npm run prepare-chromium; mkdir --parents pack; zip pack/mark_my_search-chromium.zip * -ri dist/**\\* icons/**\\* pages/**\\* lib/**\\* manifest.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/searchmarkers/mark-my-search.git"
},
"author": {
"name": "ator-dev",
"email": "[email protected]",
"url": "https://github.com/ator-dev"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/searchmarkers/mark-my-search/issues"
},
"homepage": "https://github.com/searchmarkers/mark-my-search#readme",
"devDependencies": {
"@types/chrome": "0.0.299",
"@types/firefox-webext-browser": "120.0.4",
"eslint": "9.18.0",
"globals": "15.14.0",
"sharp-cli": "5.1.0",
"typescript": "5.7.3",
"typescript-eslint": "8.21.0"
}
}