diff --git a/package.json b/package.json index 0cd52839c..19e42a2c5 100644 --- a/package.json +++ b/package.json @@ -1,57 +1,58 @@ { "private": true, "license": "BSD-3-Clause", "workspaces": [ "lib", "web", "native", "keyserver", "landing", "desktop", "keyserver/addons/rust-node-addon", "native/expo-modules/android-lifecycle", "native/expo-modules/aes-crypto", - "services/electron-update-server" + "services/electron-update-server", + "web/opaque-ke-wasm" ], "scripts": { "clean": "yarn workspace lib clean && yarn workspace web clean && yarn workspace native clean && yarn workspace keyserver clean && yarn workspace landing clean && yarn workspace desktop clean && yarn workspace rust-node-addon clean && yarn workspace electron-update-server clean && rm -rf node_modules/", "cleaninstall": "(killall flow || pkill flow || true) && yarn clean && yarn", "ci-cleaninstall": "yarn cleaninstall --frozen-lockfile --skip-optional --network-timeout 180000", "eslint": "eslint .", "eslint:fix": "eslint --fix .", "clang-format-all": "eval `node scripts/get_clang_paths_cli.js` | xargs clang-format -i", "rust-pre-commit": "./scripts/rust_pre_commit.sh", "terraform-pre-commit": "./scripts/terraform_pre_commit.sh", "prepare": "husky install", "arcpatch": "git pull --all --tags && arc patch", "postinstall": "bash ./postinstall.sh", "flow-all": "yarn workspace lib flow && yarn workspace web flow && yarn workspace landing flow && yarn workspace native flow && yarn workspace keyserver flow && yarn workspace desktop flow && yarn workspace electron-update-server flow", "jest-all": "yarn workspace lib test && yarn workspace keyserver test && yarn workspace web test" }, "devDependencies": { "babel-eslint": "^10.1.0", "clang-format": "^1.8.0", "core-js": "^3.6.5", "eslint": "^7.32.0", "eslint-config-prettier": "^8.1.0", "eslint-plugin-flowtype": "^5.4.0", "eslint-plugin-import": "^2.27.5", "eslint-plugin-jest": "^24.2.2", "eslint-plugin-monorepo": "^0.3.2", "eslint-plugin-prettier": "^3.3.1", "eslint-plugin-react": "^7.22.0", "eslint-plugin-react-hooks": "^4.2.0", "eslint-plugin-react-native": "^3.10.0", "find-up": "^5.0.0", "flow-mono-cli": "^1.5.0", "gaxios": "^4.3.2", "husky": "^7.0.0", "lint-staged": "^12.1.4", "patch-package": "^6.4.7", "postinstall-postinstall": "^2.0.0", "prettier": "^2.8.4" }, "resolutions": { "react-native-flipper": "https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.1.1.tgz" } } diff --git a/web/opaque-ke-wasm/comm-opaque2 b/web/opaque-ke-wasm/comm-opaque2 new file mode 120000 index 000000000..7dfc5c3b5 --- /dev/null +++ b/web/opaque-ke-wasm/comm-opaque2 @@ -0,0 +1 @@ +../../shared/comm-opaque2 \ No newline at end of file diff --git a/web/opaque-ke-wasm/index.js b/web/opaque-ke-wasm/index.js new file mode 100644 index 000000000..46e7f7c04 --- /dev/null +++ b/web/opaque-ke-wasm/index.js @@ -0,0 +1 @@ +// @flow diff --git a/web/opaque-ke-wasm/package.json b/web/opaque-ke-wasm/package.json new file mode 100644 index 000000000..ee5f2bc33 --- /dev/null +++ b/web/opaque-ke-wasm/package.json @@ -0,0 +1,15 @@ +{ + "name": "@commapp/opaque-ke-wasm", + "description": "WASM bindings for use of opaque-ke inside web browser", + "version": "0.0.1", + "main": "index.js", + "files": [ + "index.js" + ], + "type": "module", + "license": "BSD-3-Clause", + "engines": { + "node": ">= 16" + }, + "scripts": {} +}