Files
portal_v3/admin/playground/link/playcanvas/pcui-graph-main/package.json
equippedcoding-master e2c98790b2 initial commit
2025-09-17 09:37:06 -05:00

130 lines
4.0 KiB
JSON

{
"name": "@playcanvas/pcui-graph",
"version": "4.0.1",
"author": "PlayCanvas <support@playcanvas.com>",
"homepage": "https://github.com/playcanvas/pcui-graph",
"description": "A PCUI plugin for creating node-based graphs",
"keywords": [
"components",
"css",
"dom",
"graph",
"html",
"javascript",
"nodes",
"pcui",
"playcanvas",
"react",
"sass",
"typescript",
"ui"
],
"license": "MIT",
"main": "dist/pcui-graph.js",
"module": "dist/pcui-graph.mjs",
"types": "types/index.d.ts",
"type": "module",
"bugs": {
"url": "https://github.com/playcanvas/pcui-graph/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/playcanvas/pcui-graph.git"
},
"scripts": {
"build": "cross-env NODE_ENV=production rollup -c --environment target:all && npm run bundle:styles",
"build:docs": "typedoc",
"build:docsite:local": "cd docs && bundle exec jekyll build --config _config_local.yml && cd .. && npm run build:storybook",
"build:docsite:production": "cd docs && bundle exec jekyll build --config _config.yml && cd .. && npm run build:storybook",
"build:storybook": "cross-env ENVIRONMENT=production storybook build -o ./docs/_site/storybook",
"build:types": "tsc --project ./tsconfig.json --declaration --emitDeclarationOnly --outDir types",
"bundle:styles": "scss-bundle -e ./src/styles/style.scss -o ./dist/pcui-graph.scss",
"lint": "eslint src",
"lint:package": "publint",
"lint:styles": "stylelint src/styles/style.scss",
"serve:docs": "serve docs/_site",
"storybook": "storybook dev",
"watch": "rollup -c --environment target:all --watch",
"watch:umd": "rollup -c --environment target:umd --watch",
"watch:module": "rollup -c --environment target:module --watch"
},
"files": [
"dist/pcui-graph.js",
"dist/pcui-graph.mjs",
"dist/pcui-graph.scss",
"package.json",
"README.md",
"LICENSE",
"styles",
"types"
],
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/core": "7.26.8",
"@babel/preset-env": "7.26.8",
"@babel/preset-react": "7.26.3",
"@babel/plugin-proposal-private-property-in-object": "7.21.11",
"@playcanvas/eslint-config": "2.0.9",
"@playcanvas/observer": "1.4.0",
"@playcanvas/pcui": "4.1.2",
"@rollup/plugin-alias": "5.1.1",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "28.0.2",
"@rollup/plugin-node-resolve": "16.0.0",
"@rollup/plugin-terser": "0.4.4",
"@storybook/addon-actions": "^8.5.4",
"@storybook/addon-backgrounds": "^8.5.4",
"@storybook/addon-controls": "^8.5.4",
"@storybook/addon-docs": "^8.5.4",
"@storybook/addon-links": "^8.5.4",
"@storybook/preset-create-react-app": "^8.5.4",
"@storybook/react": "^8.5.4",
"@storybook/react-webpack5": "^8.5.4",
"@storybook/test": "8.5.4",
"@types/react": "19.0.8",
"babel-loader": "9.2.1",
"backbone": "1.6.0",
"cross-env": "7.0.3",
"eslint": "9.20.1",
"globals": "15.14.0",
"jointjs": "3.7.7",
"jquery": "3.7.1",
"lodash": "4.17.21",
"prop-types": "15.8.1",
"publint": "0.3.4",
"rollup": "4.34.6",
"rollup-plugin-jscc": "2.0.0",
"rollup-plugin-node-builtins": "2.1.2",
"rollup-plugin-node-globals": "1.4.0",
"rollup-plugin-postcss": "4.0.2",
"sass-loader": "14.0.0",
"scss-bundle": "3.1.2",
"serve": "14.2.4",
"storybook": "^8.5.4",
"stylelint": "16.14.1",
"stylelint-config-standard-scss": "14.0.0",
"typedoc": "0.25.8",
"typedoc-plugin-mdn-links": "3.1.16",
"typedoc-plugin-rename-defaults": "0.7.0",
"typescript": "4.9.5"
},
"peerDependencies": {
"react": "^18.2.0 || ^19.0.0",
"react-dom": "^18.2.0 || ^19.0.0"
},
"directories": {
"doc": "docs"
}
}