2021-07-25 04:39:17 -05:00
|
|
|
{
|
2022-04-26 01:07:28 -05:00
|
|
|
"name": "@logto/root",
|
2021-07-25 04:39:17 -05:00
|
|
|
"private": true,
|
2021-08-11 09:12:36 -05:00
|
|
|
"license": "MPL-2.0",
|
2022-12-29 01:52:43 -05:00
|
|
|
"type": "module",
|
2021-07-25 09:27:51 -05:00
|
|
|
"scripts": {
|
2021-07-30 09:34:15 -05:00
|
|
|
"preinstall": "npx only-allow pnpm",
|
2023-04-01 07:53:44 -05:00
|
|
|
"pnpm:devPreinstall": "cd packages/connectors && node templates/sync-preset.js",
|
2021-09-07 21:29:37 -05:00
|
|
|
"prepare": "if test \"$NODE_ENV\" != \"production\" && test \"$CI\" != \"true\" ; then husky install ; fi",
|
2022-10-17 06:37:59 -05:00
|
|
|
"prepack": "pnpm -r prepack",
|
2022-10-18 02:40:36 -05:00
|
|
|
"dev": "pnpm -r prepack && pnpm start:dev",
|
2023-02-18 00:34:52 -05:00
|
|
|
"dev:cloud": "pnpm -r prepack && pnpm start:dev:cloud",
|
2023-04-02 01:12:30 -05:00
|
|
|
"start:dev": "pnpm -r --parallel --filter=!@logto/integration-tests --filter \"!./packages/connectors/connector-*\" --filter=!@logto/cloud dev",
|
|
|
|
"start:dev:cloud": "CONSOLE_PUBLIC_URL=/ IS_CLOUD=1 pnpm -r --parallel --filter=!@logto/integration-tests --filter \"!./packages/connectors/connector-*\" dev",
|
2022-10-15 11:49:16 -05:00
|
|
|
"start": "cd packages/core && NODE_ENV=production node .",
|
2023-02-21 23:38:30 -05:00
|
|
|
"start:cloud": "cd packages/cloud && NODE_ENV=production node .",
|
2022-10-15 11:49:16 -05:00
|
|
|
"cli": "logto",
|
|
|
|
"alteration": "logto db alt",
|
2023-04-02 01:12:30 -05:00
|
|
|
"connectors:build": "pnpm -r --filter \"./packages/connectors/connector-*\" build",
|
2022-11-16 05:02:19 -05: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 06:37:59 -05:00
|
|
|
"ci:build": "pnpm -r build",
|
2023-04-01 09:16:56 -05: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 09:27:51 -05:00
|
|
|
},
|
2021-07-25 04:39:17 -05:00
|
|
|
"devDependencies": {
|
2022-10-21 00:59:08 -05:00
|
|
|
"@changesets/cli": "^2.25.0",
|
2022-05-17 08:28:49 -05:00
|
|
|
"@commitlint/cli": "^17.0.0",
|
|
|
|
"@commitlint/config-conventional": "^17.0.0",
|
|
|
|
"@commitlint/types": "^17.0.0",
|
2023-01-17 04:52:54 -05:00
|
|
|
"@types/pg": "^8.6.6",
|
2022-05-09 01:49:58 -05:00
|
|
|
"husky": "^8.0.0",
|
2023-01-17 04:52:54 -05:00
|
|
|
"pg": "^8.8.0",
|
2023-03-21 06:37:51 -05:00
|
|
|
"typescript": "^5.0.0"
|
2021-07-25 21:54:13 -05:00
|
|
|
},
|
2021-07-26 09:06:13 -05:00
|
|
|
"engines": {
|
2023-01-07 07:42:10 -05:00
|
|
|
"node": "^18.12.0",
|
2023-03-30 05:51:20 -05:00
|
|
|
"pnpm": "^8.0.0"
|
2022-02-18 04:11:54 -05:00
|
|
|
},
|
2022-08-05 04:59:03 -05:00
|
|
|
"pnpm": {
|
|
|
|
"peerDependencyRules": {
|
|
|
|
"allowedVersions": {
|
2022-10-14 01:57:27 -05:00
|
|
|
"react": "^18.0.0",
|
2023-02-16 10:49:03 -05:00
|
|
|
"jest": "^29.1.2",
|
|
|
|
"stylelint": "^15.0.0"
|
2022-08-05 04:59:03 -05:00
|
|
|
}
|
|
|
|
}
|
2022-10-15 11:49:16 -05:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-04-17 05:10:14 -05:00
|
|
|
"@logto/cli": "workspace:^1.1.0"
|
2021-07-25 04:39:17 -05:00
|
|
|
}
|
2021-08-12 06:39:57 -05:00
|
|
|
}
|