UNPKG

svelte-tree-view

Version:

Display JSON objects in a customizable tree-view

86 lines 2.34 kB
{ "name": "svelte-tree-view", "version": "1.4.2", "description": "Display JSON objects in a customizable tree-view", "author": "Teemu Koivisto <teemukoivisto.xyz@gmail.com>", "license": "MIT", "homepage": "https://github.com/TeemuKoivisto/svelte-tree-view", "main": "./dist/index.cjs", "module": "./dist/index.js", "svelte": "./pkg/index.js", "type": "module", "types": "./pkg/types.d.ts", "exports": { "./package.json": "./package.json", ".": { "types": "./pkg/types.d.ts", "svelte": "./pkg/index.js", "import": "./dist/index.js", "require": "./dist/index.cjs" } }, "devDependencies": { "@sveltejs/kit": "^1.22.3", "@sveltejs/package": "^2.2.0", "@sveltejs/vite-plugin-svelte": "^2.4.2", "@testing-library/cypress": "^9.0.0", "@testing-library/jest-dom": "^5.17.0", "@testing-library/svelte": "^4.0.3", "@types/testing-library__jest-dom": "^5.14.8", "cypress": "12.17.1", "jsdom": "^22.1.0", "postcss": "^8.4.26", "sass": "^1.64.0", "svelte": "^4.1.0", "svelte-check": "^3.4.6", "svelte-preprocess": "^5.0.4", "svelte2tsx": "^0.6.19", "tslib": "^2.6.0", "typescript": "^5.1.6", "vite": "^4.4.4", "vitest": "^0.33.0" }, "dependencies": {}, "peerDependencies": { "svelte": ">=3" }, "files": [ "pkg", "dist", "LICENSE", "README.md" ], "repository": { "type": "git", "url": "git+https://github.com/TeemuKoivisto/svelte-tree-view.git" }, "bugs": { "url": "https://github.com/TeemuKoivisto/svelte-tree-view/issues" }, "keywords": [ "svelte", "tree-view", "json-tree", "typescript", "tree", "json", "base16", "theme" ], "publishConfig": { "access": "public" }, "scripts": { "build": "pnpm build:pkg && pnpm build:dist", "build:dist": "vite build --config vite.config.dist.ts", "build:pkg": "svelte-kit sync && svelte-package -o pkg", "watch:pkg": "svelte-package --watch -o pkg", "dev": "vite", "preversion": "pnpm svelte-check && pnpm test && pnpm build", "svelte-check": "svelte-check", "test": "pnpm test:unit && pnpm test:e2e", "test:unit": "vitest run src", "test:e2e": "cypress run --browser=chrome --config baseUrl=http://localhost:5185", "cy": "cypress" } }