@highnote-oss/nodejs-sdk 0.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +182 -0
- package/dist/index.cjs +6587 -0
- package/dist/index.d.cts +21310 -0
- package/dist/index.d.ts +21310 -0
- package/dist/index.js +6524 -0
- package/package.json +74 -0
package/package.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@highnote-oss/nodejs-sdk",
|
|
3
|
+
"version": "0.1.0-alpha.1",
|
|
4
|
+
"description": "Highnote Server SDK for Node.js — resource-oriented wrapper over the Highnote GraphQL API",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/highnote-oss/nodejs-sdk.git"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://github.com/highnote-oss/nodejs-sdk#readme",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/highnote-oss/nodejs-sdk/security/advisories"
|
|
13
|
+
},
|
|
14
|
+
"type": "module",
|
|
15
|
+
"main": "./dist/index.cjs",
|
|
16
|
+
"module": "./dist/index.js",
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"import": {
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"default": "./dist/index.js"
|
|
23
|
+
},
|
|
24
|
+
"require": {
|
|
25
|
+
"types": "./dist/index.d.cts",
|
|
26
|
+
"default": "./dist/index.cjs"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"dist",
|
|
32
|
+
"!dist/*.map"
|
|
33
|
+
],
|
|
34
|
+
"scripts": {
|
|
35
|
+
"build": "tsup",
|
|
36
|
+
"codegen": "graphql-codegen --config codegen.ts",
|
|
37
|
+
"format": "prettier --write 'src/**/*.ts'",
|
|
38
|
+
"typecheck": "tsc --noEmit",
|
|
39
|
+
"docs:gen": "tsx scripts/gen-docs.ts",
|
|
40
|
+
"docs:check": "tsx scripts/gen-docs.ts --check",
|
|
41
|
+
"test": "vitest run --config vitest.config.ts",
|
|
42
|
+
"test:unit": "vitest run --config vitest.config.ts",
|
|
43
|
+
"test:integration": "vitest run --config vitest.integration.config.ts",
|
|
44
|
+
"test:watch": "vitest",
|
|
45
|
+
"prepublishOnly": "npm run build"
|
|
46
|
+
},
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"graphql-request": "^7.1.2"
|
|
49
|
+
},
|
|
50
|
+
"peerDependencies": {
|
|
51
|
+
"graphql": "^16.0.0"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@graphql-codegen/cli": "^6.2.1",
|
|
55
|
+
"@graphql-codegen/introspection": "^5.0.1",
|
|
56
|
+
"@graphql-codegen/typescript": "^5.0.9",
|
|
57
|
+
"@graphql-codegen/typescript-graphql-request": "^7.0.1",
|
|
58
|
+
"@graphql-codegen/typescript-operations": "^5.0.9",
|
|
59
|
+
"@types/node": "^25.5.2",
|
|
60
|
+
"dotenv": "^17.4.2",
|
|
61
|
+
"prettier": "^3.8.3",
|
|
62
|
+
"tsup": "^8.3.0",
|
|
63
|
+
"tsx": "^4.21.0",
|
|
64
|
+
"typedoc": "^0.28.19",
|
|
65
|
+
"typescript": "^6.0.3",
|
|
66
|
+
"vitest": "^4.1.5"
|
|
67
|
+
},
|
|
68
|
+
"engines": {
|
|
69
|
+
"node": ">=22"
|
|
70
|
+
},
|
|
71
|
+
"publishConfig": {
|
|
72
|
+
"access": "public"
|
|
73
|
+
}
|
|
74
|
+
}
|