mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-21 03:51:38 +03:00
164 lines
5.9 KiB
JSON
164 lines
5.9 KiB
JSON
{
|
|
"name": "toeverything",
|
|
"version": "0.0.0",
|
|
"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",
|
|
"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",
|
|
"type:check": "nx build ligo-virgo",
|
|
"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",
|
|
"rollup",
|
|
"webpack",
|
|
"react",
|
|
"react-dom",
|
|
"reflect-metadata",
|
|
"rxjs"
|
|
]
|
|
}
|
|
},
|
|
"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.0",
|
|
"core-js": "^3.23.3",
|
|
"got": "^12.1.0",
|
|
"level": "^8.0.0",
|
|
"level-read-stream": "1.1.0",
|
|
"next": "12.2.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.5",
|
|
"style9": "^0.13.3",
|
|
"tslib": "^2.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@firebase/auth": "^0.20.5",
|
|
"@headlessui/react": "^1.6.5",
|
|
"@heroicons/react": "^1.0.6",
|
|
"@nrwl/cli": "^14.4.0",
|
|
"@nrwl/cypress": "^14.4.0",
|
|
"@nrwl/eslint-plugin-nx": "^14.4.0",
|
|
"@nrwl/jest": "^14.4.0",
|
|
"@nrwl/js": "^14.4.0",
|
|
"@nrwl/linter": "^14.4.0",
|
|
"@nrwl/nest": "^14.4.0",
|
|
"@nrwl/next": "^14.4.0",
|
|
"@nrwl/node": "^14.4.0",
|
|
"@nrwl/nx-cloud": "^14.2.0",
|
|
"@nrwl/react": "^14.4.0",
|
|
"@nrwl/tao": "^14.4.0",
|
|
"@nrwl/web": "^14.4.0",
|
|
"@nrwl/workspace": "^14.4.0",
|
|
"@portabletext/react": "^1.0.6",
|
|
"@svgr/core": "^6.2.1",
|
|
"@swc/cli": "^0.1.57",
|
|
"@swc/core": "^1.2.208",
|
|
"@swc/helpers": "^0.4.3",
|
|
"@swc/jest": "^0.2.21",
|
|
"@testing-library/react": "^13.3.0",
|
|
"@testing-library/react-hooks": "^8.0.1",
|
|
"@types/jest": "^28.1.4",
|
|
"@types/node": "^18.0.1",
|
|
"@types/react": "^18.0.14",
|
|
"@types/react-dom": "^18.0.5",
|
|
"@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",
|
|
"cypress": "^10.4.0",
|
|
"cz-customizable": "^5.3.0",
|
|
"env-cmd": "^10.1.0",
|
|
"eslint": "^8.19.0",
|
|
"eslint-config-next": "12.2.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.2",
|
|
"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.4.0",
|
|
"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"
|
|
}
|
|
}
|
|
}
|