This repository has been archived by the owner on Oct 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
45 lines (45 loc) · 2.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
{
"name": "hoverpad",
"version": "1.8.2",
"description": "Allows the user to make quick notes by clicking a button and entering text into the resulting popup. The notes are saved in storage and sync across profiles. See https://developer.mozilla.org/Add-ons/WebExtensions/Examples#hoverpad",
"scripts": {
"build": "rm -fr hoverpad.js web-ext-artifacts/ www/ && ./scripts/update-version && elm-make Main.elm --output=www/hoverpad.js && cp -r manifest.json *.js *.css icons index.html www/",
"chrome-web-ext": "npm run build && ./scripts/chrome-manifest.js && chromium-browser --pack-extension=$PWD/www/ --pack-extension-key=$PWD/hoverpad.pem && mv www.crx hoverpad.crx",
"chrome-store-zip": "rm -fr hoverpad.zip && npm run build && ./scripts/chrome-manifest.js && (cd www/ && zip -r ../hoverpad.zip *)",
"debug": "elm-live Main.elm --output=hoverpad.js --open -- --debug",
"format": "npm run lint -- --fix",
"lint": "eslint .",
"live": "elm-live Main.elm --output=hoverpad.js --open",
"fx-web-ext": "npm run build && rm -fr www/electron.js www/js/ && web-ext build -s www && unzip -l web-ext-artifacts/*.zip",
"fx-web-ext-demo": "npm run build && rm -fr www/electron.js www/js/ && ./scripts/set-manifest-demo-id && web-ext build -s www && unzip -l web-ext-artifacts/*.zip",
"electron": "electron electron.js",
"electron-packager": "electron-packager --out electron-apps/ --overwrite --platform=darwin,linux,win32 --ignore=\"(www|elm-stuff|platforms|plugins|icons)\" ./ hoverpad && cd electron-apps/ && for i in */; do zip -r \"${i%/}.zip\" \"$i\"; done",
"publish-to-gh-pages": "npm run build && gh-pages --dist ./www",
"cordova-emulate-android": "npm run build && cordova emulate android",
"cordova-android": "npm run build && cordova run android",
"test": "npm run lint",
"web-ext-sources": "rm -fr Hoverpad-Sources.zip && zip -r Hoverpad-Sources.zip Main.elm background.js elm-package.json encryption.js index.html Makefile manifest.json package.json ports.js README.md style.css icons/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mozilla-services/hoverpad.git"
},
"author": "Storage team",
"license": "MPL-2.0",
"bugs": {
"url": "https://github.com/mozilla-services/hoverpad/issues"
},
"main": "electron.js",
"homepage": "https://github.com/mozilla-services/hoverpad#readme",
"devDependencies": {
"cordova": "^6.5.0",
"electron": "1.6.2",
"elm": "^0.18.0",
"elm-live": "^2.6.1",
"eslint": "^3.16.1",
"eslint-config-prettier": "^1.4.0",
"eslint-plugin-prettier": "^2.0.1",
"gh-pages": "^0.12.0",
"web-ext": "^1.7.0"
}
}