-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
128 lines (128 loc) · 3.5 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "@seamapi/http",
"version": "1.14.0",
"description": "JavaScript HTTP client for the Seam API written in TypeScript.",
"type": "module",
"main": "index.js",
"types": "index.d.ts",
"exports": {
".": {
"import": {
"types": "./index.d.ts",
"default": "./index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./connect": {
"import": {
"types": "./connect.d.ts",
"default": "./connect.js"
},
"require": {
"types": "./dist/connect.d.cts",
"default": "./dist/connect.cjs"
}
}
},
"module": "index.js",
"sideEffects": false,
"keywords": [
"node"
],
"homepage": "https://github.com/seamapi/javascript-http",
"bugs": "https://github.com/seamapi/javascript-http/issues",
"repository": "seamapi/javascript-http",
"license": "MIT",
"author": {
"name": "Seam Labs, Inc.",
"email": "[email protected]"
},
"files": [
"index.js",
"index.js.map",
"index.d.ts",
"connect.js",
"connect.js.map",
"connect.d.ts",
"dist",
"lib",
"src",
"!**/*.test.ts"
],
"scripts": {
"build": "npm run build:entrypoints",
"prebuild": "concurrently --raw --group 'tsx src/index.ts' 'tsx src/connect.ts'",
"postbuild": "concurrently --raw --group 'node ./index.js' 'node ./connect.js'",
"build:entrypoints": "npm run build:ts",
"postbuild:entrypoints": "tsup",
"build:ts": "tsc --project tsconfig.build.json",
"prebuild:ts": "del 'index.*' 'connect.*' lib",
"postbuild:ts": "tsc-alias --project tsconfig.build.json",
"typecheck": "tsc",
"docs:build": "typedoc",
"test": "c8 ava",
"pretest": "tsx src/index.ts",
"test:update": "ava --update-snapshots",
"test:watch": "ava --watch",
"test:debug": "ava debug --break",
"lint": "eslint --ignore-path .gitignore .",
"prelint": "prettier --check --ignore-path .gitignore .",
"prepack": "tsx ./prepack.ts",
"postversion": "git push --follow-tags",
"example": "tsx examples",
"example:inspect": "tsx --inspect examples",
"generate": "tsx generate-routes.ts",
"format": "eslint --ignore-path .gitignore --fix .",
"preformat": "prettier --write --ignore-path .gitignore .",
"report": "c8 report"
},
"engines": {
"node": ">=18.12.0",
"npm": ">= 9.0.0"
},
"peerDependencies": {
"@seamapi/types": "^1.292.2"
},
"peerDependenciesMeta": {
"@seamapi/types": {
"optional": true
}
},
"dependencies": {
"@seamapi/url-search-params-serializer": "^1.1.0",
"axios": "^1.5.0",
"axios-better-stacktrace": "^2.1.7",
"axios-retry": "^4.4.2"
},
"devDependencies": {
"@seamapi/fake-seam-connect": "1.71.0",
"@seamapi/types": "1.292.2",
"@types/eslint": "^8.44.2",
"@types/node": "^20.8.10",
"ava": "^5.0.1",
"c8": "^10.1.2",
"change-case": "^5.0.2",
"concurrently": "^9.1.0",
"del": "^8.0.0",
"del-cli": "^6.0.0",
"eslint": "^8.9.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard": "^17.1.0",
"eslint-config-standard-with-typescript": "^43.0.0",
"eslint-plugin-simple-import-sort": "^12.0.0",
"eslint-plugin-unused-imports": "^3.0.0",
"execa": "^9.2.0",
"landlubber": "^2.0.0",
"nock": "^13.4.0",
"node-fetch": "^3.3.2",
"prettier": "^3.0.0",
"tsc-alias": "^1.8.2",
"tsup": "^8.0.1",
"tsx": "^4.6.2",
"typedoc": "^0.26.11",
"typescript": "~5.3.3"
}
}