-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
90 lines (90 loc) · 2.27 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
{
"name": "@cowprotocol/app-data",
"version": "2.4.0",
"description": "CowProtocol AppData schema definitions",
"type": "module",
"source": "src/index.ts",
"exports": {
"require": "./dist/index.cjs",
"default": "./dist/index.modern.mjs"
},
"main": "./dist/index.cjs",
"module": "./dist/index.module.js",
"unpkg": "./dist/index.umd.js",
"types": "dist/index.d.ts",
"files": [
"/dist",
"/schemas"
],
"scripts": {
"clean": "rm -rf dist/* && rm -rf src/generatedTypes/* && rm -rf schemas/",
"compile": "node --loader ts-node/esm src/scripts/compile.ts --experimental-specifier-resolution=node",
"build": "yarn clean && yarn compile && microbundle -f modern,esm,cjs",
"test": "jest",
"prepare": "yarn build && yarn test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cowprotocol/app-data.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/cowprotocol/app-data/issues"
},
"homepage": "https://github.com/cowprotocol/app-data#readme",
"devDependencies": {
"ethers": "^5.0.26",
"@babel/core": "^7.18.9",
"@babel/preset-env": "^7.18.9",
"@babel/preset-typescript": "^7.18.6",
"@types/jest": "^29.4.0",
"@types/semver-sort": "^0.0.1",
"babel-jest": "^28.1.3",
"jest": "^29.4.2",
"jest-fetch-mock": "^3.0.3",
"json-schema-ref-parser": "^9.0.9",
"json-schema-to-typescript": "^10.1.5",
"microbundle": "^0.15.1",
"prettier": "^2.7.1",
"semver-sort": "^1.0.0",
"ts-node": "^10.8.2",
"typescript": "^4.9.5"
},
"dependencies": {
"ajv": "^8.11.0",
"cross-fetch": "^3.1.5",
"ipfs-only-hash": "^4.0.0",
"json-stringify-deterministic": "^1.0.8",
"multiformats": "^9.6.4"
},
"peerDependencies": {
"cross-fetch": "^3.x",
"ethers": "^5.0.0",
"ipfs-only-hash": "^4.x",
"multiformats": "^9.x"
},
"jest": {
"automock": false,
"resetMocks": false,
"setupFiles": [
"<rootDir>/setupTests.js"
],
"collectCoverageFrom": [
"src/**/*.{ts,tsx}",
"test/*.{ts,tsx}"
]
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
],
"@babel/preset-typescript"
]
}
}