@substrate-system/dialog 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +168 -0
- package/README.md +122 -0
- package/dist/index.cjs +432 -0
- package/dist/index.cjs.map +7 -0
- package/dist/index.css +164 -0
- package/dist/index.d.ts +50 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +413 -0
- package/dist/index.js.map +7 -0
- package/dist/index.min.css +1 -0
- package/dist/index.min.js +1 -0
- package/dist/meta.json +36 -0
- package/package.json +89 -0
package/package.json
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@substrate-system/dialog",
|
|
3
|
+
"version": "0.0.4",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"description": "Modal dialog window",
|
|
7
|
+
"files": [
|
|
8
|
+
"./dist/*"
|
|
9
|
+
],
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"import": "./dist/index.js",
|
|
14
|
+
"require": "./dist/index.cjs"
|
|
15
|
+
},
|
|
16
|
+
"./*": {
|
|
17
|
+
"import": [
|
|
18
|
+
"./dist/*.js",
|
|
19
|
+
"./dist/*"
|
|
20
|
+
],
|
|
21
|
+
"require": [
|
|
22
|
+
"./dist/*.cjs",
|
|
23
|
+
"./dist/*"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"scripts": {
|
|
28
|
+
"lint": "eslint \"./**/*.{ts,js}\"",
|
|
29
|
+
"test": "esbuild --bundle ./test/index.ts | tapout",
|
|
30
|
+
"build-cjs": "esbuild src/*.ts --format=cjs --keep-names --tsconfig=tsconfig.build.json --outdir=./dist --out-extension:.js=.cjs --sourcemap",
|
|
31
|
+
"build-esm": "esbuild src/*.ts --format=esm --metafile=dist/meta.json --keep-names --tsconfig=tsconfig.build.json --outdir=./dist --sourcemap && tsc --emitDeclarationOnly --project tsconfig.build.json --outDir dist",
|
|
32
|
+
"build-esm:min": "esbuild ./src/index.ts --format=esm --keep-names --bundle --tsconfig=tsconfig.build.json --minify --outfile=./dist/index.min.js && node ./build/minify.js ./dist",
|
|
33
|
+
"build-example": "mkdir -p ./public && rm -rf ./public/* && vite --base=\"/modal\" build",
|
|
34
|
+
"build-docs": "typedoc --tsconfig tsconfig.build.json ./src/index.ts",
|
|
35
|
+
"build-css": "lightningcss --nesting src/index.css -o dist/index.css",
|
|
36
|
+
"build-css:min": "lightningcss --nesting --minify src/index.css -o dist/index.min.css",
|
|
37
|
+
"build": "mkdir -p ./dist && rm -rf ./dist/* && npm run build-cjs && npm run build-esm && npm run build-esm:min && npm run build-css && npm run build-css:min",
|
|
38
|
+
"toc": "markdown-toc --maxdepth 3 -i README.md",
|
|
39
|
+
"start": "vite",
|
|
40
|
+
"preversion": "npm run lint",
|
|
41
|
+
"version": "npm run toc && auto-changelog -p --template keepachangelog --breaking-pattern 'BREAKING CHANGE:' && git add CHANGELOG.md README.md",
|
|
42
|
+
"postversion": "git push --follow-tags && npm publish",
|
|
43
|
+
"prepublishOnly": "npm run build"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@substrate-system/web-component": "^0.0.38"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@substrate-system/debug": "^0.9.49",
|
|
50
|
+
"@substrate-system/dom": "^0.1.13",
|
|
51
|
+
"@substrate-system/tapout": "^0.0.33",
|
|
52
|
+
"@substrate-system/tapzero": "^0.10.16",
|
|
53
|
+
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
54
|
+
"@typescript-eslint/parser": "^8.0.0",
|
|
55
|
+
"auto-changelog": "^2.5.0",
|
|
56
|
+
"esbuild": "^0.27.0",
|
|
57
|
+
"eslint": "^8.57.0",
|
|
58
|
+
"eslint-config-standard": "^17.1.0",
|
|
59
|
+
"lightningcss": "^1.30.2",
|
|
60
|
+
"lightningcss-cli": "^1.30.2",
|
|
61
|
+
"markdown-toc": "^1.2.0",
|
|
62
|
+
"postcss": "^8.5.2",
|
|
63
|
+
"postcss-cli": "^11.0.0",
|
|
64
|
+
"postcss-nesting": "^13.0.1",
|
|
65
|
+
"tap-spec": "^5.0.0",
|
|
66
|
+
"typedoc": "^0.28.1",
|
|
67
|
+
"typescript": "^5.7.3",
|
|
68
|
+
"vite": "^7.1.3"
|
|
69
|
+
},
|
|
70
|
+
"author": "nichoth <nichoth@nichoth.com> (https://nichoth.com)",
|
|
71
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
72
|
+
"directories": {
|
|
73
|
+
"example": "example",
|
|
74
|
+
"test": "test"
|
|
75
|
+
},
|
|
76
|
+
"repository": {
|
|
77
|
+
"type": "git",
|
|
78
|
+
"url": "git+https://github.com/nichoth/modal.git"
|
|
79
|
+
},
|
|
80
|
+
"keywords": [
|
|
81
|
+
"modal",
|
|
82
|
+
"web",
|
|
83
|
+
"component"
|
|
84
|
+
],
|
|
85
|
+
"bugs": {
|
|
86
|
+
"url": "https://github.com/nichoth/modal/issues"
|
|
87
|
+
},
|
|
88
|
+
"homepage": "https://github.com/nichoth/modal"
|
|
89
|
+
}
|