forked from storyprotocol/sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 2.48 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
{
"name": "@story-protocol/core-sdk",
"version": "1.0.0-rc.23",
"description": "Story Protocol Core SDK",
"main": "dist/story-protocol-core-sdk.cjs.js",
"module": "dist/story-protocol-core-sdk.esm.js",
"exports": {
".": {
"module": "./dist/story-protocol-core-sdk.esm.js",
"default": "./dist/story-protocol-core-sdk.cjs.js"
},
"./package.json": "./package.json"
},
"sideEffects": false,
"files": [
"dist/**/*"
],
"scripts": {
"build": "pnpm run fix && preconstruct build",
"test": "pnpm run test:unit && pnpm run test:integration",
"test:unit": "TS_NODE_PROJECT='./tsconfig.test.json' c8 --all --src ./src mocha -r ts-node/register './test/unit/**/*.test.ts'",
"test:integration": "TS_NODE_PROJECT='./tsconfig.test.json' mocha -r ts-node/register './test/integration/**/*.test.ts' --timeout 240000",
"fix": "pnpm run format:fix && pnpm run lint:fix",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"lint:fix": "pnpm run lint --fix",
"lint": "eslint ./src",
"tsc": "tsc --noEmit"
},
"license": "MIT",
"dependencies": {
"abitype": "^0.10.2",
"axios": "^1.5.1",
"dotenv": "^16.3.1",
"viem": "^2.8.12"
},
"devDependencies": {
"@babel/core": "^7.23.0",
"@babel/preset-env": "^7.22.20",
"@babel/preset-typescript": "^7.23.0",
"@preconstruct/cli": "^2.8.1",
"@story-protocol/eslint-config": "workspace:*",
"@story-protocol/prettier-config": "workspace:*",
"@story-protocol/tsconfig": "workspace:*",
"@types/chai": "^4.3.6",
"@types/chai-as-promised": "^7.1.6",
"@types/mocha": "^10.0.2",
"@types/node": "^20.8.2",
"@types/sinon": "^10.0.18",
"c8": "^8.0.1",
"chai": "^4.3.10",
"chai-as-promised": "^7.1.1",
"eslint": "^8.50.0",
"mocha": "^10.2.0",
"prettier": "^2.8.8",
"sinon": "^16.0.0",
"ts-node": "^10.9.1",
"typechain": "^8.3.1",
"typescript": "^5.2.2"
},
"prettier": "@story-protocol/prettier-config",
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-typescript"
]
},
"preconstruct": {
"entrypoints": [
"index.ts"
],
"exports": true
},
"c8": {
"exclude": [
"test/**/*",
"src/abi/**/*",
"src/index.ts",
"src/types/**/*"
],
"check-coverage": true,
"lines": 90,
"functions": 90,
"branches": 90,
"statements": 90
},
"typedoc": {
"entryPoint": "./src/index.ts",
"tsconfig": "./tsconfig.json"
}
}