Files
xyflow/package.json
2022-08-23 18:10:12 +02:00

62 lines
2.2 KiB
JSON

{
"name": "react-flow",
"description": "A highly customizable React library for building node-based editors and interactive flow charts",
"repository": "git@github.com:wbkd/react-flow.git",
"license": "MIT",
"workspaces": [
"packages/*",
"examples/*"
],
"private": true,
"scripts": {
"postinstall": "preconstruct dev && yarn run packages",
"dev": "preconstruct watch",
"dev:example": "cd examples/nextjs && yarn dev",
"build": "preconstruct build && yarn run packages",
"packages": "yarn workspaces foreach --include '@react-flow/**' run build",
"test:all": "yarn test:chrome && yarn test:firefox",
"test:e2e": "cd examples/nextjs && cypress run",
"test:component": "cd examples/nextjs && cypress run --component",
"test:chrome": "cd examples/nextjs && cypress run --browser chrome",
"test:firefox": "cd examples/nextjs && cypress run --browser firefox",
"test": "yarn build && start-server-and-test dev:example http://localhost:3000 test:component",
"cypress:open": "cd examples/nextjs && cypress open",
"cypress:dev": "yarn build && start-server-and-test dev:example http://localhost:3000 cypress:open",
"release": "changeset publish"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@babel/core": "^7.18.10",
"@babel/plugin-transform-runtime": "^7.18.10",
"@babel/preset-env": "^7.18.10",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@changesets/changelog-github": "^0.4.6",
"@changesets/cli": "^2.24.3",
"@preconstruct/cli": "^2.2.1",
"@typescript-eslint/eslint-plugin": "latest",
"@typescript-eslint/parser": "latest",
"autoprefixer": "^10.4.8",
"cypress": "^10.6.0",
"eslint": "^8.22.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "latest",
"postcss": "^8.4.16",
"postcss-combine-duplicated-selectors": "^10.0.3",
"postcss-import": "^14.1.0",
"postcss-nested": "^5.0.6",
"prettier": "^2.7.1",
"start-server-and-test": "^1.14.0",
"typescript": "^4.7.4"
},
"preconstruct": {
"packages": [
"packages/*"
]
}
}