forked from OpenMined/PSI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 3.83 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"name": "@openmined/psi.js",
"version": "1.0.0",
"description": "Private Set Intersection for JavaScript",
"repository": {
"type": "git",
"url": "https://github.com/OpenMined/PSI/tree/master/psi_cardinality/javascript"
},
"license": "Apache-2.0",
"keywords": [
"psi",
"private set intersection",
"private join and compute"
],
"main": "combined/wasm/umd/index.js",
"browser": "combined/wasm/umd/index.js",
"module": "combined/wasm/es/index.js",
"files": [
"**/*.js"
],
"scripts": {
"benchmark:js": "RUN_DEMO=js node -r esm psi_cardinality/javascript/benchmark.js",
"benchmark:wasm": "RUN_DEMO=wasm node -r esm psi_cardinality/javascript/benchmark.js",
"build": "yarn build:client && yarn build:server && yarn build:combined",
"build:client": "yarn build:client:js && yarn build:client:wasm",
"build:client:js": "bash psi_cardinality/javascript/scripts/build-client-js.sh && yarn build:copy",
"build:client:wasm": "bash psi_cardinality/javascript/scripts/build-client-wasm.sh && yarn build:copy",
"build:combined": "yarn build:combined:js && yarn build:combined:wasm",
"build:combined:js": "bash psi_cardinality/javascript/scripts/build-combined-js.sh && yarn build:copy",
"build:combined:wasm": "bash psi_cardinality/javascript/scripts/build-combined-wasm.sh && yarn build:copy",
"build:server": "yarn build:server:js && yarn build:server:wasm",
"build:server:js": "bash psi_cardinality/javascript/scripts/build-server-js.sh && yarn build:copy",
"build:server:wasm": "bash psi_cardinality/javascript/scripts/build-server-wasm.sh && yarn build:copy",
"build:benchmark": "yarn build:benchmark:js && yarn build:benchmark:wasm",
"build:benchmark:js": "bash psi_cardinality/javascript/scripts/build-benchmark-js.sh && yarn build:copy",
"build:benchmark:wasm": "bash psi_cardinality/javascript/scripts/build-benchmark-wasm.sh && yarn build:copy",
"build:copy": "bash psi_cardinality/javascript/scripts/build-copy.sh",
"prerollup": "bash psi_cardinality/javascript/scripts/prerollup.sh",
"rollup": "rollup -c",
"postrollup": "bash psi_cardinality/javascript/scripts/postrollup.sh",
"prepublishOnly": "echo 'Please run \"yarn run publish\" instead' && exit 1",
"publish:test": "npm --dry-run publish --access=public psi_cardinality/javascript/dist/openmined-psi.js-*.tgz",
"publish": "npm publish --access=public psi_cardinality/javascript/dist/openmined-psi.js-*.tgz",
"clean": "bazel clean --expunge && rm -rf psi_cardinality/javascript/bin/* && rm -rf psi_cardinality/javascript/tsc-out/* && rm -rf psi_cardinality/javascript/dist/*",
"compile": "tsc",
"format": "prettier --write psi_cardinality/javascript/src",
"lint": "eslint \"psi_cardinality/javascript/src/**/*.{js,ts}\"",
"test": "jest psi_cardinality/javascript/src/",
"test:js": "jest psi_cardinality/javascript/tsc-out/__tests__/",
"coverage": "jest psi_cardinality/javascript/src --coverage",
"submodule:update": "bash psi_cardinality/javascript/scripts/submodule-update.sh",
"em:update": "bash psi_cardinality/javascript/scripts/em-update.sh",
"em:init": "bash psi_cardinality/javascript/scripts/em-init.sh"
},
"devDependencies": {
"@babel/core": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"@rollup/plugin-alias": "^3.1.0",
"@rollup/plugin-typescript": "^4.1.1",
"@types/jest": "^25.2.1",
"@typescript-eslint/eslint-plugin": "^2.31.0",
"@typescript-eslint/parser": "^2.31.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-jest": "^23.9.0",
"eslint-plugin-jsdoc": "^24.0.6",
"eslint-plugin-prettier": "^3.1.3",
"esm": "^3.2.25",
"jest": "^26.0.1",
"prettier": "^2.0.5",
"rollup": "^2.8.0",
"rollup-plugin-terser": "^5.3.0",
"ts-jest": "^25.5.0",
"typescript": "^3.8.3"
}
}