|
| 1 | +{ |
| 2 | + "name": "@masonry-grid/preact", |
| 3 | + "type": "module", |
| 4 | + "version": "1.0.0", |
| 5 | + "description": "A fast, lightweight, and responsive masonry grid layout library for Preact.", |
| 6 | + "author": "dangreen", |
| 7 | + "license": "MIT", |
| 8 | + "homepage": "https://masonry-grid.js.org", |
| 9 | + "funding": "https://ko-fi.com/dangreen", |
| 10 | + "repository": { |
| 11 | + "type": "git", |
| 12 | + "url": "https://github.com/TrigenSoftware/masonry-grid.git", |
| 13 | + "directory": "packages/preact" |
| 14 | + }, |
| 15 | + "bugs": { |
| 16 | + "url": "https://github.com/TrigenSoftware/masonry-grid/issues" |
| 17 | + }, |
| 18 | + "keywords": [ |
| 19 | + "masonry", |
| 20 | + "grid", |
| 21 | + "layout", |
| 22 | + "masonry-grid", |
| 23 | + "responsive", |
| 24 | + "fast", |
| 25 | + "lightweight", |
| 26 | + "preact" |
| 27 | + ], |
| 28 | + "engines": { |
| 29 | + "node": ">=16" |
| 30 | + }, |
| 31 | + "sideEffects": false, |
| 32 | + "exports": { |
| 33 | + "./package.json": "./package.json", |
| 34 | + ".": "./src/index.tsx" |
| 35 | + }, |
| 36 | + "publishConfig": { |
| 37 | + "exports": { |
| 38 | + "./package.json": "./package.json", |
| 39 | + ".": { |
| 40 | + "types": "./dist/index.d.ts", |
| 41 | + "default": "./dist/index.js" |
| 42 | + } |
| 43 | + }, |
| 44 | + "directory": "package", |
| 45 | + "linkDirectory": false |
| 46 | + }, |
| 47 | + "files": [ |
| 48 | + "dist" |
| 49 | + ], |
| 50 | + "scripts": { |
| 51 | + "clear:package": "del ./package", |
| 52 | + "clear:dist": "del ./dist", |
| 53 | + "clear": "del ./package ./dist ./coverage", |
| 54 | + "prepublishOnly": "run build clear:package clean-publish", |
| 55 | + "postpublish": "pnpm clear:package", |
| 56 | + "emitDeclarations": "tsc -p ./tsconfig.build.json --emitDeclarationOnly", |
| 57 | + "build:dist": "run -p emitDeclarations [ vite build ]", |
| 58 | + "build": "run clear:dist build:dist", |
| 59 | + "build:storybook": "storybook build", |
| 60 | + "lint": "eslint --flag v10_config_lookup_from_file", |
| 61 | + "test:install-deps": "playwright install chromium", |
| 62 | + "test:unit": "vitest run --coverage", |
| 63 | + "test:unit:watch": "vitest watch", |
| 64 | + "test:size": "size-limit", |
| 65 | + "test:types": "tsc --noEmit", |
| 66 | + "test": "run -p lint test:unit test:types", |
| 67 | + "storybook": "storybook dev -p 6006 --no-open" |
| 68 | + }, |
| 69 | + "peerDependencies": { |
| 70 | + "preact": "^10.0.0" |
| 71 | + }, |
| 72 | + "dependencies": { |
| 73 | + "@masonry-grid/vanilla": "workspace:^" |
| 74 | + }, |
| 75 | + "devDependencies": { |
| 76 | + "@preact/preset-vite": "^2.9.3", |
| 77 | + "@size-limit/preset-small-lib": "^11.1.2", |
| 78 | + "@storybook/preact": "^9.1.16", |
| 79 | + "@storybook/preact-vite": "^9.1.16", |
| 80 | + "@testing-library/dom": "^10.0.0", |
| 81 | + "@testing-library/jest-dom": "^6.5.0", |
| 82 | + "@testing-library/preact": "^3.2.4", |
| 83 | + "@vitest/browser": "^3.2.4", |
| 84 | + "@vitest/coverage-v8": "^3.0.0", |
| 85 | + "playwright": "^1.56.0", |
| 86 | + "preact": "^10.26.1", |
| 87 | + "size-limit": "^11.1.2", |
| 88 | + "storybook": "^9.1.16", |
| 89 | + "typescript": "^5.3.3", |
| 90 | + "vite": "^7.1.11", |
| 91 | + "vitest": "^3.0.0" |
| 92 | + } |
| 93 | +} |
0 commit comments