This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
/
package.json
134 lines (134 loc) · 3.95 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
{
"name": "@truffle/db",
"description": "Smart contract data aggregation",
"license": "MIT",
"author": "g. nicholas d'andrea <gnidan@users.noreply.github.com>",
"homepage": "https://github.com/trufflesuite/truffle#readme",
"repository": {
"type": "git",
"url": "https://github.com/trufflesuite/truffle.git",
"directory": "packages/db"
},
"bugs": {
"url": "https://github.com/trufflesuite/truffle/issues"
},
"version": "0.5.12",
"main": "dist/src/index.js",
"files": [
"dist",
"types/schema.d.ts"
],
"directories": {
"dist": "dist"
},
"scripts": {
"build": "yarn build:types && yarn build:dist && yarn build:docs",
"clean": "rm -rf ./dist ./types/schema.d.ts",
"prepare": "yarn build",
"build:types": "ts-node -r ./bin/register -r tsconfig-paths/register --project tsconfig.codegen.json ./bin/codegen.js",
"build:dist": "ttsc",
"build:docs": "typedoc",
"start": "ts-node-dev -r tsconfig-paths/register ./bin/server",
"start:debug": "DEBUG=pouchdb:api ts-node-dev -r tsconfig-paths/register ./bin/server",
"start:drizzle": "ts-node-dev -r tsconfig-paths/register ./bin/server ./test/truffle-projects/drizzle-box",
"start:drizzle:debug": "DEBUG=pouchdb:api ts-node-dev -r tsconfig-paths/register ./bin/server ./test/truffle-projects/drizzle-box",
"madge": "madge ./src/index.ts",
"test": "jest --verbose --detectOpenHandles --forceExit"
},
"dependencies": {
"@truffle/abi-utils": "^0.2.1",
"@truffle/code-utils": "^1.2.27",
"@truffle/config": "^1.2.40",
"apollo-server": "^2.18.2",
"debug": "^4.3.1",
"fs-extra": "^9.1.0",
"graphql": "^15.3.0",
"graphql-tag": "^2.11.0",
"graphql-tools": "^6.2.4",
"json-stable-stringify": "^1.0.1",
"jsondown": "^1.0.0",
"pascal-case": "^2.0.1",
"pluralize": "^8.0.0",
"pouchdb": "7.1.1",
"pouchdb-adapter-memory": "^7.1.1",
"pouchdb-adapter-node-websql": "^7.0.0",
"pouchdb-debug": "^7.1.1",
"pouchdb-find": "^7.0.0",
"web3-utils": "1.3.6"
},
"devDependencies": {
"@gql2ts/from-schema": "^2.0.0-4",
"@truffle/compile-common": "^0.7.5",
"@truffle/contract-schema": "^3.4.1",
"@truffle/workflow-compile": "^3.2.11",
"@types/debug": "^4.1.5",
"@types/express": "^4.16.0",
"@types/graphql": "^14.5.0",
"@types/jest": "^26.0.20",
"@types/node": "12.12.21",
"@types/pluralize": "^0.0.29",
"@types/pouchdb": "^6.3.2",
"@types/pouchdb-adapter-leveldb": "^6.1.3",
"@types/web3": "^1.0.20",
"change-case": "3.0.2",
"fast-check": "^2.12.1",
"ganache-core": "2.13.0",
"hkts": "^0.3.1",
"jest": "^26.5.2",
"jest-fast-check": "^1.0.1",
"jsondown": "^1.0.0",
"madge": "^3.11.0",
"ts-jest": "^26.4.1",
"ts-node": "^9.1.1",
"ts-node-dev": "^1.0.0-pre.32",
"tsconfig-paths": "^3.9.0",
"ttypescript": "^1.5.7",
"typedoc": "^0.20.19",
"typedoc-neo-theme": "^1.1.0",
"typescript": "^4.1.4",
"typescript-transform-paths": "^2.1.0",
"web3": "1.3.6"
},
"keywords": [
"database",
"ethereum",
"smart-contracts",
"truffle"
],
"publishConfig": {
"access": "public"
},
"_moduleAliases": {
"@truffle/db": "db/dist/src"
},
"gitHead": "4c327e21da2e7abebcc1d78879a8d6f0eb7d802c",
"jest": {
"moduleFileExtensions": [
"ts",
"js",
"json",
"node"
],
"testEnvironment": "node",
"transform": {
"^.+\\.ts$": "ts-jest"
},
"globals": {
"ts-jest": {
"tsconfig": "<rootDir>/tsconfig.json",
"diagnostics": true
}
},
"moduleNameMapper": {
"^@truffle/db/(.*)": "<rootDir>/src/$1",
"^@truffle/db$": "<rootDir>/src",
"^test/(.*)": "<rootDir>/test/$1"
},
"testMatch": [
"<rootDir>/src/**/test/index.(ts|js)",
"<rootDir>/test/**/test/index.(ts|js)",
"<rootDir>/src/**/test/*\\.(spec|test)\\.(ts|js)",
"<rootDir>/test/**/test/*\\.(spec|test)\\.(ts|js)"
]
}
}