{ "private": true, "name": "root", "workspaces": { "packages": [ "packages/*", "demo" ] }, "scripts": { "prepare": "husky install", "watch": "lerna run watch --parallel", "watch:demo": "nodemon --watch \"./packages/*/lib/**/*.*\" --exec \"yarn start --no-open\"", "build": "yarn build-packages && yarn build-demo", "build-packages": "lerna run build --no-private --stream", "build-demo": "yarn workspace demo build", "serve": "yarn workspace demo serve", "start": "yarn workspace demo start", "cy:run": "cypress run", "cy:open": "cypress open", "format": "prettier . --check --ignore-unknown --ignore-path .gitignore", "lint": "eslint . --ignore-path .gitignore --ext .ts,.tsx,.js", "test": "jest", "test:cypress:dev": "start-server-and-test watch:demo http://localhost:3000 cy:open", "test:cypress": "start-server-and-test serve http://localhost:3000 cy:run", "release:changelog": "scripts/changelog.ts", "release:version": "scripts/version.ts", "release:publish": "scripts/publish.ts", "clean": "rm -rf node_modules build demo/.docusaurus demo/build demo/node_modules && find packages -name node_modules -type d -maxdepth 2 -exec rm -rf {} + && find packages -name dist -type d -maxdepth 2 -exec rm -rf {} + && find packages -name lib -type d -maxdepth 2 -exec rm -rf {} + && find packages -name lib-next -type d -maxdepth 2 -exec rm -rf {} +" }, "devDependencies": { "@babel/cli": "^7.16.0", "@babel/core": "^7.16.0", "@babel/eslint-parser": "^7.16.3", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.0", "@babel/plugin-proposal-optional-chaining": "^7.16.0", "@babel/plugin-transform-modules-commonjs": "^7.16.0", "@babel/preset-typescript": "^7.16.0", "@testing-library/cypress": "^8.0.1", "@types/jest": "^27.0.2", "@types/node": "^18.0.0", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "babel-eslint": "^10.0.0", "cross-env": "^7.0.3", "cypress": "^8.7.0", "eslint": "^7.5.0", "eslint-config-react-app": "^6.0.0", "eslint-plugin-cypress": "^2.12.1", "eslint-plugin-flowtype": "^5.2.0", "eslint-plugin-header": "^3.1.1", "eslint-plugin-import": "^2.22.0", "eslint-plugin-jest": "^25.0.6", "eslint-plugin-jest-dom": "^3.9.2", "eslint-plugin-jsx-a11y": "^6.3.1", "eslint-plugin-react": "^7.20.3", "eslint-plugin-react-hooks": "^4.0.8", "eslint-plugin-testing-library": "^4.12.4", "husky": "^7.0.2", "jest": "^27.3.1", "lerna": "^9.0.0", "lint-staged": "^11.2.3", "nodemon": "^2.0.15", "prettier": "^2.4.1", "semver": "^7.3.5", "start-server-and-test": "^1.14.0", "ts-jest": "^27.0.6", "ts-node": "^10.9.1", "typescript": "^5.2.2" }, "lint-staged": { "**/*": "prettier --write --ignore-unknown" }, "engines": { "node": ">=14" } }