forked from ursuscamp/nostore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 3.06 KB
/
Copy pathpackage.json
File metadata and controls
61 lines (61 loc) · 3.06 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"name": "nostrkey",
"version": "1.8.0",
"description": "Nostr key manager and signer for web apps. Securely store your private keys and sign events without exposing them to websites.",
"source": [
"background.js",
"content.js",
"nostr.js",
"popup.html"
],
"scripts": {
"build": "tailwindcss -i './src/options.css' -o './src/options.build.css' && ./build.js",
"build:prod": "tailwindcss -i './src/options.css' -o './src/options.build.css' --minify && ./build.js prod",
"build:chrome": "tailwindcss -i './src/options.css' -o './src/options.build.css' && ./build.js dev chrome",
"build:chrome:prod": "tailwindcss -i './src/options.css' -o './src/options.build.css' --minify && ./build.js prod chrome",
"build:firefox": "tailwindcss -i './src/options.css' -o './src/options.build.css' && ./build.js dev firefox",
"build:firefox:prod": "tailwindcss -i './src/options.css' -o './src/options.build.css' --minify && ./build.js prod firefox",
"build:all": "tailwindcss -i './src/options.css' -o './src/options.build.css' && ./build.js dev all",
"build:all:prod": "tailwindcss -i './src/options.css' -o './src/options.build.css' --minify && ./build.js prod all",
"watch": "./build.js watch",
"watch-tailwind": "tailwindcss -i './src/options.css' -o './src/options.build.css' --watch",
"clean": "rm -f ./src/*.build.js ./src/*.build.css ./src/**/*.build.js && rm -rf distros",
"cws:upload": "chrome-webstore-upload upload --source distros/nostrkey-chrome-v$npm_package_version.zip --extension-id cggakcmbihnpmcddkkfmoglgaocnmaop",
"cws:publish": "chrome-webstore-upload publish --extension-id cggakcmbihnpmcddkkfmoglgaocnmaop",
"cws:release": "npm run cws:upload && npm run cws:publish",
"test": "vitest run",
"test:watch": "vitest",
"test:e2e": "npx playwright test",
"test:all": "vitest run && npx playwright test",
"test:e2e:settings": "npx playwright test test/e2e/settings-persistence.spec.js",
"test:e2e:consent": "npx playwright test test/e2e/consent-redress.e2e.spec.js test/e2e/consent-sheet-lifecycle.e2e.spec.js",
"firefox:run": "npm run build:firefox && npx --yes web-ext run --target=firefox-desktop --source-dir=distros/firefox",
"test:e2e:firefox": "node test/e2e/firefox-settings.mjs",
"test:e2e:safari": "node test/e2e/safari-settings.mjs",
"test:cross-browser": "npm run build:all && npm run test:e2e:firefox && npm run test:e2e:safari"
},
"author": "Humanjava Enterprises Inc",
"license": "MIT",
"dependencies": {
"@scure/bip32": "^2.2.0",
"@scure/bip39": "^2.2.0",
"async-mutex": "^0.5.0",
"idb": "^8.0.0",
"json-format-highlight": "^1.0.4",
"nostr-crypto-utils": "^0.9.2",
"qrcode": "^1.5.4"
},
"devDependencies": {
"@playwright/test": "^1.61.1",
"@tailwindcss/forms": "^0.5.9",
"chrome-webstore-upload-cli": "^4.0.1",
"esbuild": "^0.28.1",
"geckodriver": "^6.1.1",
"jsdom": "^29.1.1",
"prettier": "^3.9.6",
"selenium-webdriver": "^4.46.0",
"sharp": "^0.35.3",
"tailwindcss": "^3.4.12",
"vitest": "^4.1.10"
}
}