AFFiNE/package.json
2022-08-26 18:53:58 +08:00

164 lines
5.9 KiB
JSON

{
"name": "toeverything",
"version": "0.0.1",
"license": "MIT",
"author": "AFFiNE <developer@affine.pro>",
"scripts": {
"e2e": "env-cmd -f .github/env/.env.e2e nx e2e ligo-virgo-e2e --watch",
"e2e:ci": "env-cmd -f .github/env/.env.e2e nx e2e ligo-virgo-e2e --prod",
"start": "env-cmd -f .github/env/.env.local-dev nx serve ligo-virgo",
"start:affine": "nx serve ligo-virgo",
"start:keck": "nx serve keck",
"start:venus": "nx serve venus",
"build": "nx build ligo-virgo",
"build:local": "env-cmd -f .github/env/.env.local-dev nx build ligo-virgo",
"build:keck": "nx build keck",
"build:venus": "nx build venus",
"build:analytic": "cross-env BUNDLE_ANALYZER=true nx build --skip-nx-cache",
"build:check": "pnpm exec nx affected --target=build --parallel=2",
"test": "nx run-many --target test --all",
"check": "nx run-many --target check --all",
"add:components": "nx generate @nrwl/react:library --directory=components --buildable --no-component --no-routing --tags=components",
"add:datasource": "nx generate @nrwl/react:library --style=none --directory=datasource --buildable --no-component --no-routing --tags=datasource",
"add:framework": "nx generate @nrwl/react:library --style=none --directory=framework --buildable --no-component --no-routing --tags=framework",
"add:library": "nx generate @nrwl/react:library --style=none --buildable --no-component --no-routing --tags=library",
"notify": "node --experimental-modules tools/notify.mjs",
"lint": "nx run-many --target=lint --all --fix --skip-nx-cache --exclude=components-common,keck,theme",
"lint:with-cache": "nx run-many --target=lint --all --exclude=components-common,keck,theme",
"format": "nx format",
"format:ci": "nx format:check",
"prepare": "husky install"
},
"private": true,
"engines": {
"node": ">=16",
"npm": "please-use-pnpm",
"yarn": "please-use-pnpm",
"pnpm": ">=7"
},
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && git-cz || true"
}
},
"engineStrict": true,
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"@babel/core",
"@babel/preset-env",
"@emotion/react",
"@mui/material",
"babel-loader",
"jest-environment-node",
"mobx",
"rollup",
"webpack",
"react",
"react-dom",
"reflect-metadata",
"rxjs"
],
"allowedVersions": {
"@types/react": "18",
"react": "18",
"react-dom": "18",
"react-test-renderer": "18"
}
}
},
"dependencies": {
"@emotion/react": "^11.9.3",
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.8.6",
"assert": "^2.0.0",
"clsx": "^1.2.1",
"core-js": "^3.25.0",
"got": "^12.3.1",
"level": "^8.0.0",
"level-read-stream": "1.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router": "^6.3.0",
"react-router-dom": "^6.3.0",
"regenerator-runtime": "^0.13.9",
"rxjs": "^7.5.6",
"style9": "^0.14.0",
"tslib": "^2.4.0"
},
"devDependencies": {
"@firebase/auth": "^0.20.5",
"@nrwl/cli": "^14.5.10",
"@nrwl/cypress": "^14.5.10",
"@nrwl/eslint-plugin-nx": "^14.5.10",
"@nrwl/jest": "^14.5.10",
"@nrwl/js": "^14.5.10",
"@nrwl/linter": "^14.5.10",
"@nrwl/node": "^14.5.10",
"@nrwl/nx-cloud": "^14.5.4",
"@nrwl/react": "^14.5.10",
"@nrwl/tao": "^14.5.10",
"@nrwl/web": "^14.5.10",
"@nrwl/workspace": "^14.5.10",
"@portabletext/react": "^1.0.6",
"@svgr/core": "^6.3.1",
"@swc/cli": "^0.1.57",
"@swc/core": "^1.2.244",
"@swc/helpers": "^0.4.11",
"@swc/jest": "^0.2.22",
"@testing-library/react": "^13.3.0",
"@testing-library/react-hooks": "^8.0.1",
"@types/jest": "^28.1.8",
"@types/node": "^18.7.13",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@types/react-router-dom": "^5.3.3",
"@typescript-eslint/eslint-plugin": "^5.30.4",
"@typescript-eslint/parser": "^5.30.4",
"babel-jest": "^28.1.2",
"babel-plugin-open-source": "^1.3.4",
"change-case": "^4.1.2",
"compression-webpack-plugin": "^10.0.0",
"cross-env": "^7.0.3",
"css-minimizer-webpack-plugin": "^4.0.0",
"cz-customizable": "^5.3.0",
"env-cmd": "^10.1.0",
"eslint": "^8.19.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-cypress": "^2.10.3",
"eslint-plugin-filename-rules": "^1.2.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"firebase": "^9.9.3",
"fs-extra": "^10.1.0",
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.1",
"jest": "^28.1.2",
"lint-staged": "^13.0.3",
"nx": "^14.5.10",
"prettier": "^2.7.1",
"react-test-renderer": "^18.2.0",
"svgo": "^2.8.0",
"terser-webpack-plugin": "^5.3.3",
"ts-jest": "^28.0.5",
"ts-node": "^10.8.2",
"typescript": "^4.7.4",
"webpack": "^5.74.0",
"webpack-bundle-analyzer": "^4.5.0"
},
"lint-staged": {
"**/*.{ts,tsx}": [
"eslint --fix"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
}
}
}