79 lines
3.3 KiB
JSON
79 lines
3.3 KiB
JSON
{
|
|
"name": "refinejs-repo",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"author": "refine",
|
|
"scripts": {
|
|
"lerna": "lerna",
|
|
"changeset": "changeset",
|
|
"prepare": "husky install",
|
|
"start": "lerna run start --stream --parallel --scope @refinedev/core",
|
|
"start:docs": "concurrently \"cd documentation && npm run start\" \"npm run start -- --scope @refinedev/live-previews\" --names docs,live --prefix-colors blue,red",
|
|
"build": "lerna run build --include-dependencies --scope @refinedev/core",
|
|
"build:all": "lerna run build --ignore=\"monorepo-*\" --ignore with-nx --scope @refinedev/* --scope create-refine-app",
|
|
"bootstrap": "lerna bootstrap --hoist --strict --ignore-scripts --include-dependencies",
|
|
"bootstrap:all": "lerna bootstrap --hoist --strict --ignore-scripts --ignore=\"monorepo-*\" --ignore with-nx --scope @refinedev/* --scope create-refine-app",
|
|
"nuke": "echo 'Removing all node_modules, builds and lockfiles'; npm run nuke:node_modules; npm run nuke:builds; npm run nuke:lockfiles;",
|
|
"coffee": "npm run nuke && npm i && npm run bootstrap:all && npm run build:all",
|
|
"nuke:builds": "lerna exec -- rm -rf dist && lerna exec -- rm -rf .next && lerna exec -- rm -rf build",
|
|
"nuke:lockfiles": "lerna exec --ignore @refinedev/codemod -- rm -rf package-lock.json && lerna exec --ignore @refinedev/codemod -- rm -rf yarn.lock && lerna exec --ignore @refinedev/codemod -- rm -rf pnpm-lock.yaml",
|
|
"nuke:node_modules": "lerna clean --yes",
|
|
"lint": "eslint -c ./.eslintrc packages examples",
|
|
"bootstrap:codemod": "cd packages/codemod && npm ci && cd ../..",
|
|
"lint:fix": "eslint -c ./.eslintrc --quiet --fix --cache packages examples",
|
|
"lint:staged": "lint-staged",
|
|
"test": "lerna run test --stream --scope @refinedev/core",
|
|
"test:all": "lerna run test --stream --scope @refinedev/* --scope create-refine-app",
|
|
"test:coverage": "npm run test --stream -- -- --coverage",
|
|
"test:all:coverage": "npm run test:all --stream -- -- --coverage"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx}": [
|
|
"eslint -c ./.eslintrc --quiet --fix --cache"
|
|
],
|
|
"*.{md,mdx}": [
|
|
"prettier --config ./.prettierrc --write"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/changelog-github": "^0.4.6",
|
|
"@changesets/cli": "^2.24.3",
|
|
"@commitlint/cli": "^17.0.1",
|
|
"@commitlint/config-conventional": "^17.0.0",
|
|
"@lerna/filter-options": "^6.2.0",
|
|
"@netlify/plugin-nextjs": "4.32.2",
|
|
"@nrwl/nx-cloud": "^16.0.4",
|
|
"@types/jest": "^29.2.4",
|
|
"@types/react": "^18.0.0",
|
|
"@types/react-dom": "^18.0.0",
|
|
"@typescript-eslint/eslint-plugin": "5.48.0",
|
|
"@typescript-eslint/parser": "5.48.0",
|
|
"concurrently": "^7.4.0",
|
|
"cypress": "^13.6.3",
|
|
"eslint": "^8.24.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-import": "^2.29.1",
|
|
"eslint-plugin-react": "^7.31.8",
|
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
"husky": "^8.0.1",
|
|
"jest": "^29.3.1",
|
|
"jest-environment-jsdom": "^29.3.1",
|
|
"lerna": "^6.1.0",
|
|
"lint-staged": "^10.5.4",
|
|
"port-pid": "^0.0.7",
|
|
"prettier": "^2.7.1",
|
|
"react": "^18.0.0",
|
|
"react-dom": "^18.0.0",
|
|
"react-refresh": "^0.11.0",
|
|
"ts-jest": "^29.0.3",
|
|
"typescript": "^4.7.4"
|
|
},
|
|
"engines": {
|
|
"node": ">=16"
|
|
},
|
|
"dependencies": {
|
|
"pidtree": "^0.6.0",
|
|
"wait-on": "^7.0.1"
|
|
}
|
|
}
|