-
Notifications
You must be signed in to change notification settings - Fork 598
Expand file tree
/
Copy pathpackage.json
More file actions
136 lines (136 loc) · 4.02 KB
/
package.json
File metadata and controls
136 lines (136 loc) · 4.02 KB
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": "@aztec/aztec.js",
"homepage": "https://github.com/AztecProtocol/aztec-packages/tree/master/yarn-project/aztec.js",
"version": "0.1.0",
"type": "module",
"exports": {
"./abi": "./dest/api/abi.js",
"./account": "./dest/api/account.js",
"./addresses": "./dest/api/addresses.js",
"./authorization": "./dest/api/authorization.js",
"./block": "./dest/api/block.js",
"./contracts": "./dest/api/contract.js",
"./crypto": "./dest/api/crypto.js",
"./deployment": "./dest/api/deployment.js",
"./ethereum": "./dest/api/ethereum.js",
"./events": "./dest/api/events.js",
"./fee": "./dest/api/fee.js",
"./fee/testing": "./dest/api/fee_testing.js",
"./fields": "./dest/api/fields.js",
"./keys": "./dest/api/keys.js",
"./log": "./dest/api/log.js",
"./messaging": "./dest/api/messaging.js",
"./node": "./dest/api/node.js",
"./note": "./dest/api/note.js",
"./protocol": "./dest/api/protocol.js",
"./trees": "./dest/api/trees.js",
"./tx": "./dest/api/tx.js",
"./utils": "./dest/api/utils.js",
"./wallet": "./dest/api/wallet.js"
},
"typedocOptions": {
"entryPoints": [
"./src/api/abi.ts",
"./src/api/account.ts",
"./src/api/contract.ts",
"./src/api/deployment.ts",
"./src/api/ethereum.ts",
"./src/api/fee.ts",
"./src/api/fields.ts",
"./src/api/keys.ts",
"./src/api/tx.ts",
"./src/api/wallet.ts"
],
"name": "Aztec.js",
"tsconfig": "./tsconfig.json"
},
"scripts": {
"build": "yarn clean && yarn generate && ../scripts/tsc.sh",
"build:dev": "../scripts/tsc.sh --watch",
"build:ts": "../scripts/tsc.sh",
"clean": "rm -rf ./dest .tsbuildinfo ./src/account_contract/artifacts ./src/contract/protocol_contracts",
"generate": "node --no-warnings --loader @swc-node/register/esm src/scripts/generate_protocol_contract_types.ts && run -T prettier -w src/contract/protocol_contracts",
"test": "NODE_NO_WARNINGS=1 node --experimental-vm-modules ../node_modules/.bin/jest --passWithNoTests --maxWorkers=${JEST_MAX_WORKERS:-8}"
},
"inherits": [
"../package.common.json",
"./package.local.json"
],
"jest": {
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.[cm]?js$": "$1"
},
"testRegex": "./src/.*\\.test\\.(js|mjs|ts)$",
"rootDir": "./src",
"transform": {
"^.+\\.tsx?$": [
"@swc/jest",
{
"jsc": {
"parser": {
"syntax": "typescript",
"decorators": true
},
"transform": {
"decoratorVersion": "2022-03"
}
}
}
]
},
"extensionsToTreatAsEsm": [
".ts"
],
"reporters": [
"default"
],
"testTimeout": 120000,
"setupFiles": [
"../../foundation/src/jest/setup.mjs"
],
"testEnvironment": "../../foundation/src/jest/env.mjs",
"setupFilesAfterEnv": [
"../../foundation/src/jest/setupAfterEnv.mjs"
]
},
"dependencies": {
"@aztec/constants": "workspace:^",
"@aztec/entrypoints": "workspace:^",
"@aztec/ethereum": "workspace:^",
"@aztec/foundation": "workspace:^",
"@aztec/l1-artifacts": "workspace:^",
"@aztec/protocol-contracts": "workspace:^",
"@aztec/stdlib": "workspace:^",
"axios": "^1.13.5",
"tslib": "^2.4.0",
"viem": "npm:@aztec/viem@2.38.2",
"zod": "^3.23.8"
},
"devDependencies": {
"@aztec/builder": "workspace:^",
"@jest/globals": "^30.0.0",
"@types/jest": "^30.0.0",
"@types/node": "^22.15.17",
"@typescript/native-preview": "7.0.0-dev.20260113.1",
"buffer": "^6.0.3",
"crypto-browserify": "^3.12.1",
"jest": "^30.0.0",
"jest-mock-extended": "^4.0.0",
"process": "^0.11.10",
"resolve-typescript-plugin": "^2.0.1",
"stream-browserify": "^3.0.0",
"ts-loader": "^9.5.4",
"ts-node": "^10.9.1",
"typescript": "^5.3.3",
"util": "^0.12.5"
},
"files": [
"dest",
"src",
"!*.test.*"
],
"types": "./dest/index.d.ts",
"engines": {
"node": ">=20.10"
}
}