1
0
mirror of synced 2025-12-19 09:57:57 -05:00
Files
blitz/package.json
2021-12-10 13:26:54 +01:00

214 lines
8.3 KiB
JSON

{
"name": "root",
"workspaces": {
"packages": [
"packages/*",
"nextjs",
"nextjs/packages/next",
"nextjs/packages/next-mdx",
"nextjs/packages/installer",
"nextjs/packages/eslint-config-next",
"nextjs/packages/eslint-plugin-next",
"nextjs/packages/next-env",
"examples/*",
"recipes/*"
],
"nohoist": [
"**/@prisma",
"**/@prisma/**"
]
},
"preconstruct": {
"packages": [
"packages/*",
"nextjs/packages/installer",
"!packages/cli",
"!packages/eslint-config"
]
},
"scripts": {
"postinstall": "husky install && patch-package",
"wait:nextjs": "wait-on -d 1000 nextjs/packages/next/dist/build/index.js",
"wait:nextjs-types": "wait-on -d 1000 nextjs/packages/next/dist/build/index.d.ts",
"dev:nextjs": "yarn workspace next dev",
"dev:next-env": "yarn workspace @blitzjs/env dev",
"dev:nextjs-types": "yarn wait:nextjs && yarn workspace next types && echo 'Finished building nextjs types'",
"dev:blitz": "cross-env BLITZ_PROD_BUILD=true preconstruct watch",
"dev:tsc": "yarn dev:nextjs-types && tsc --watch --pretty --preserveWatchOutput",
"dev:cli": "yarn wait:nextjs-types && yarn workspace @blitzjs/cli dev",
"dev:templates": "yarn workspace @blitzjs/generator dev",
"dev": "concurrently --names \"nextjs,blitz,typecheck,cli,templates,next-env\" -c \"magenta,cyan,green,yellow,black,blue\" -p \"{name}\" \"npm:dev:nextjs\" \"npm:dev:blitz\" \"npm:dev:tsc\" \"npm:dev:cli\" \"npm:dev:templates\" \"npm:dev:next-env\"",
"build:nextjs": "yarn workspace next prepublish",
"build:next-env": "yarn workspace @blitzjs/env prepublish",
"build": "yarn build:nextjs && yarn build:next-env && cross-env BLITZ_PROD_BUILD=true preconstruct build && ultra -r --filter \"packages/*\" buildpkg && tsc",
"lint": "eslint --ext \".js,.ts,.tsx\" .",
"link-cli": "yarn workspace blitz link",
"unlink-cli": "yarn workspace blitz unlink",
"test": "yarn run lint && yarn run build && ultra -r test",
"testheadless": "cross-env HEADLESS=true yarn test:integration",
"test:integration": "jest --runInBand",
"test:packages": "yarn run build && yarn testonly:packages",
"test:examples": "yarn run build && yarn testonly:examples",
"test:nextjs-size": "yarn --cwd nextjs testheadless --testPathPattern \"integration/(build-output|size-limit|fallback-modules)\"",
"testonly": "yarn test:packages && yarn test:examples",
"testonly:packages": "ultra -r --filter \"packages/*\" --concurrency 15 test",
"testonly:examples": "ultra -r --filter \"examples/*\" --concurrency 1 test",
"reset": "rimraf node_modules && git clean -xfd packages && git clean -xfd test && git clean -xfd nextjs && yarn",
"publish-prep": "yarn && yarn build",
"prepack": "node scripts/prepack.js",
"postpublish": "rimraf packages/blitz/README.md && git checkout packages/blitz/package.json && git checkout nextjs/packages/next/package.json",
"publish-local": "yarn workspaces run yalc publish",
"publish-canary": "yarn run publish-prep && lerna publish --no-private --force-publish --preid canary --pre-dist-tag canary && manypkg fix && git add . && git commit -m 'bump recipe/example versions (ignore)' --no-verify && git push",
"publish-latest": "yarn run publish-prep && lerna publish --no-private --force-publish && manypkg fix && git add . && git commit -m 'bump recipe/example versions (ignore)' --no-verify && git push",
"publish-danger": "lerna publish --canary --pre-dist-tag danger --preid danger.$(git rev-parse --short HEAD) --allow-branch * --force-publish --no-private --ignore-prepublish",
"pull-nextjs": "git subrepo clean nextjs && git subrepo pull nextjs -v",
"push-nextjs": "git subrepo clean nextjs && git subrepo push nextjs -v",
"postpush-nextjs": "git push"
},
"engines": {
"node": ">=12"
},
"volta": {
"node": "14.18.1",
"yarn": "1.22.17"
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix"
],
"package.json": []
},
"resolutions": {
"@babel/core": "7.12.10",
"webpack": "4.44.1",
"browserslist": "4.16.6",
"caniuse-lite": "1.0.30001274",
"jest": "27.0.0-next.8",
"ts-jest": "27.0.0-next.10"
},
"dependencies": {
"@babel/core": "7.12.10",
"@babel/plugin-proposal-class-properties": "7.12.1",
"@babel/preset-env": "7.12.11",
"@babel/preset-react": "7.12.10",
"@babel/preset-typescript": "7.12.7",
"@juanm04/cpx": "2.0.1",
"@manypkg/cli": "0.17.0",
"@preconstruct/cli": "2.0.7",
"@rollup/pluginutils": "4.1.0",
"@size-limit/preset-small-lib": "4.9.2",
"@testing-library/jest-dom": "5.11.9",
"@testing-library/react": "11.2.5",
"@testing-library/react-hooks": "^4.0.1",
"@testing-library/user-event": "13.1.9",
"@types/b64-lite": "1.3.0",
"@types/cookie": "0.3.3",
"@types/cookie-session": "2.0.42",
"@types/cross-spawn": "6.0.2",
"@types/debug": "4.1.5",
"@types/detect-port": "1.3.0",
"@types/diff": "5.0.0",
"@types/flush-write-stream": "1.0.0",
"@types/from2": "2.3.0",
"@types/fs-extra": "8.1.0",
"@types/get-port": "4.2.0",
"@types/gulp-if": "0.0.33",
"@types/htmlescape": "^1.1.1",
"@types/ink-spinner": "3.0.0",
"@types/jest": "26.0.20",
"@types/jsonwebtoken": "8.5.0",
"@types/lowdb": "1.0.9",
"@types/mem-fs": "1.1.2",
"@types/mem-fs-editor": "7.0.0",
"@types/merge-stream": "1.1.2",
"@types/mock-fs": "4.13.0",
"@types/node": "14.14.22",
"@types/node-fetch": "2.5.8",
"@types/parallel-transform": "1.1.0",
"@types/passport": "1.0.5",
"@types/pluralize": "0.0.29",
"@types/prettier": "2.1.6",
"@types/progress": "^2.0.3",
"@types/pump": "1.1.0",
"@types/pumpify": "1.4.1",
"@types/react": "17.0.2",
"@types/react-dom": "16.9.4",
"@types/readable-stream": "2.3.9",
"@types/rimraf": "3.0.0",
"@types/tar": "4.0.4",
"@types/test-listen": "1.1.0",
"@types/through2": "2.0.36",
"@types/vinyl": "2.0.4",
"@types/vinyl-fs": "2.4.11",
"@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.5.0",
"@wessberg/cjs-to-esm-transformer": "0.0.22",
"@wessberg/rollup-plugin-ts": "1.3.8",
"babel-jest": "27.0.0-next.5",
"babel-plugin-annotate-pure-calls": "0.4.0",
"babel-plugin-dev-expression": "0.2.2",
"babel-plugin-macros": "3.0.1",
"babel-plugin-tester": "10.0.0",
"babel-plugin-transform-inline-environment-variables": "0.4.3",
"concurrently": "6.0.0",
"cross-env": "7.0.3",
"cypress": "6.2.1",
"debug": "4.3.1",
"delay": "4.4.1",
"directory-tree": "2.2.5",
"eslint": "7.21.0",
"eslint-config-react-app": "~6.0.0",
"eslint-plugin-cypress": "2.11.3",
"eslint-plugin-es": "4.1.0",
"eslint-plugin-es5": "1.5.0",
"eslint-plugin-flowtype": "~5.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "3.3.1",
"eslint-plugin-react": "^7.23.1",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-simple-import-sort": "7.0.0",
"eslint-plugin-unicorn": "26.0.1",
"eslint_d": "10.1.3",
"get-port": "5.1.1",
"husky": "5.1.2",
"jest": "27.0.0-next.8",
"lerna": "4.0.0",
"lint-staged": "10.5.4",
"lowdb": "1.0.0",
"mock-fs": "4.13.0",
"nock": "13.0.6",
"npm-run-all": "4.1.5",
"patch-package": "6.2.2",
"postinstall-postinstall": "2.1.0",
"prettier": "2.2.1",
"prettier-plugin-prisma": "0.4.0",
"prompt": "1.1.0",
"react": "0.0.0-experimental-6a589ad71",
"react-dom": "0.0.0-experimental-6a589ad71",
"react-test-renderer": "17.0.1",
"release": "6.3.0",
"rimraf": "^3.0.2",
"rollup": "2.36.1",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-json": "4.0.0",
"rollup-plugin-node-polyfills": "0.2.1",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-peer-deps-external": "2.2.4",
"semver": "7.3.4",
"size-limit": "4.9.2",
"stdout-stderr": "0.1.13",
"strip-ansi": "6.0.0",
"test-listen": "1.1.0",
"tree-kill": "1.2.2",
"ts-jest": "27.0.0-next.10",
"tslib": "2.1.0",
"typescript": "4.5.2",
"ultra-runner": "3.10.5",
"wait-on": "5.2.1",
"yalc": "1.0.0-pre.49"
},
"private": true,
"version": "0.0.0"
}