This repository has been archived by the owner on Jun 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
81 lines (81 loc) · 2.94 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
77
78
79
80
81
{
"name": "@prosopo/provider",
"version": "0.1.10",
"author": "PROSOPO LIMITED <[email protected]>",
"license": "Apache-2.0",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"clean": "tsc --build --clean",
"build": "tsc --build --verbose",
"build:config": "tsc --project",
"cli": "node ./dist/cli/cli.js",
"setup": "node ./dist/cli/setup.js",
"start": "node ./dist/cli/start.js",
"serve": "npm run setup && npm run start",
"mnemonic": "ts-node ./scripts/generateMnemonic.ts",
"test": "NODE_ENV=test ts-mocha tests/**/*.test.ts --timeout 120000 --recursive --exit",
"coverage": "npx c8 npm run test",
"populate-data": "ts-node ./src/dataUtils/populateDatabase.ts",
"dev-provider-register": "npm run cli -- provider_register --fee=10 --origin=https://localhost:8282 --payee=Provider --address=$PROVIDER_ADDRESS",
"dev-provider-stake": "npm run cli -- provider_update --value 2000000000000 --address=$PROVIDER_ADDRESS",
"dev-provider-dataset": "npm run cli -- provider_add_data_set --file ./tests/mocks/data/captchas.json",
"lint": "npx eslint .",
"lint:fix": "npx eslint . --fix"
},
"dependencies": {
"@polkadot/api": "^8.13.1",
"@polkadot/api-contract": "^8.13.1",
"@polkadot/keyring": "^10.0.2",
"@polkadot/types": "^8.13.1",
"@polkadot/types-codec": "^8.13.1",
"@polkadot/types-create": "^8.13.1",
"@polkadot/util": "^10.0.2",
"@polkadot/util-crypto": "^10.0.2",
"@prosopo/contract": "^0.1.10",
"@prosopo/datasets": "^0.1.10",
"@prosopo/i18n": "^0.1.10",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"consola": "^2.15.3",
"cors": "^2.8.5",
"cron": "^2.1.0",
"cron-parser": "^4.5.0",
"dotenv": "^16.0.1",
"express": "^4.18.1",
"mongodb": "4.8.1",
"mongoose": "^6.7.2",
"nodejs-polars": "^0.6.0",
"pm2": "^5.2.0",
"yargs": "^17.5.1",
"yargs-parser": "^21.0.1",
"zod": "^3.17.9"
},
"devDependencies": {
"@types/fs-extra": "^9.0.13",
"@types/mocha": "^9.1.1",
"@types/node": "^18.0.6",
"@types/yargs": "^17.0.10",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
"c8": "^7.11.3",
"eslint": "^8.20.0",
"eslint-config-prettier": "^8.5.0",
"fs-extra": "^10.1.0",
"mocha": "^10.0.0",
"mongodb-memory-server": "^8.7.2",
"ts-mocha": "^10.0.0",
"ts-node": "^10.9.1",
"tslib": "^2.4.0",
"typescript": "^4.7.4"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/prosopo/provider.git"
},
"description": "> NOTE: The easiest way to deploy the Prosopo contract and run the Provider node is via the [integration repository](https://github.com/prosopo/integration/). The following instructions explain how to set up the repositories manually.",
"bugs": {
"url": "https://github.com/prosopo/provider/issues"
},
"homepage": "https://github.com/prosopo/provider#readme"
}