-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 3.51 KB
/
package.json
File metadata and controls
99 lines (99 loc) · 3.51 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
{
"name": "@doist/todoist-api-typescript",
"version": "7.0.0",
"description": "A typescript wrapper for the Todoist REST API.",
"author": "Doist developers",
"repository": "https://github.com/Doist/todoist-api-typescript",
"homepage": "https://doist.github.io/todoist-api-typescript/",
"license": "MIT",
"type": "module",
"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"
}
},
"sideEffects": false,
"engines": {
"node": ">=20.0.0"
},
"scripts": {
"clean": "rimraf dist",
"format-check": "npx prettier --check \"./**/*.{ts,tsx,json,md,yml,babelrc,html}\" --ignore-path .prettierignore",
"format-fix": "npx prettier --write \"./**/*.{ts,tsx,json,md,yml,babelrc,html}\" --ignore-path .prettierignore",
"lint": "eslint ./src --ext ts,tsx --fix",
"lint-check": "eslint ./src --ext ts,tsx",
"ts-compile-check": "npx tsc -p tsconfig.typecheck.json",
"audit": "npm audit --audit-level=moderate",
"test": "jest",
"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 format-check lint-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": {
"@doist/eslint-config": "12.0.0",
"@doist/prettier-config": "4.0.0",
"@types/jest": "30.0.0",
"@typescript-eslint/eslint-plugin": "8.46.3",
"@typescript-eslint/parser": "8.46.3",
"dotenv": "17.3.1",
"eslint": "10.0.3",
"eslint-config-prettier": "8.7.0",
"eslint-import-resolver-webpack": "0.13.2",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-prettier": "5.1.3",
"husky": "9.1.7",
"jest": "30.1.3",
"lint-staged": "16.2.7",
"msw": "2.12.10",
"npm-run-all2": "8.0.4",
"obsidian": "^1.10.2-1",
"prettier": "3.3.2",
"rimraf": "6.1.2",
"ts-jest": "29.4.6",
"ts-node": "10.9.2",
"type-fest": "^5.0.0",
"typescript": "5.9.3"
},
"peerDependencies": {
"type-fest": "^4.12.0"
},
"prettier": "@doist/prettier-config",
"husky": {
"hooks": {
"pre-commit": "npx lint-staged && npm run build"
}
},
"lint-staged": {
"*.{ts,tsx}": "eslint --fix",
"*.{ts,tsx,json,html,yml,yaml,md}": "prettier --check"
},
"files": [
"dist/cjs/**/*",
"dist/esm/**/*",
"dist/types/**/*",
"!dist/**/*.test.js",
"!dist/**/*.test.d.ts"
]
}