-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
133 lines (133 loc) · 3.91 KB
/
Copy pathpackage.json
File metadata and controls
133 lines (133 loc) · 3.91 KB
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
129
130
131
132
133
{
"name": "sunsama-api",
"version": "0.14.0",
"description": "TypeScript wrapper for the Sunsama API - Daily planning and task management",
"keywords": [
"sunsama",
"api",
"typescript",
"daily-planning",
"task-management",
"productivity"
],
"author": "Robert Niimi <robertn702@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/robertn702/sunsama-api.git"
},
"bugs": {
"url": "https://github.com/robertn702/sunsama-api/issues"
},
"homepage": "https://github.com/robertn702/sunsama-api#readme",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./errors": {
"import": "./dist/esm/errors/index.js",
"require": "./dist/cjs/errors/index.js",
"types": "./dist/types/errors/index.d.ts"
},
"./client": {
"import": "./dist/esm/client/index.js",
"require": "./dist/cjs/client/index.js",
"types": "./dist/types/client/index.d.ts"
},
"./types": {
"import": "./dist/esm/types/index.js",
"require": "./dist/cjs/types/index.js",
"types": "./dist/types/types/index.d.ts"
},
"./queries": {
"import": "./dist/esm/queries/index.js",
"require": "./dist/cjs/queries/index.js",
"types": "./dist/types/queries/index.d.ts"
},
"./utils": {
"import": "./dist/esm/utils/index.js",
"require": "./dist/cjs/utils/index.js",
"types": "./dist/types/utils/index.d.ts"
}
},
"files": [
"dist/",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"build": "pnpm clean && pnpm build:types && pnpm build:cjs && pnpm build:esm",
"postbuild": "node scripts/verify-package.js",
"build:types": "tsc --project tsconfig.types.json",
"build:cjs": "tsc --project tsconfig.cjs.json",
"build:esm": "tsc --project tsconfig.esm.json",
"clean": "rimraf dist/",
"dev": "tsx watch src/index.ts",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:ui": "vitest --ui",
"test:auth": "vitest run --config vitest.integration.config.ts",
"test:integration": "vitest run --config vitest.integration.config.ts",
"lint": "eslint src/ --ext .ts,.tsx",
"lint:fix": "eslint src/ --ext .ts,.tsx --fix",
"format": "prettier --write \"src/**/*.{ts,tsx,json,md}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx,json,md}\"",
"typecheck": "tsc --noEmit",
"verify-package": "node scripts/verify-package.js",
"prepublishOnly": "pnpm build && pnpm test && pnpm lint",
"release": "changeset publish && git push --follow-tags",
"docs:dev": "typedoc --watch",
"docs:build": "typedoc",
"prepare": "husky"
},
"devDependencies": {
"@changesets/cli": "^2.27.7",
"@types/node": "^20.14.10",
"@types/tough-cookie": "^4.0.5",
"@types/turndown": "^5.0.5",
"@typescript-eslint/eslint-plugin": "^7.16.0",
"@typescript-eslint/parser": "^7.16.0",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"dotenv": "^16.5.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.1.7",
"lint-staged": "^16.1.2",
"prettier": "^3.3.2",
"rimraf": "^5.0.7",
"tsx": "^4.16.2",
"typedoc": "^0.26.3",
"typescript": "^5.5.3",
"vitest": "^1.6.0"
},
"dependencies": {
"graphql": "^16.11.0",
"graphql-tag": "^2.12.6",
"marked": "^14.1.3",
"tough-cookie": "^5.1.2",
"tslib": "^2.8.1",
"turndown": "^7.2.0",
"yjs": "^13.6.27",
"zod": "^3.25.64"
},
"publishConfig": {
"access": "public"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
]
}
}