mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
11e302b2fa
* chore(deps): update dependency typescript to v5 * refactor: fix build --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Gao Sun <gao@silverhand.io>
56 lines
1.9 KiB
JSON
56 lines
1.9 KiB
JSON
{
|
|
"name": "@logto/root",
|
|
"private": true,
|
|
"license": "MPL-2.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"prepare": "if test \"$NODE_ENV\" != \"production\" && test \"$CI\" != \"true\" ; then husky install ; fi",
|
|
"prepack": "pnpm -r prepack",
|
|
"dev": "pnpm -r prepack && pnpm start:dev",
|
|
"dev:cloud": "pnpm -r prepack && pnpm start:dev:cloud",
|
|
"start:dev": "pnpm -r --parallel --filter=!@logto/integration-tests --filter=!@logto/cloud dev",
|
|
"start:dev:cloud": "CONSOLE_PUBLIC_URL=/ IS_CLOUD=1 pnpm -r --parallel --filter=!@logto/integration-tests dev",
|
|
"start": "cd packages/core && NODE_ENV=production node .",
|
|
"start:cloud": "cd packages/cloud && NODE_ENV=production node .",
|
|
"cli": "logto",
|
|
"alteration": "logto db alt",
|
|
"//": "# `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 lint",
|
|
"ci:stylelint": "pnpm -r --parallel stylelint",
|
|
"ci:test": "pnpm -r --parallel test:ci"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/cli": "^2.25.0",
|
|
"@commitlint/cli": "^17.0.0",
|
|
"@commitlint/config-conventional": "^17.0.0",
|
|
"@commitlint/types": "^17.0.0",
|
|
"@types/pg": "^8.6.6",
|
|
"husky": "^8.0.0",
|
|
"pg": "^8.8.0",
|
|
"typescript": "^5.0.0"
|
|
},
|
|
"engines": {
|
|
"node": "^18.12.0",
|
|
"pnpm": "^7.22.0"
|
|
},
|
|
"alias": {
|
|
"html-parse-stringify": "html-parse-stringify/dist/html-parse-stringify.module.js",
|
|
"react-hook-form": "react-hook-form/dist/index.esm.mjs",
|
|
"superstruct": "superstruct/lib/index.es.js"
|
|
},
|
|
"pnpm": {
|
|
"peerDependencyRules": {
|
|
"allowedVersions": {
|
|
"react": "^18.0.0",
|
|
"jest": "^29.1.2",
|
|
"stylelint": "^15.0.0"
|
|
}
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@logto/cli": "^1.0.0-beta.10"
|
|
}
|
|
}
|