UNPKG

@rexxars/react-split-pane

Version:
87 lines (86 loc) 2.25 kB
{ "name": "@rexxars/react-split-pane", "description": "React split-pane component", "version": "1.0.0", "sideEffects": false, "type": "module", "exports": { ".": { "source": "./src/index.ts", "import": "./dist/index.js", "require": "./dist/index.cjs", "default": "./dist/index.js" }, "./styles.css": "./src/styles.css", "./package.json": "./package.json" }, "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist", "src" ], "repository": { "type": "git", "url": "https://github.com/rexxars/react-split-pane" }, "license": "MIT", "bugs": { "url": "https://github.com/rexxars/react-split-pane" }, "homepage": "https://github.com/rexxars/react-split-pane", "author": "tomkp <tom@tomkp.com>", "keywords": [ "react", "react-component", "split-pane", "react-split-pane", "es6" ], "scripts": { "prebuild": "npm run clean", "build": "npm run pkg:build && npm run pkg:check", "dev": "vite dev", "pkg:build": "pkg build --strict", "pkg:check": "pkg check --strict", "pkg:watch": "pkg watch --strict", "clean": "rimraf dist", "test": "vitest run", "test:watch": "vitest --watch", "test:coverage": "vitest run --coverage", "prettier": "prettier --write '{src,test}/**/*.js'", "lint": "eslint src test", "prepare": "npm run build" }, "browserslist": "extends @sanity/browserslist-config", "husky": { "hooks": { "pre-commit": "pretty-quick --staged" } }, "devDependencies": { "@sanity/eslint-config-studio": "^5.0.0", "@sanity/pkg-utils": "^6.12.0", "@sanity/semantic-release-preset": "^5.0.0", "@types/react": "^19", "@vitejs/plugin-react": "^4.3.4", "@vitest/browser": "^2.1.8", "eslint": "^9.16.0", "husky": "^4.2.3", "playwright": "^1.49.1", "prettier": "^3.4.2", "pretty-quick": "^4.0.0", "react": "^19", "react-dom": "^19", "rimraf": "^6.0.1", "semantic-release": "^24.2.0", "vite": "^5.0.0", "vitest": "^2.1.8", "vitest-browser-react": "^0.0.4" }, "peerDependencies": { "react": "^18 || ^19", "react-dom": "^18 || ^19" } }