mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
71 lines
2.5 KiB
JSON
71 lines
2.5 KiB
JSON
{
|
|
"name": "@logto/root",
|
|
"private": true,
|
|
"license": "MPL-2.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"pnpm:devPreinstall": "cd packages/connectors && node templates/sync-preset.js",
|
|
"prepare": "if test \"$NODE_ENV\" != \"production\" && test \"$CI\" != \"true\" ; then husky ; fi",
|
|
"prepack": "pnpm -r prepack",
|
|
"dev": "pnpm -r prepack && pnpm start:dev",
|
|
"dev:cloud": "IS_CLOUD=1 CONSOLE_PUBLIC_URL=/ pnpm dev",
|
|
"start:dev": "pnpm -r --parallel --filter=!@logto/integration-tests --filter=!@logto/experience-legacy --filter \"!./packages/connectors/connector-*\" dev",
|
|
"start": "cd packages/core && NODE_ENV=production node .",
|
|
"cli": "logto",
|
|
"translate": "logto-translate",
|
|
"changeset": "changeset",
|
|
"alteration": "logto db alt",
|
|
"connectors": "pnpm -r --filter \"./packages/connectors/connector-*\"",
|
|
"//": "# `changeset version` won't run version lifecycle scripts, see https://github.com/changesets/changesets/issues/860",
|
|
"ci:version": "changeset version && pnpm -r version",
|
|
"ci:build": "pnpm -r build",
|
|
"ci:lint": "pnpm -r --parallel --workspace-concurrency=0 lint",
|
|
"ci:stylelint": "pnpm -r --parallel --workspace-concurrency=0 stylelint",
|
|
"ci:test": "pnpm -r --parallel --workspace-concurrency=0 test:ci"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/cli": "^2.26.2",
|
|
"@commitlint/cli": "^19.0.0",
|
|
"@commitlint/config-conventional": "^19.0.0",
|
|
"@commitlint/types": "^19.0.0",
|
|
"@types/pg": "^8.6.6",
|
|
"husky": "^9.0.0",
|
|
"pg": "^8.8.0",
|
|
"tsup": "^8.3.0",
|
|
"typescript": "^5.0.0",
|
|
"vite": "^6.0.3"
|
|
},
|
|
"engines": {
|
|
"node": "^20.9.0",
|
|
"pnpm": "^9.0.0"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"@75lb/deep-merge@<1.1.2": "^1.1.2",
|
|
"braces@<3.0.3": "^3.0.3",
|
|
"cross-spawn@<6.0.6": "^6.0.6",
|
|
"cross-spawn@>=7.0.0 <7.0.5": "^7.0.5",
|
|
"d3-color@2.0.0": "^3.1.0",
|
|
"formidable@<3.2.4": "^3.2.4",
|
|
"micromatch@<4.0.8": "^4.0.8",
|
|
"nanoid@>=4.0.0 <5.0.9": "^5.0.9",
|
|
"path-to-regexp@>=0.2.0 <1.9.0": "^1.9.0",
|
|
"path-to-regexp@>=4.0.0 <6.3.0": "^6.3.0",
|
|
"puppeteer-core@<23.10.3": "^23.10.3",
|
|
"rollup@>=4.0.0 <4.22.4": "^4.22.4",
|
|
"ws@>=8.0.0 <8.17.1": "^8.18.0"
|
|
},
|
|
"peerDependencyRules": {
|
|
"allowedVersions": {
|
|
"react": "^18.0.0",
|
|
"jest": "^29.1.2",
|
|
"stylelint": "^16.0.0"
|
|
}
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@logto/cli": "workspace:^",
|
|
"@logto/translate": "workspace:^"
|
|
}
|
|
}
|