-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
23 lines (23 loc) · 1.54 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
{
"name": "church-bulk-text",
"version": "2.0.1",
"description": "",
"scripts": {
"build:v2": "npm run v2 && npm run zip",
"build:v3": "npm run v3 && npm run zip",
"dev": "web-ext run --firefox=/Applications/Firefox\\ Developer\\ Edition.app/Contents/MacOS/firefox --firefox-profile=Dev --keep-profile-changes --no-config-discovery",
"postinstall": "cp ./node_modules/webextension-polyfill/dist/browser-polyfill.min.js ./vendor/browser-polyfill.min.js ; rm -rf ./node_modules",
"test": "echo \"Error: no test specified\" && exit 1",
"v2": "cp v2_manifest.json manifest.json",
"v3": "cp v3_manifest.json manifest.json",
"zip": "zip $(node -e \"const m=require('./manifest.json');process.stdout.write(m.name.toLowerCase().replace(/\\s+/g,'-')+'-'+m.version+'-manifest-v'+m.manifest_version.toString())\").zip -r * -x .git screenshots/ screenshots/* v2_manifest.json v3_manifest.json .gitignore .DS_Store .npmrc icons/E248_color.xcf icons/icon-fullsize.png *.zip @",
"icon_48": "convert ./icons/icon-fullsize.png -resize 48x48^ -background none -gravity center -extent 48x48 icons/icon_48.png",
"icon_96": "convert ./icons/icon-fullsize.png -resize 96x96^ -background none -gravity center -extent 96x96 icons/icon_96.png",
"icon_128": "convert ./icons/icon-fullsize.png -resize 128x128^ -background none -gravity center -extent 128x128 icons/icon_128.png",
"icons": "npm run icon_48 && npm run icon_96 && npm run icon_128"
},
"author": "Adam Quinton",
"devDependencies": {
"webextension-polyfill": "^0.9.0"
}
}