* refactor(css): only load base styles, add css task, cleanup exports * style(base): add edge label bg * refactor(css): use css-utils * feat(core): add Panel component * refactor(background): cleanup * refactor(css-handling): cleanup
43 lines
1.3 KiB
JSON
43 lines
1.3 KiB
JSON
{
|
|
"name": "react-flow",
|
|
"version": "11.0.0",
|
|
"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:chrome": "cypress run --browser chrome",
|
|
"test:firefox": "cypress run --browser firefox",
|
|
"test": "yarn build && start-server-and-test dev:example http://localhost:3000 test:chrome"
|
|
},
|
|
"dependencies": {
|
|
"react": "^18.1.0",
|
|
"react-dom": "^18.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.18.2",
|
|
"@babel/preset-env": "^7.18.2",
|
|
"@babel/preset-react": "^7.17.12",
|
|
"@babel/preset-typescript": "^7.17.12",
|
|
"@preconstruct/cli": "^2.1.8",
|
|
"cypress": "^10.3.1",
|
|
"start-server-and-test": "^1.14.0",
|
|
"typescript": "^4.7.4"
|
|
},
|
|
"preconstruct": {
|
|
"packages": [
|
|
"packages/*"
|
|
]
|
|
}
|
|
}
|