-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
136 lines (136 loc) · 4.29 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "@vocdoni/sdk",
"author": "Vocdoni",
"version": "0.9.1",
"description": "⚒️An SDK for building applications on top of Vocdoni API",
"repository": "https://github.com/vocdoni/vocdoni-sdk.git",
"license": "AGPL-3.0-or-later",
"main": "src/index.ts",
"output": "dist/index",
"files": [
"dist",
"src",
"package.json"
],
"engines": {
"node": ">=14"
},
"keywords": [
"voting",
"blockchain",
"vocdoni"
],
"scripts": {
"clean": "rimraf node_modules dist",
"start": "yarn watch",
"build": "rollup -c",
"ts-types": "tsc --emitDeclarationOnly --outDir dist",
"test": "yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration",
"test:unit": "jest test/unit --verbose",
"test:integration": "yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other",
"test:integration:account": "jest test/integration/account.test.ts",
"test:integration:csp": "jest test/integration/csp.test.ts",
"test:integration:election": "jest test/integration/election.test.ts",
"test:integration:other": "jest test/integration/other.test.ts",
"test:integration:zk": "jest test/integration/zk.test.ts --forceExit --runInBand",
"test:service": "yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp",
"test:service:census": "jest test/services/census.test.ts",
"test:service:anonymous": "jest test/services/anonymous.test.ts",
"test:service:csp": "jest test/services/csp.test.ts",
"test:api": "jest test/api",
"test:census3": "yarn test:census3:api && yarn test:census3:integration",
"test:census3:api": "jest test/census3/api",
"test:census3:integration": "jest test/census3/integration",
"lint": "eslint src test --ext .js,.jsx,.ts,.tsx",
"lintfix": "yarn lint --fix",
"prepack": "clean-package",
"postpack": "mv -fv package.json.backup package.json",
"size": "size-limit",
"watch": "yarn build --watch"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint"
}
},
"prettier": {
"printWidth": 120,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node"
},
"size-limit": [
{
"path": "dist/index.js",
"limit": "2 MB"
},
{
"path": "dist/index.mjs",
"limit": "2 MB"
},
{
"path": "dist/index.umd.js",
"limit": "2 MB"
}
],
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@types/jest": "^29.2.2",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"clean-package": "^2.2.0",
"esbuild": "^0.20.2",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.2",
"jest": "^29.3.0",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"rollup": "^4.13.2",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-esbuild": "^6.1.1",
"rollup-plugin-polyfill-node": "^0.13.0",
"size-limit": "^8.1.0",
"ts-jest": "^29.0.3",
"tslib": "^2.4.0",
"typescript": "^4.8.4"
},
"dependencies": {
"@ethersproject/abstract-signer": "^5.7.0",
"@ethersproject/address": "^5.7.0",
"@ethersproject/bignumber": "^5.7.0",
"@ethersproject/bytes": "^5.7.0",
"@ethersproject/keccak256": "^5.7.0",
"@ethersproject/providers": "^5.7.1",
"@ethersproject/signing-key": "^5.7.0",
"@ethersproject/strings": "^5.7.0",
"@ethersproject/units": "^5.7.0",
"@ethersproject/wallet": "^5.7.0",
"@size-limit/file": "^8.2.4",
"@vocdoni/proto": "1.15.9",
"axios": "0.28.1",
"blakejs": "^1.2.1",
"blindsecp256k1": "^0.0.9",
"blake2b": "^2.1.4",
"buffer": "^6.0.3",
"circomlibjs": "vocdoni/circomlibjs#f/browser",
"iso-language-codes": "^1.1.0",
"js-sha256": "^0.10.1",
"readable-stream": "^4.4.2",
"snarkjs": "vocdoni/snarkjs#f/browser",
"tiny-invariant": "^1.3.1",
"tweetnacl": "^1.0.3",
"wasmbuilder": "^0.0.16",
"wasmcurves": "0.2.1",
"web-worker": "^1.2.0",
"yup": "^0.32.11"
},
"clean-package": "./clean-package.config.json"
}