UNPKG

hscrypt

Version:

Encrypt Javascript bundles (at build time), inject+decrypt them into pages later (in the browser)

45 lines (44 loc) 1.07 kB
{ "name": "hscrypt", "version": "0.0.3", "description": "Encrypt Javascript bundles (at build time), inject+decrypt them into pages later (in the browser)", "files": [ "dist" ], "homepage": "https://github.com/hscrypt/js", "keywords": [ "static", "static-sites", "encryption" ], "license": "MIT", "main": "./dist/src/hscrypt.js", "types": "./dist/src/hscrypt.d.ts", "exports": { ".": { "require": "./dist/src/hscrypt.js", "import": "./dist/src/hscrypt.mjs", "types": "./dist/src/hscrypt.d.ts" } }, "dependencies": { "crypto-js": "^4.1.1", "ts-chacha20": "^1.2.0" }, "devDependencies": { "@types/crypto-js": "^4.1.0", "@types/jest": "^27.4.0", "crypto-browserify": "^3.12.0", "jest": "^27.4.7", "ts-jest": "^27.1.3", "ts-loader": "^9.2.6", "typescript": "^4.5.5", "webpack-cli": "^4.9.2" }, "scripts": { "build": "tsc", "pack": "npm run build && npm run webpack && npm pack", "test": "jest", "webpack": "node_modules/.bin/webpack" } }