0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/package.json
simeng-li fc6080195a
chore: update tsup and vitest package
update tsup and vitest package
2024-10-23 10:59:31 +08:00

59 lines
2 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": "^5.3.4"
},
"engines": {
"node": "^20.9.0",
"pnpm": "^9.0.0"
},
"pnpm": {
"overrides": {
"formidable@<3.2.4": "^3.2.4"
},
"peerDependencyRules": {
"allowedVersions": {
"react": "^18.0.0",
"jest": "^29.1.2",
"stylelint": "^16.0.0"
}
}
},
"dependencies": {
"@logto/cli": "workspace:^",
"@logto/translate": "workspace:^"
}
}