@svelte-put/modal
Version:
103 lines • 2.57 kB
JSON
{
"name": "@svelte-put/modal",
"version": "1.0.10",
"description": "Svelte async modal",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"svelte": "./dist/index.js",
"import": "./dist/index.js"
},
"./Modal.svelte": {
"types": "./dist/Modal.svelte.d.ts",
"svelte": "./dist/Modal.svelte"
},
"./ModalPortal.svelte": {
"types": "./dist/ModalPortal.svelte.d.ts",
"svelte": "./dist/ModalPortal.svelte"
},
"./modal": {
"types": "./dist/modal.d.ts",
"import": "./dist/modal.js",
"svelte": "./dist/modal.js"
}
},
"types": "dist/index.d.ts",
"typesVersions": {
"*": {
"modal": [
"./dist/modal.d.ts"
],
"Modal.svelte": [
"./dist/Modal.svelte.d.ts"
],
"ModalPortal.svelte": [
"./dist/ModalPortal.svelte.d.ts"
]
}
},
"publishConfig": {
"access": "public"
},
"files": [
"dist"
],
"keywords": [
"svelte",
"component",
"utility",
"modal",
"stacking",
"multiple",
"async",
"await",
"programmatically"
],
"author": {
"email": "vnphanquang@gmail.com",
"name": "Quang Phan",
"url": "https://github.com/vnphanquang"
},
"license": "MIT",
"homepage": "https://github.com/vnphanquang/svelte-put/tree/main/packages/modal",
"repository": {
"type": "git",
"url": "git+https://github.com/vnphanquang/svelte-put.git",
"directory": "packages/modal"
},
"bugs": {
"url": "https://github.com/vnphanquang/svelte-put/issues"
},
"dependencies": {
"@svelte-put/clickoutside": "^3.0.2",
"@svelte-put/movable": "^3.2.1",
"@svelte-put/shortcut": "^3.2.0"
},
"devDependencies": {
"@sveltejs/adapter-auto": "3.2.0",
"@sveltejs/kit": "2.5.5",
"@sveltejs/package": "2.3.1",
"@sveltejs/vite-plugin-svelte": "^3.0.2",
"vite": "^5.2.8",
"@internals/tsconfig": "0.0.0"
},
"peerDependencies": {
"svelte": "^3.55.0 || ^4.0.0"
},
"volta": {
"extends": "../../package.json"
},
"scripts": {
"build": "svelte-kit sync && svelte-package && publint",
"sync": "svelte-kit sync",
"lint": "run-p lint:*",
"lint:svelte": "svelte-check --tsconfig ./tsconfig.json",
"lint:es": "eslint . --ignore-path=\"../../.eslintignore\"",
"lint:style": "stylelint '**/*.{svelte,css}'",
"format": "prettier --ignore-path ../../.prettierignore --write ."
}
}