UNPKG

@openziti/libcrypto-js

Version:

The OpenSSL libcrypto library compiled to pure JavaScript

90 lines (89 loc) 2.72 kB
{ "name": "@openziti/libcrypto-js", "version": "0.26.0", "description": "The OpenSSL libcrypto library compiled to pure JavaScript", "files": [ "dist" ], "main": "dist/esm/index.js", "module": "dist/esm/index.js", "type": "module", "types": "dist/esm/index.d.ts", "devDependencies": { "@open-wc/karma-esm": "^4.0.0", "@rollup/plugin-node-resolve": "^13.3.0", "@rollup/plugin-wasm": "^5.2.0", "@types/node": "^20.6.3", "ansi-regex": "^6.0.1", "assert": "^2.0.0", "base64url": "^3.0.1", "buffer": "^6.0.3", "chai": "^4.3.6", "child_process": "^1.0.2", "cross-env": "^7.0.3", "globby": "^13.1.1", "karma": "^6.3.20", "karma-chai": "^0.1.0", "karma-chrome-launcher": "^3.1.0", "karma-mocha": "^2.0.1", "minimist": "^1.2.6", "mocha": "^10.0.0", "mout": "^1.2.3", "npm-run-all": "^4.1.5", "rimraf": "^3.0.2", "ripemd160": "^2.0.2", "rollup": "^2.75.6", "rollup-plugin-babel": "^4.4.0", "rollup-plugin-base64": "^1.0.1", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-typescript2": "^0.31.1", "ts-loader": "^9.3.0", "tsconfig-paths": "^4.0.0", "typescript": "^4.7.3", "url-loader": "^4.1.1", "wasm-opt": "^1.4.0" }, "keywords": [ "ziti", "zero trust", "zero-trust", "browZer", "browser", "js", "javascript", "crypto", "openssl", "libcrypto" ], "scripts": { "test": "karma start karma.conf.cjs", "test:dev": "env DEV=true mocha -s 300 --parallel --require test/utilities/hooks.js ./test", "prerollup": "rm -f lib/index.js && cat lib/define.mjs src/index.js >> lib/index.js && cp lib/index.js lib/index.ts", "rollup": "rollup -c ./scripts/rollup.config.js && cp lib/libcrypto.* dist/esm/", "clean": "rimraf lib/* && rimraf dist/*", "make-clean": "./scripts/make clean", "make": "rimraf ./openssl/*.a && ./scripts/make libcrypto", "build": "npm-run-all clean generate:define make rollup", "build:rollup": "npm-run-all clean rollup -c ./scripts/rollup.config.js", "generate:define": "node ./scripts/generateDefines.js", "wasm-opt": "wasm-opt lib/libcrypto.JSPI.wasm -o lib/libcrypto.JSPI.wasm -Oz --dce" }, "repository": { "type": "git", "url": "https://github.com/openziti/libcrypto.js.git" }, "author": { "name": "NetFoundry", "url": "http://netfoundry.io", "email": "openziti@netfoundry.io" }, "license": "Apache-2.0", "bugs": { "url": "https://github.com/openziti/libcrypto.js/issues" }, "homepage": "https://github.com/openziti/libcrypto.js", "dependencies": { "@types/emscripten": "^1.39.6", "@wasmer/wasi": "^1.0.2" } }