-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
45 lines (45 loc) · 1.72 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
{
"name": "@neynar/nodejs-sdk",
"version": "2.0.0",
"description": "SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)",
"main": "./build/index.js",
"types": "./build/index.d.ts",
"files": [
"build/**/*"
],
"scripts": {
"clean": "del-cli ./build/*",
"build": "yarn run clean && tsc",
"generate:api": "del-cli src/api && openapi-generator-cli generate -i ./oas/src/v2/spec.yaml -g typescript-axios -o ./src/api --config ./openapi-generator-config.json --inline-schema-options 'REFACTOR_ALLOF_INLINE_SCHEMAS=true'",
"generate:hub-api": "del-cli src/hub-api && openapi-generator-cli generate -i ./oas/src/hub-rest-api/spec.yaml -g typescript-axios -o ./src/hub-api --config ./openapi-generator-config.json --inline-schema-options 'REFACTOR_ALLOF_INLINE_SCHEMAS=true'",
"generate": "yarn generate:api && yarn generate:hub-api",
"generate:api:wrapper": "cross-env CLIENT_TYPE=api ts-node -P tsconfig.scripts.json scripts/generate-wrapper.ts",
"generate:hub-api:wrapper": "cross-env CLIENT_TYPE=hub-api ts-node -P tsconfig.scripts.json scripts/generate-wrapper.ts",
"generate:wrapper": "yarn generate:api:wrapper && yarn generate:hub-api:wrapper",
"generate:all": "yarn generate && yarn generate:wrapper"
},
"author": "Neynar",
"license": "MIT",
"dependencies": {
"@openapitools/openapi-generator-cli": "^2.14.1",
"semver": "^7.6.3",
"viem": "^2.21.44"
},
"devDependencies": {
"@types/node": "^22.7.9",
"cross-env": "^7.0.3",
"del-cli": "^6.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.6.3"
},
"engines": {
"node": ">=19.9.0"
},
"keywords": [
"ethereum",
"optimism",
"farcaster",
"neynar",
"nodejs"
]
}