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",
|
2021-09-08 10:29:37 +08:00
|
|
|
"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",
|
2022-10-18 11:53:14 +08:00
|
|
|
"start:dev": "pnpm -r --parallel --filter=!@logto/integration-tests dev",
|
2022-10-16 00:49:16 +08:00
|
|
|
"start": "cd packages/core && NODE_ENV=production node .",
|
|
|
|
"cli": "logto",
|
|
|
|
"alteration": "logto db alt",
|
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",
|
|
|
|
"ci:lint": "pnpm -r --parallel lint",
|
|
|
|
"ci:stylelint": "pnpm -r --parallel stylelint",
|
|
|
|
"ci:test": "pnpm -r --parallel test:ci"
|
2021-07-25 22:27:51 +08:00
|
|
|
},
|
2021-07-25 17:39:17 +08:00
|
|
|
"devDependencies": {
|
2022-10-21 13:59:08 +08:00
|
|
|
"@changesets/cli": "^2.25.0",
|
2022-05-17 21:28:49 +08:00
|
|
|
"@commitlint/cli": "^17.0.0",
|
|
|
|
"@commitlint/config-conventional": "^17.0.0",
|
|
|
|
"@commitlint/types": "^17.0.0",
|
2023-01-17 17:52:54 +08:00
|
|
|
"@types/pg": "^8.6.6",
|
2022-05-09 14:49:58 +08:00
|
|
|
"husky": "^8.0.0",
|
2023-01-17 17:52:54 +08:00
|
|
|
"pg": "^8.8.0",
|
2022-12-12 21:15:09 +08:00
|
|
|
"typescript": "^4.9.4"
|
2021-07-26 10:54:13 +08:00
|
|
|
},
|
2021-07-26 22:06:13 +08:00
|
|
|
"engines": {
|
2023-01-07 20:42:10 +08:00
|
|
|
"node": "^18.12.0",
|
|
|
|
"pnpm": "^7.22.0"
|
2022-02-18 17:11:54 +08:00
|
|
|
},
|
|
|
|
"alias": {
|
2022-03-06 15:49:10 +08:00
|
|
|
"html-parse-stringify": "html-parse-stringify/dist/html-parse-stringify.module.js",
|
2022-03-11 19:04:27 +08:00
|
|
|
"react-hook-form": "react-hook-form/dist/index.esm.mjs",
|
|
|
|
"superstruct": "superstruct/lib/index.es.js"
|
2022-08-05 17:59:03 +08:00
|
|
|
},
|
|
|
|
"pnpm": {
|
|
|
|
"peerDependencyRules": {
|
|
|
|
"allowedVersions": {
|
2022-10-14 14:57:27 +08:00
|
|
|
"react": "^18.0.0",
|
|
|
|
"jest": "^29.1.2"
|
2022-08-05 17:59:03 +08:00
|
|
|
}
|
|
|
|
}
|
2022-10-16 00:49:16 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@logto/cli": "^1.0.0-beta.10"
|
2021-07-25 17:39:17 +08:00
|
|
|
}
|
2021-08-12 19:39:57 +08:00
|
|
|
}
|