-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
24 lines (24 loc) · 1.14 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
{
"name": "pin-unpin-tab",
"version": "5.0",
"description": "Pin or unpin a tab through the toolbar icon, or a keyboard shortcut, or a left long-click anywhere on the page.",
"main": "src/index.js",
"repository": "https://github.com/jayeshbhoot/pin-unpin-tab",
"author": "Jayesh Bhoot",
"license": "MIT",
"dependencies": {
"reason-promise": "^1.1.5",
"rxjs": "^7.8.1"
},
"scripts": {
"clean": "dune clean",
"build": "npm run clean && dune build @melange && esbuild ./_build/default/src/output/src/{bg.js,long_click.js,preferences.js} --bundle --out-extension:.js=.build.js --outdir=./_build/default/src/output/src",
"test": "npm run build && web-ext run --source-dir ./_build/default/src/output --browser-console --url 'https://bhoot.sh' --reload",
"build:ext": "npm run build && npx web-ext build --source-dir ./_build/default/src/output --ignore-files './src/**/!(*.build).js'",
"build:src-zip": "zip -r src-pkg.zip.tmp manifest.json package*.json dune* *.opam *.md src/* && rm -rf src-pkg.zip && mv src-pkg.zip.tmp src-pkg.zip"
},
"devDependencies": {
"esbuild": "^0.16.9",
"web-ext": "^7.6.2"
}
}