-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
105 lines (105 loc) · 4.28 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
{
"name": "@railgun-community/engine",
"version": "9.2.0",
"description": "Wallet framework for RAILGUN smart contracts and private balances on Ethereum and more.",
"author": "RAILGUN Contributors",
"license": "MIT",
"main": "dist/index.js",
"scripts": {
"clean": "rimraf dist && rimraf coverage",
"lint": "eslint src/**/*.ts src/*.ts; tsc --noEmit; tsc -p tsconfig.test.json --noEmit",
"test": "yarn compile-test && env NODE_ENV=test mocha 'src/**/__tests__/*.test.ts'",
"test-V2": "yarn compile-test && env NODE_ENV=test V2_TEST=1 mocha 'src/**/__tests__/*.test.ts'",
"test-hardhat": "env NODE_ENV=test RUN_HARDHAT_TESTS=1 npm test",
"test-hardhat-V2": "env NODE_ENV=test V2_TEST=1 RUN_HARDHAT_TESTS=1 npm test",
"coverage": "c8 --reporter=lcov --exclude '**/__tests__/*.ts' --exclude 'dist/**/*' npm run test",
"coverage-V2": "c8 --reporter=lcov --exclude '**/__tests__/*.ts' --exclude 'dist/**/*' --exclude '**/*V3*' npm run test-V2",
"coverage-hardhat": "c8 --reporter=lcov --exclude '**/__tests__/*.ts' --exclude 'dist/**/*' npm run test-hardhat",
"coverage-hardhat-V2": "c8 --reporter=lcov --exclude '**/__tests__/*.ts' --exclude 'dist/**/*' --exclude '**/*V3*' npm run test-hardhat-V2",
"compile": "yarn clean && tsc",
"compile-test": "yarn clean && tsc -p tsconfig.test.json",
"prepack": "yarn && yarn compile",
"release": "mkdir -p release && npm pack && mv *.tgz ./release",
"gen-typechain-all": "yarn gen-typechain-V1 && yarn gen-typechain-V2 && yarn gen-typechain-V2.1 && yarn gen-typechain-V3",
"gen-typechain-V1": "typechain --target ethers-v6 --out-dir ./src/abi/typechain ./src/abi/V1/*.json",
"gen-typechain-V2": "typechain --target ethers-v6 --out-dir ./src/abi/typechain ./src/abi/V2/*.json",
"gen-typechain-V2.1": "typechain --target ethers-v6 --out-dir ./src/abi/typechain ./src/abi/V2.1/*.json",
"gen-typechain-V3": "typechain --target ethers-v6 --out-dir ./src/abi/typechain ./src/abi/V3/*.json",
"gen-typechain-test": "typechain --target ethers-v6 --out-dir ./src/test/abi/typechain ./src/test/abi/*.json"
},
"files": [
"/dist",
"/*.md"
],
"exports": {
".": "./dist/index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Railgun-Community/engine.git"
},
"homepage": "https://github.com/Railgun-Community/engine#readme",
"bugs": {
"url": "https://github.com/Railgun-Community/engine/issues"
},
"dependencies": {
"@noble/ciphers": "^0.4.0",
"@noble/ed25519": "^1.7.1",
"@noble/hashes": "^1.3.2",
"@railgun-community/circomlibjs": "0.0.8",
"@railgun-community/curve25519-scalarmult-wasm": "0.1.5",
"@railgun-community/poseidon-hash-wasm": "1.0.1",
"@scure/base": "^1.1.1",
"abstract-leveldown": "^7.2.0",
"browserify-aes": "^1.2.0",
"buffer-xor": "^2.0.2",
"chai-as-promised": "^7.1.1",
"encoding-down": "^7.1.0",
"ethereum-cryptography": "^2.0.0",
"ethers": "6.13.1",
"fast-text-encoding": "^1.0.6",
"levelup": "^5.1.1",
"msgpack-lite": "^0.1.26"
},
"devDependencies": {
"@swc/core": "^1.3.61",
"@typechain/ethers-v6": "^0.3.3",
"@types/abstract-leveldown": "^7.2.1",
"@types/bn.js": "^5.1.1",
"@types/buffer-xor": "^2.0.0",
"@types/chai": "^4.3.5",
"@types/chai-as-promised": "^7.1.5",
"@types/encoding-down": "^5.0.1",
"@types/levelup": "^5.1.2",
"@types/memdown": "^3.0.1",
"@types/mocha": "^10.0.1",
"@types/msgpack-lite": "^0.1.8",
"@types/node": "^20.2.5",
"@types/sinon": "^10.0.16",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"brotli": "^1.3.3",
"c8": "^9.1.0",
"chai": "^4.3.7",
"eslint": "^8.41.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-es": "^4.1.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-no-only-tests": "^3.1.0",
"memdown": "^6.1.1",
"mocha": "^10.2.0",
"prettier": "^2.8.8",
"rimraf": "^5.0.1",
"sinon": "^16.0.0",
"snarkjs": "^0.7.0",
"ts-node": "^10.9.1",
"typechain": "^8.2.0",
"typescript": "^5.4.2"
},
"react-native": {
"@railgun-community/curve25519-scalarmult-wasm": false,
"@railgun-community/poseidon-hash-wasm": false,
"crypto": false
}
}