mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"license": "MPL-2.0",
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"lerna": "lerna",
|
|
"bootstrap": "lerna bootstrap",
|
|
"prepare": "if test \"$NODE_ENV\" != \"production\" && test \"$CI\" != \"true\" ; then husky install ; fi",
|
|
"prepack": "lerna run --stream prepack",
|
|
"dev": "lerna run --stream prepack && lerna --scope=@logto/{core,ui,console} exec -- pnpm dev",
|
|
"start": "cd packages/core && node . --from-root"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^16.0.0",
|
|
"@commitlint/config-conventional": "^16.0.0",
|
|
"@commitlint/types": "^16.0.0",
|
|
"husky": "^7.0.4",
|
|
"lerna": "^4.0.0",
|
|
"typescript": "^4.6.2"
|
|
},
|
|
"workspaces": {
|
|
"packages": [
|
|
"packages/*"
|
|
],
|
|
"nohoist": [
|
|
"**/module-alias"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">=14.15.0",
|
|
"pnpm": ">=6"
|
|
},
|
|
"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"
|
|
}
|
|
}
|