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",
|
2023-04-01 20:53:44 +08:00
|
|
|
"pnpm:devPreinstall": "cd packages/connectors && node templates/sync-preset.js",
|
2024-01-30 05:47:00 +00:00
|
|
|
"prepare": "if test \"$NODE_ENV\" != \"production\" && test \"$CI\" != \"true\" ; then husky ; 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",
|
2023-10-13 10:20:50 +08:00
|
|
|
"dev:cloud": "IS_CLOUD=1 CONSOLE_PUBLIC_URL=/ pnpm dev",
|
2023-07-03 14:33:19 +08:00
|
|
|
"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",
|
2023-07-31 12:15:45 +08:00
|
|
|
"changeset": "changeset",
|
2022-10-16 00:49:16 +08:00
|
|
|
"alteration": "logto db alt",
|
2024-03-19 14:05:42 +08:00
|
|
|
"connectors": "pnpm -r --filter \"./packages/connectors/connector-*\"",
|
2022-11-16 18:02:19 +08:00
|
|
|
"//": "# `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": {
|
2023-07-31 12:15:45 +08:00
|
|
|
"@changesets/cli": "^2.26.2",
|
2024-03-02 09:08:55 +00:00
|
|
|
"@commitlint/cli": "^19.0.0",
|
|
|
|
"@commitlint/config-conventional": "^19.0.0",
|
|
|
|
"@commitlint/types": "^19.0.0",
|
2023-01-17 17:52:54 +08:00
|
|
|
"@types/pg": "^8.6.6",
|
2024-01-30 05:47:00 +00:00
|
|
|
"husky": "^9.0.0",
|
2023-01-17 17:52:54 +08:00
|
|
|
"pg": "^8.8.0",
|
2023-03-21 19:37:51 +08:00
|
|
|
"typescript": "^5.0.0"
|
2021-07-26 10:54:13 +08:00
|
|
|
},
|
2021-07-26 22:06:13 +08:00
|
|
|
"engines": {
|
2023-12-11 09:10:53 +08:00
|
|
|
"node": "^20.9.0",
|
|
|
|
"pnpm": "^8.10.0"
|
2022-02-18 17:11:54 +08:00
|
|
|
},
|
2022-08-05 17:59:03 +08:00
|
|
|
"pnpm": {
|
2024-04-24 10:18:06 +08:00
|
|
|
"overrides": {
|
|
|
|
"formidable@<3.2.4": "^3.2.4"
|
|
|
|
},
|
2022-08-05 17:59:03 +08:00
|
|
|
"peerDependencyRules": {
|
|
|
|
"allowedVersions": {
|
2022-10-14 14:57:27 +08:00
|
|
|
"react": "^18.0.0",
|
2024-04-18 12:26:37 +00:00
|
|
|
"jest": "^29.1.2",
|
|
|
|
"stylelint": "^16.0.0"
|
2022-08-05 17:59:03 +08:00
|
|
|
}
|
|
|
|
}
|
2022-10-16 00:49:16 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-04-17 18:10:14 +08:00
|
|
|
"@logto/cli": "workspace:^1.1.0"
|
2023-06-10 16:21:12 +08:00
|
|
|
},
|
|
|
|
"//": "@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
|
|
|
}
|