forked from deltaDAO/nautilus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
130 lines (130 loc) · 3.89 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
{
"name": "@deltadao/nautilus",
"source": "./src/index.ts",
"version": "0.3.0-beta.2",
"description": "A typescript library enabling automated publish & consume in Ocean Protocol ecosystems",
"main": "./dist/lib.js",
"umd:main": "./dist/lib.umd.js",
"module": "./dist/lib.module.js",
"exports": {
"require": "./dist/lib.js",
"default": "./dist/lib.modern.js"
},
"types": "./dist/src/index.d.ts",
"scripts": {
"start": "npm run clean && tsc -w",
"build": "npm run clean && microbundle build --format modern,esm,cjs,umd --compress --tsconfig tsconfig.json",
"docs:build": "typedoc",
"docs:watch": "typedoc --watch",
"install:docusaurus": "cd docs && npm install",
"start:docusaurus": "cd docs && npm run start",
"changelog": "auto-changelog -p",
"clean": "rm -rf ./dist/",
"mocha": "TS_NODE_PROJECT='./test/tsconfig.json' mocha --config=test/.mocharc.json --node-env=test --exit",
"test": "npm run lint && npm run mocha -- test/**/*.test.ts test/*.test.ts",
"test:mocha": "npm run mocha -- test/**/*.test.ts",
"test:mocha:unit": "npm run mocha -- test/unit/**/*.test.ts",
"test:mocha:integration": "npm run mocha -- test/integration/**/*.test.ts",
"release": "release-it",
"prepublishOnly": "npm run build",
"lint": "eslint --ignore-path .gitignore --ext .ts && npm run type-check",
"generate:graphql": "graphql-codegen && npm run lint",
"type-check": "tsc --noEmit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/deltaDAO/nautilus.git"
},
"author": "deltaDAO",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/deltaDAO/nautilus/issues"
},
"homepage": "https://github.com/deltaDAO/nautilus#readme",
"dependencies": {
"@oceanprotocol/lib": "^3.1.1",
"@urql/exchange-refocus": "^1.0.0",
"axios": "^1.3.4",
"decimal.js": "^10.4.3",
"ethers": "^5.7.2",
"urql": "^3.0.4"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.0",
"@graphql-codegen/near-operation-file-preset": "^2.5.0",
"@graphql-codegen/typescript": "^4.0.1",
"@graphql-codegen/typescript-operations": "^4.0.1",
"@types/chai": "^4.3.5",
"@types/mocha": "^10.0.1",
"@types/node": "^18.15.11",
"@types/sinon": "^10.0.16",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"auto-changelog": "^2.4.0",
"chai": "^4.3.7",
"dotenv": "^16.0.3",
"eslint": "^8.36.0",
"eslint-config-oceanprotocol": "^2.0.4",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"microbundle": "0.14.2",
"mocha": "^10.2.0",
"prettier": "^2.8.7",
"release-it": "^16.1.5",
"sinon": "^15.2.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.2"
},
"peerDependencies": {
"@oceanprotocol/lib": "3.1.1",
"ethers": "^5.7.2"
},
"overrides": {
"graphql": "15.8.0"
},
"release-it": {
"hooks": {
"after:bump": "npm run build && npm run changelog"
},
"plugins": {
"./scripts/release-it-documentation-checker-plugin.mjs": {}
},
"git": {
"tagName": "v${version}"
},
"github": {
"release": true,
"assets": [
"dist/lib.json"
]
},
"npm": {
"publish": false
}
},
"codegen": {
"schema": "https://v4.subgraph.goerli.oceanprotocol.com/subgraphs/name/oceanprotocol/ocean-subgraph",
"documents": "./src/**/*.gql.ts",
"generates": {
"./src/@types/subgraph/api.ts": {
"plugins": [
"typescript"
]
},
"./src/": {
"preset": "near-operation-file",
"presetConfig": {
"baseTypesPath": "@types/subgraph/api.ts",
"extension": ".generated.ts"
},
"plugins": [
"typescript-operations"
],
"config": {
"omitOperationSuffix": true,
"typesPrefix": "I"
}
}
}
}
}