0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-13 21:30:30 -05:00
logto/package.json

57 lines
2 KiB
JSON
Raw Normal View History

2021-07-25 17:39:17 +08:00
{
2022-04-26 14:07:28 +08:00
"name": "@logto/root",
2021-07-25 17:39:17 +08:00
"private": true,
2021-08-11 22:12:36 +08:00
"license": "MPL-2.0",
2022-12-29 14:52:43 +08:00
"type": "module",
2021-07-25 22:27:51 +08:00
"scripts": {
2021-07-30 22:34:15 +08:00
"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 install ; fi",
2022-10-17 19:37:59 +08:00
"prepack": "pnpm -r prepack",
2022-10-18 15:40:36 +08:00
"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 \"!./packages/connectors/connector-*\" dev",
2022-10-16 00:49:16 +08:00
"start": "cd packages/core && NODE_ENV=production node .",
"cli": "logto",
"changeset": "changeset",
2022-10-16 00:49:16 +08:00
"alteration": "logto db alt",
"connectors:build": "pnpm -r --filter \"./packages/connectors/connector-*\" build",
"//": "# `changeset version` won't run version lifecycle scripts, see https://github.com/changesets/changesets/issues/860",
"ci:version": "changeset version && pnpm -r version",
2022-10-17 19:37:59 +08:00
"ci:build": "pnpm -r build",
2023-04-01 22:16:56 +08:00
"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"
2021-07-25 22:27:51 +08:00
},
2021-07-25 17:39:17 +08:00
"devDependencies": {
"@changesets/cli": "^2.26.2",
"@commitlint/cli": "^17.6.6",
"@commitlint/config-conventional": "^17.6.6",
"@commitlint/types": "^17.4.4",
"@types/pg": "^8.6.6",
"husky": "^8.0.0",
"pg": "^8.8.0",
"typescript": "^5.0.0"
2021-07-26 10:54:13 +08:00
},
"engines": {
2023-01-07 20:42:10 +08:00
"node": "^18.12.0",
"pnpm": "^8.0.0"
2022-02-18 17:11:54 +08:00
},
2022-08-05 17:59:03 +08:00
"pnpm": {
"peerDependencyRules": {
"allowedVersions": {
2022-10-14 14:57:27 +08:00
"react": "^18.0.0",
2023-02-16 23:49:03 +08:00
"jest": "^29.1.2",
"stylelint": "^15.0.0"
2022-08-05 17:59:03 +08:00
}
}
2022-10-16 00:49:16 +08:00
},
"dependencies": {
"@logto/cli": "workspace:^1.1.0"
},
"//": "@see https://parceljs.org/features/dependency-resolution/#package-exports",
"@parcel/resolver-default": {
"packageExports": true
2021-07-25 17:39:17 +08:00
}
2021-08-12 19:39:57 +08:00
}