45 lines
1.3 KiB
JSON
45 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": {
|
|
"dev": "preconstruct watch",
|
|
"dev:example": "cd examples/nextjs && yarn dev",
|
|
"postinstall": "preconstruct dev",
|
|
"build": "preconstruct 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",
|
|
"autoprefixer": "^10.4.7",
|
|
"cypress": "^10.3.1",
|
|
"postcss": "^8.4.14",
|
|
"postcss-nested": "^5.0.6",
|
|
"start-server-and-test": "^1.14.0",
|
|
"typescript": "^4.7.4"
|
|
},
|
|
"preconstruct": {
|
|
"packages": [
|
|
"packages/*"
|
|
]
|
|
}
|
|
}
|