-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
166 lines (166 loc) · 5.23 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
"name": "@charmverse/core",
"version": "0.108.1",
"description": "Core API for Charmverse",
"type": "commonjs",
"types": "./dist/cjs/index.d.ts",
"main": "./dist/cjs/index.js",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./log": {
"import": "./dist/esm/lib/log/index.js",
"require": "./dist/cjs/lib/log/index.js"
},
"./shared": {
"import": "./dist/esm/shared.js",
"require": "./dist/cjs/shared.js"
},
"./prisma": {
"import": "./dist/esm/prisma.js",
"require": "./dist/cjs/prisma.js"
},
"./prisma-client": {
"import": "./dist/esm/prisma-client.js",
"require": "./dist/cjs/prisma-client.js"
},
"./test": {
"import": "./dist/esm/test.js",
"require": "./dist/cjs/test.js"
},
"./pages": {
"import": "./dist/esm/pages.js",
"require": "./dist/cjs/pages.js"
},
"./pages/utilities": {
"import": "./dist/esm/pages-utilities.js",
"require": "./dist/cjs/pages-utilities.js"
},
"./proposals": {
"import": "./dist/esm/proposals.js",
"require": "./dist/cjs/proposals.js"
},
"./bounties": {
"import": "./dist/esm/bounties.js",
"require": "./dist/cjs/bounties.js"
},
"./permissions": {
"import": "./dist/esm/permissions.js",
"require": "./dist/cjs/permissions.js"
},
"./permissions/flags": {
"import": "./dist/esm/permissions-flags.js",
"require": "./dist/cjs/permissions-flags.js"
},
"./utilities": {
"import": "./dist/esm/utilities.js",
"require": "./dist/cjs/utilities.js"
},
"./errors": {
"import": "./dist/esm/errors.js",
"require": "./dist/cjs/errors.js"
},
"./http": {
"import": "./dist/esm/http.js",
"require": "./dist/cjs/http.js"
},
"./protocol": {
"import": "./dist/esm/protocol.js",
"require": "./dist/cjs/protocol.js"
}
},
"files": [
"dist",
"src",
"**/*.[jt]s",
"!.vscode",
"!.github",
"!.husky",
"!pull_request_template.md",
"tsconfig.json",
"tsconfig.esm.json"
],
"scripts": {
"typecheck": "tsc --noEmit",
"test": "NODE_OPTIONS=\"--max_old_space_size=4096 --experimental-vm-modules=true\" dotenv -e .env.test.local -- npx jest --config='./jest.config.mjs' --maxWorkers=2 --watch --verbose",
"test:ci": "NODE_OPTIONS=\"--max_old_space_size=4096 --experimental-vm-modules=true\" dotenv -e .env.test.local -- npx jest --config='./jest.config.mjs' --maxWorkers=2",
"build": "rimraf dist && npm run build:esm && npx tsc && npx tsc-alias",
"build:watch": "tsc --watch",
"start": "npm run build:watch",
"build:esm": "npx tsc --project tsconfig.esm.json && npx tsc-alias --project tsconfig.esm.json && node createPackageJson.js",
"build:esm:watch": "node createPackageJson.js && tsc --project tsconfig.esm.json --watch",
"postinstall": "npm run prisma:generate",
"prepare": "husky install",
"prisma:studio": "npx prisma studio --schema=./src/prisma/schema.prisma",
"prisma:generate": "npx prisma generate --schema=./src/prisma/schema.prisma",
"prisma:reset": "npx prisma migrate reset --schema=./src/prisma/schema.prisma --force",
"prisma:migrate": "npx prisma migrate dev --schema=./src/prisma/schema.prisma",
"prisma:format": "npx prisma format --schema=./src/prisma/schema.prisma",
"prisma:migrate:local": "npx dotenv -e .env.local -- npx prisma migrate dev --schema=./src/prisma/schema.prisma",
"prisma:deploy": "npx prisma migrate deploy --schema=./src/prisma/schema.prisma"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"repository": {
"type": "git",
"url": "git+https://github.com/charmverse/core.git"
},
"keywords": [
"charmverse"
],
"author": "[email protected]",
"bugs": {
"url": "https://github.com/charmverse/core/issues"
},
"homepage": "https://github.com/charmverse/core#readme",
"lint-staged": {
"*.{ts,tsx}": [
"eslint src/ --fix"
]
},
"devDependencies": {
"@jest/globals": "^29.6.1",
"@types/jest": "^29.5.0",
"@types/lodash": "^4.14.198",
"@types/luxon": "^3.3.2",
"@types/nanoid-dictionary": "^4.2.0",
"@types/node": "^18.15.11",
"@types/uuid": "^9.0.4",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"dotenv-cli": "^7.3.0",
"eslint": "^8.38.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^8.0.0",
"jest": "^29.5.0",
"lint-staged": "^13.2.2",
"rimraf": "^5.0.1",
"ts-jest": "^29.2.3",
"tsc-alias": "^1.8.8",
"typescript": "^5.4.2"
},
"dependencies": {
"@datadog/browser-logs": "^4.42.2",
"@ethereum-attestation-service/eas-sdk": "^0.29.1",
"@prisma/client": "^5.7.1",
"async-sema": "^3.1.1",
"fetch-retry": "^5.0.6",
"lodash": "^4.17.21",
"loglevel": "^1.8.1",
"luxon": "^3.3.0",
"merkletreejs": "^0.4.0",
"nanoid": "^3.3.6",
"nanoid-dictionary": "^3.0.0",
"prisma": "^5.7.1",
"undici": "^6.19.5",
"utf-8-validate": "^5.0.10",
"uuid": "^9.0.0",
"viem": "^2.21.42"
},
"license": "GPLv3"
}