Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.04 KB
/
Copy pathpackage.json
File metadata and controls
77 lines (77 loc) · 2.04 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
{
"name": "customconfirmalert",
"version": "1.2.0",
"description": "Reusable, framework-agnostic, dependency-free Promise-based alert/confirm/prompt dialogs. A polished, accessible, themeable replacement for the visual role of window.alert/confirm/prompt — without overriding them.",
"type": "module",
"main": "./dist/custom-dialog.cjs",
"module": "./dist/custom-dialog.esm.js",
"types": "./types/index.d.ts",
"browser": "./dist/custom-dialog.global.js",
"unpkg": "./dist/custom-dialog.global.min.js",
"jsdelivr": "./dist/custom-dialog.global.min.js",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./dist/custom-dialog.esm.js",
"require": "./dist/custom-dialog.cjs",
"default": "./dist/custom-dialog.esm.js"
},
"./css": "./dist/custom-dialog.css",
"./custom-dialog.css": "./dist/custom-dialog.css",
"./global": "./dist/custom-dialog.global.js",
"./package.json": "./package.json"
},
"sideEffects": [
"*.css"
],
"files": [
"dist",
"src",
"types",
"examples",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"scripts": {
"build": "node scripts/build.mjs",
"demo": "npm run build && node scripts/serve.mjs",
"test": "vitest run",
"test:watch": "vitest",
"prepublishOnly": "npm run build && npm test"
},
"keywords": [
"alert",
"confirm",
"prompt",
"dialog",
"modal",
"confirmation",
"accessible",
"a11y",
"promise",
"vanilla",
"framework-agnostic",
"no-dependencies",
"themeable"
],
"author": "Michael Falk <michael@co-pilot.ca>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/michaeljfalk/customConfirmAlert.git"
},
"bugs": {
"url": "https://github.com/michaeljfalk/customConfirmAlert/issues"
},
"homepage": "https://github.com/michaeljfalk/customConfirmAlert#readme",
"engines": {
"node": ">=16"
},
"dependencies": {},
"devDependencies": {
"esbuild": "^0.24.0",
"jsdom": "^25.0.0",
"vitest": "^2.1.0"
}
}