-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 3.17 KB
/
package.json
File metadata and controls
96 lines (96 loc) · 3.17 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
{
"name": "@doist/todoist-sdk",
"version": "10.0.0",
"description": "The official TypeScript SDK for the Todoist REST API.",
"author": "Doist developers",
"repository": "https://github.com/Doist/todoist-sdk-typescript",
"homepage": "https://doist.github.io/todoist-sdk-typescript/",
"license": "MIT",
"type": "module",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"publishConfig": {
"access": "public",
"provenance": true
},
"sideEffects": false,
"engines": {
"node": ">=20.18.1"
},
"scripts": {
"clean": "rimraf dist",
"check": "oxlint src && oxfmt --check",
"check:fix": "oxlint src --fix && oxfmt",
"ts-compile-check": "npx tsc -p tsconfig.typecheck.json",
"audit": "npm audit --audit-level=moderate",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"api:request": "node ./scripts/todoist-api-request.cjs",
"build:cjs": "npx tsc -p tsconfig.cjs.json",
"build:esm": "npx tsc -p tsconfig.esm.json",
"build:fix-esm": "node scripts/fix-esm-imports.cjs",
"build:fix-dts": "node scripts/fix-dts-imports.cjs",
"build:post": "echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"build": "npm-run-all clean build:cjs build:esm build:fix-esm build:fix-dts build:post",
"attw": "npx @arethetypeswrong/cli --pack --ignore-rules fallback-condition false-esm",
"integrity-checks": "npm-run-all clean check test build attw",
"prepublishOnly": "npm run integrity-checks",
"prepare": "npm run build"
},
"dependencies": {
"camelcase": "6.3.0",
"emoji-regex": "10.6.0",
"form-data": "4.0.5",
"ts-custom-error": "^3.2.0",
"undici": "^7.16.0",
"uuid": "11.1.0",
"zod": "4.3.6"
},
"devDependencies": {
"@semantic-release/changelog": "6.0.3",
"@semantic-release/git": "10.0.1",
"conventional-changelog-conventionalcommits": "9.3.1",
"dotenv": "17.4.1",
"husky": "9.1.7",
"lint-staged": "16.4.0",
"msw": "2.13.2",
"npm-run-all2": "8.0.4",
"obsidian": "^1.10.2-1",
"oxfmt": "0.43.0",
"oxlint": "1.57.0",
"rimraf": "6.1.3",
"semantic-release": "25.0.3",
"ts-node": "10.9.2",
"type-fest": "^5.0.0",
"typescript": "5.9.3",
"vitest": "4.0.14"
},
"peerDependencies": {
"type-fest": "^4.12.0 || ^5.5.0"
},
"husky": {
"hooks": {
"pre-commit": "npx lint-staged && npm run build"
}
},
"lint-staged": {
"*.{ts,tsx}": "oxlint --fix",
"*.{ts,tsx,json,md,yml,yaml}": "oxfmt --no-error-on-unmatched-pattern"
},
"files": [
"dist/cjs/**/*",
"dist/esm/**/*",
"dist/types/**/*",
"!dist/**/*.test.js",
"!dist/**/*.test.d.ts"
]
}