-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.36 KB
/
Copy pathpackage.json
File metadata and controls
88 lines (88 loc) · 2.36 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
{
"name": "awaitable-component",
"version": "1.0.0",
"description": "Show React components and await a result – turn any component (modals, dialogs, prompts, ...) into an async function",
"publishConfig": {
"access": "public",
"provenance": true
},
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js"
}
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"scripts": {
"build": "tsup",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "eslint src tests",
"lint:fix": "eslint src tests --fix",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.tsx\"",
"format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.tsx\"",
"prepublishOnly": "npm run test && npm run build",
"typecheck": "tsc --noEmit && tsc --project tsconfig.test.json"
},
"keywords": [
"react",
"promise",
"async",
"await",
"dialog",
"modal",
"component",
"typescript"
],
"author": "schroda",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/schroda/awaitable-component"
},
"bugs": {
"url": "https://github.com/schroda/awaitable-component/issues"
},
"homepage": "https://github.com/schroda/awaitable-component#readme",
"peerDependencies": {
"react": ">=18.0.0"
},
"devDependencies": {
"@eslint/js": "9.39.1",
"@testing-library/jest-dom": "6.9.1",
"@testing-library/react": "16.3.0",
"@testing-library/user-event": "14.6.1",
"@types/node": "24.10.1",
"@types/react": "19.2.5",
"@typescript-eslint/eslint-plugin": "8.46.4",
"@typescript-eslint/parser": "8.46.4",
"@vitest/coverage-v8": "4.0.9",
"eslint": "9.39.1",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-headers": "1.3.3",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-no-relative-import-paths": "1.6.1",
"eslint-plugin-prettier": "5.5.4",
"eslint-plugin-unused-imports": "4.3.0",
"jsdom": "27.2.0",
"prettier": "3.6.2",
"react": "19.2.0",
"tsup": "8.5.1",
"typescript": "5.9.3",
"vitest": "4.0.9"
},
"engines": {
"node": ">=20.0.0"
}
}