{ "name": "@playcanvas/pcui", "version": "5.1.0", "author": "PlayCanvas ", "homepage": "https://playcanvas.github.io/pcui", "description": "User interface component library for the web", "keywords": [ "components", "css", "dom", "html", "javascript", "pcui", "playcanvas", "react", "sass", "typescript", "ui" ], "license": "MIT", "main": "dist/module/src/index.mjs", "types": "types/index.d.ts", "exports": { ".": { "types": "./types/index.d.ts", "import": "./dist/module/src/index.mjs" }, "./react": { "types": "./react/types/index.d.ts", "import": "./react/dist/module/src/index.mjs" }, "./styles": { "import": "./styles/dist/index.mjs" } }, "type": "module", "bugs": { "url": "https://github.com/playcanvas/pcui/issues" }, "repository": { "type": "git", "url": "git+https://github.com/playcanvas/pcui.git" }, "files": [ "dist", "types", "react/dist", "react/types", "react/package.json", "styles" ], "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] }, "dependencies": { "@playcanvas/observer": "^1.5.1" }, "devDependencies": { "@babel/preset-env": "7.26.8", "@babel/preset-react": "7.26.3", "@babel/preset-typescript": "7.26.0", "@babel/plugin-proposal-private-property-in-object": "7.21.11", "@playcanvas/eslint-config": "2.0.9", "@rollup/plugin-node-resolve": "16.0.0", "@rollup/plugin-replace": "6.0.2", "@rollup/plugin-typescript": "12.1.2", "@storybook/addon-essentials": "8.5.4", "@storybook/addon-webpack5-compiler-swc": "2.0.0", "@storybook/react": "8.5.4", "@storybook/react-webpack5": "8.5.4", "@types/estree": "1.0.6", "@types/react": "19.0.8", "@types/react-dom": "19.0.3", "@typescript-eslint/eslint-plugin": "8.24.0", "@typescript-eslint/parser": "8.24.0", "autoprefixer": "10.4.20", "concurrently": "9.1.2", "cross-env": "7.0.3", "css-loader": "7.1.2", "eslint": "9.20.1", "eslint-import-resolver-typescript": "3.7.0", "global-jsdom": "26.0.0", "globals": "15.14.0", "jsdom": "26.0.0", "playcanvas": "2.5.0", "postcss": "8.5.2", "prop-types": "15.8.1", "publint": "0.3.4", "rollup": "4.34.6", "rollup-plugin-sass": "1.15.2", "sass-loader": "16.0.4", "scss-bundle": "3.1.2", "serve": "14.2.4", "storybook": "8.5.4", "style-loader": "4.0.0", "stylelint": "16.14.1", "stylelint-config-standard-scss": "14.0.0", "typedoc": "0.27.7", "typedoc-plugin-mdn-links": "4.0.12", "typescript": "5.7.3" }, "peerDependencies": { "react": "^18.3.1 || ^19.0.0", "react-dom": "^18.3.1 || ^19.0.0" }, "scripts": { "build": "rollup -c && npm run bundle:styles", "build:es6": "rollup -c --environment target:es6", "build:icons": "cd ./utils && node ./build-font-icons.mjs", "build:react:es6": "rollup -c --environment target:react:es6", "build:storybook": "cross-env ENVIRONMENT=production storybook build -o storybook", "build:styles": "rollup -c --environment target:styles", "build:types": "tsc --project ./tsconfig.json --declaration --emitDeclarationOnly --outDir types && tsc --project ./react/tsconfig.json --declaration --emitDeclarationOnly --outDir ./react/types", "bundle:styles": "scss-bundle -e ./src/scss/pcui-theme-grey.scss -o ./dist/pcui-theme-grey.scss && scss-bundle -e ./src/scss/pcui-theme-green.scss -o ./dist/pcui-theme-green.scss", "develop": "cross-env concurrently --kill-others \"npm run watch\" \"npm run serve\"", "docs": "typedoc", "lint": "eslint src", "lint:package": "publint", "lint:styles": "stylelint src/**/*.scss", "serve": "serve", "storybook": "storybook dev -p 9000", "test": "node --test", "watch": "rollup -c -w", "watch:es6": "rollup -c -w --environment target:es6", "watch:react:es6": "rollup -c -w --environment target:react:es6", "watch:styles": "rollup -c -w --environment target:styles" }, "engines": { "node": ">=18.0.0" } }