UNPKG

react-mosaic-component2

Version:
114 lines (113 loc) 3.67 kB
{ "name": "react-mosaic-component2", "version": "7.0.2", "description": "A React Tiling Window Manager", "license": "Apache-2.0", "main": "./index.mjs", "type": "module", "exports": { "./react-mosaic-component.css": "./react-mosaic-component.css", "./package.json": "./package.json", ".": { "import": "./index.mjs", "default": "./index.cjs" } }, "style": "./react-mosaic-component.css", "repository": { "type": "git", "url": "https://github.com/nomcopter/react-mosaic.git" }, "funding": "https://github.com/nomcopter/react-mosaic?sponsor=1", "keywords": [ "ui", "react", "component", "typescript", "tiling-window-manager", "window-manager" ], "sideEffects": [ "*.css" ], "scripts": { "build": "npm-run-all clean -lp build:** && run-s copy", "build:less": "lessc --autoprefix=defaults styles/index.less react-mosaic-component.css", "build:js": "tsup", "build:check": "tsc --noEmit", "copy": "shx cp package.json ./lib/package.json && shx cp README.md ./lib/README.md && shx cp LICENSE ./lib/LICENSE && shx cp react-mosaic-component.css ./lib/react-mosaic-component.css", "check": "attw --pack lib --entrypoints .", "bundle": "shx rm -rf docs/ && webpack --config webpack/bundle.ts", "clean": "shx rm -rf lib/", "start": "webpack-dev-server --config webpack/hot.ts", "prettier:run": "prettier \"styles/*.less\" \"*.md\" \"{,.}*.yml\" \".circleci/*.yml\"", "test": "npm-run-all build -lp test:**", "test-disabled:lint": "tslint -c tslint.yml -p tsconfig.json -e test", "test:unit": "vitest run", "fix": "npm-run-all -lp fix:**", "fix:format": "yarn run prettier:run --write", "fix:lint": "yarn run test:lint --fix", "version": "npm-run-all test bundle && git add -A docs/" }, "dependencies": { "classnames": "^2.5.1", "dnd-core": "16.0.1", "immutability-helper": "^3.1.1", "lodash-es": "^4.17.21", "prop-types": "^15.8.1", "rdndmb-html5-to-touch": "^9.0.0", "react-dnd": "^16.0.1", "react-dnd-html5-backend": "^16.0.1", "react-dnd-multi-backend": "^9.0.0", "react-dnd-touch-backend": "^16.0.1", "uuid": "^11.1.0" }, "devDependencies": { "@arethetypeswrong/cli": "0.16.1", "@blueprintjs/core": "^5.7.0", "@blueprintjs/icons": "^5.19.1", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.15", "@types/classnames": "^2.3.1", "@types/dom4": "^2.0.2", "@types/lodash-es": "4.17.12", "@types/prop-types": "^15.7.5", "@types/react": "^19.0.10", "@types/react-dom": "^19.0.4", "@types/uuid": "^9.0.0", "@types/webpack": "^5.28.0", "cross-env": "7.0.3", "css-loader": "^6.7.3", "esbuild-plugin-file-path-extensions": "^2.1.2", "html-loader": "^4.2.0", "html-webpack-plugin": "^5.5.0", "jsdom": "^15.2.1", "jsdom-global": "^3.0.2", "less": "^3.13.1", "less-loader": "^11.1.0", "less-plugin-autoprefix": "^2.0.0", "mock-require": "^3.0.3", "npm-run-all": "^4.1.5", "prettier": "2.8.4", "react": "^19.0.0", "react-dom": "^19.0.0", "react-refresh": "^0.14.0", "shx": "0.3.4", "source-map-loader": "^4.0.1", "style-loader": "^3.3.1", "ts-loader": "^9.4.2", "tslint": "^6.1.3", "tslint-config-prettier": "^1.18.0", "tslint-plugin-prettier": "^2.3.0", "tslint-react": "^5.0.0", "tsup": "^8.2.4", "typescript": "5.5.4", "vitest": "^2.0.5", "webpack": "^5.75.0", "webpack-cli": "^5.0.1", "webpack-dev-server": "^4.11.1", "yarn-deduplicate": "^6.0.1" }, "peerDependencies": { "react": "16 - 19" } }