UNPKG

@simplito/privmx-webendpoint

Version:

PrivMX Web Endpoint library

111 lines (110 loc) 3.33 kB
{ "name": "@simplito/privmx-webendpoint", "version": "2.7.4", "description": "PrivMX Web Endpoint library", "author": "Simplito", "license": "PrivMX Free License", "keywords": [ "privmx", "endpoint", "simplito", "e2ee", "end-to-end", "encryption", "end-to-end-encryption", "decryption", "cryptography", "communication", "data transfer", "messaging", "messages", "files", "storage", "chat", "thread", "storing", "secure", "private", "privacy", "privacy-protection", "security" ], "type": "commonjs", "main": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": "./dist/index.js", "./extra": "./dist/extra/index.js" }, "scripts": { "clean": "rm -rf ./dist", "test": "jest src", "build": "npm run clean && npm run build:wasm && npm run build:js && scripts/move_wasm_assets", "build:wasm": "scripts/pipeline.sh", "build:js": "npm run compile && npm run bundle && npm run build:worker && cp ./dist/assets/* ./assets/ && cp ./dist/bundle/rms-processor.js ./assets/", "build:worker": "webpack --config ./webpack.worker.config.js", "compile": "tsc", "bundle": "webpack", "watch:types": "tsc -w", "test:e2e": "playwright test --project=chromium", "test:e2e:manybrowsers": "playwright test", "lint": "eslint -c eslint.config.mjs .", "format": "prettier --write '{src,tests}/**/*.{ts,tsx,css,md}'", "format:clang": "find webendpoint-cpp drivers async-engine -type f \\( -name '*.c' -o -name '*.cpp' -o -name '*.h' -o -name '*.hpp' \\) -print0 | xargs -0 clang-format -i", "lint:clang-format": "find webendpoint-cpp drivers async-engine -type f \\( -name '*.c' -o -name '*.cpp' -o -name '*.h' -o -name '*.hpp' \\) -print0 | xargs -0 clang-format --dry-run --Werror", "prepack": "mkdir -p ./builds", "build-package": "npm pack --pack-destination ./builds", "watch": "webpack serve" }, "files": [ "dist", "assets", "LICENSE.md", "README.md", "CONTRIBUTING.md", "build-manifest.sh" ], "engines": { "node": ">=4" }, "devDependencies": { "@babel/core": "^7.26.0", "@babel/preset-env": "^7.26.0", "@eslint/js": "^9.39.2", "@playwright/test": "^1.57.0", "@stylistic/eslint-plugin": "^5.6.1", "@types/jest": "^29.5.14", "@types/node": "^20.9.0", "@types/webpack": "^5.28.5", "@typescript-eslint/eslint-plugin": "^8.51.0", "@typescript-eslint/parser": "^8.51.0", "assert": "^2.1.0", "babel-jest": "^29.7.0", "buffer": "^6.0.3", "copy-webpack-plugin": "^14.0.0", "crypto-browserify": "^3.3.0", "eslint": "^9.39.2", "eslint-config-prettier": "^10.1.8", "eslint-plugin-indent-empty-lines": "^1.0.2", "eslint-plugin-prettier": "^5.5.4", "jest": "^29.7.0", "mongodb": "^7.0.0", "playwright": "^1.57.0", "prettier": "^3.7.4", "process": "^0.11.10", "stream-browserify": "^3.0.0", "ts-jest": "^29.2.5", "ts-loader": "^9.5.1", "ts-node": "^10.9.1", "tslib": "^2.6.2", "typescript": "5.8", "vite": "^7.3.0", "vm-browserify": "^1.1.2", "webpack": "^5.89.0", "webpack-cli": "^5.1.4", "webpack-dev-server": "^5.2.2" }, "dependencies": { "elliptic": "^6.6.1" } }