-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
49 lines (49 loc) · 1.53 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
{
"name": "@mermaidchart/sdk",
"version": "0.2.1-alpha.1",
"description": "Access the MermaidChart services with OAuth and type safety.",
"browser": "dist/bundle.iife.js",
"types": "dist/index.d.ts",
"main": "dist/index.mjs",
"engines": {
"node": "^18.18.0 || >= 20.0.0"
},
"scripts": {
"build": "pnpm build:code && pnpm build:types",
"build:code": "pnpm run build:code:browser && pnpm run build:code:node",
"build:code:browser": "esbuild src/index.ts --bundle --minify --outfile=dist/bundle.iife.js",
"build:code:node": "esbuild src/index.ts --bundle --platform=node --target=node18.18 --format=esm --packages=external --minify --outfile=dist/index.mjs",
"build:types": "tsc -p ./tsconfig.json --emitDeclarationOnly",
"lint": "eslint src/ && prettier --check src/",
"lint:fix": "eslint --fix src/ && prettier --write src/",
"prepare": "pnpm run build",
"test": "vitest src/",
"test:e2e": "vitest --config vitest.config.e2e.ts"
},
"type": "module",
"keywords": [],
"contributors": [
"Sidharth Vinod (https://sidharth.dev)"
],
"license": "MIT",
"dependencies": {
"@badgateway/oauth2-client": "^2.2.4",
"axios": "^1.5.0",
"uuid": "^9.0.0"
},
"devDependencies": {
"@types/node": "^18.18.0",
"@types/uuid": "^9.0.2",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"eslint": "^8.54.0",
"prettier": "^3.0.3"
},
"publishConfig": {
"access": "public"
},
"files": [
"/dist",
"README.md"
]
}