UNPKG

pagecrypt

Version:

Easily add client-side password-protection to your Single Page Applications, static websites and HTML files.

65 lines 1.83 kB
{ "name": "pagecrypt", "version": "7.0.2", "description": "Easily add client-side password-protection to your Single Page Applications, static websites and HTML files.", "main": "./index.js", "type": "module", "scripts": { "test": "cd ./test && pnpm test && cd ..", "test:build": "pnpm build && cd dist && pnpm pack && cd ../test && pnpm i ../dist/pagecrypt-*.tgz && pnpm test && cd ..", "test:verify": "cd test && pnpm test:verify && cd ..", "build": "pnpm build:web && pnpm build:lib", "format": "prettier --write .", "build:lib": "node ./scripts/esbuild.js", "dev:web": "vite", "build:web": "vite build && node scripts/postbuild.js", "preview:web": "vite preview" }, "author": "Samuel Plumppu", "license": "LGPL-3.0-or-later", "engines": { "node": ">= 16.0.0" }, "engineStrict": true, "bin": { "pagecrypt": "cli.js" }, "keywords": [ "web-crypto", "encryption", "password", "clientside", "password-protection", "cryptography", "pbkdf2", "aes", "cli", "commandline", "html", "crypto", "encrypted webpage" ], "repository": { "type": "git", "url": "git+https://github.com/Greenheart/pagecrypt.git" }, "bugs": { "url": "https://github.com/Greenheart/pagecrypt/issues" }, "homepage": "https://github.com/Greenheart/pagecrypt#readme", "pnpm": { "onlyBuiltDependencies": [ "esbuild" ] }, "types": "./index.d.ts", "exports": { ".": { "types": "./index.d.ts", "node": "./index.js" }, "./core": { "import": "./core.js" } } }