-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
51 lines (51 loc) · 1.71 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
{
"name": "@spool-hq/mock-oracles",
"version": "0.2.1",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"description": "On-chain program to mock writing Pyth and Switchboard Accounts.",
"license": "AGPL-3.0",
"scripts": {
"prebuild": "yarn idl:generate",
"build": "rm -fr dist/ && tsc -P tsconfig.build.json && tsc -P tsconfig.esm.json",
"idl:generate": "./scripts/parse-idls.sh && ./scripts/generate-idl-types.sh",
"lint": "eslint 'src/**/*.ts' --cache && eslint 'tests/**/*.ts' --cache && prettier --write '{tests,src}/**/*.ts'",
"lint:ci": "eslint '{src,tests}/**/*.ts' --max-warnings=0",
"test:e2e": "anchor test --skip-build 'tests/**/*.ts'"
},
"dependencies": {
"@coral-xyz/anchor": "^0.29.0",
"@project-serum/anchor": "^0.26.0",
"@saberhq/anchor-contrib": "^1.15.0",
"jsbi": "^4.3.0"
},
"devDependencies": {
"@pythnetwork/client": "^2.19.0",
"@saberhq/chai-solana": "^1.15.0",
"@switchboard-xyz/solana.js": "^3.2.2",
"@types/chai": "^4.3.0",
"@types/mocha": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"chai": "^4.3.4",
"eslint": "^8.6.0",
"mocha": "^8.4.0",
"prettier": "^2.5.1",
"ts-mocha": "^10.0.0",
"typescript": "^4.3.5"
},
"peerDependencies": {
"@saberhq/solana-contrib": "1.15.0"
},
"publishConfig": {
"access": "public"
},
"files": [
"dist/",
"src/"
],
"lint-staged": {
"*.{ts,tsx}": "eslint --cache --fix",
"*.{js,json,jsx,html,css,md}": "prettier --write"
}
}