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",
|
2021-07-25 22:27:51 +08:00
|
|
|
"scripts": {
|
2021-07-30 22:34:15 +08:00
|
|
|
"preinstall": "npx only-allow pnpm",
|
2022-07-01 22:39:21 +08:00
|
|
|
"version": "pnpm i --frozen-lockfile=false && git add pnpm-lock.yaml",
|
2021-07-25 22:27:51 +08:00
|
|
|
"lerna": "lerna",
|
|
|
|
"bootstrap": "lerna bootstrap",
|
2021-09-08 10:29:37 +08:00
|
|
|
"prepare": "if test \"$NODE_ENV\" != \"production\" && test \"$CI\" != \"true\" ; then husky install ; fi",
|
2022-03-07 13:50:21 +08:00
|
|
|
"prepack": "lerna run --stream prepack",
|
2022-05-31 12:39:03 +08:00
|
|
|
"dev": "lerna run --stream prepack && lerna --scope=@logto/{core,ui,console,demo-app} exec -- pnpm dev",
|
2022-05-18 10:58:01 +08:00
|
|
|
"start": "cd packages/core && NODE_ENV=production node . --from-root",
|
|
|
|
"ci:build": "lerna run --stream build",
|
|
|
|
"ci:lint": "lerna run --parallel lint",
|
|
|
|
"ci:stylelint": "lerna run --parallel stylelint",
|
|
|
|
"ci:test": "lerna run --parallel test:coverage"
|
2021-07-25 22:27:51 +08:00
|
|
|
},
|
2021-07-25 17:39:17 +08:00
|
|
|
"devDependencies": {
|
2022-05-17 21:28:49 +08:00
|
|
|
"@commitlint/cli": "^17.0.0",
|
|
|
|
"@commitlint/config-conventional": "^17.0.0",
|
|
|
|
"@commitlint/types": "^17.0.0",
|
2022-05-09 14:49:58 +08:00
|
|
|
"husky": "^8.0.0",
|
2022-05-25 23:06:11 +08:00
|
|
|
"lerna": "^5.0.0",
|
2022-03-11 16:30:22 +08:00
|
|
|
"typescript": "^4.6.2"
|
2021-07-26 10:54:13 +08:00
|
|
|
},
|
|
|
|
"workspaces": {
|
2021-08-11 23:07:39 +08:00
|
|
|
"packages": [
|
|
|
|
"packages/*"
|
|
|
|
],
|
|
|
|
"nohoist": [
|
|
|
|
"**/module-alias"
|
|
|
|
]
|
2021-07-26 22:06:13 +08:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=14.15.0",
|
2021-07-29 17:46:28 +08:00
|
|
|
"pnpm": ">=6"
|
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"
|
2021-07-25 17:39:17 +08:00
|
|
|
}
|
2021-08-12 19:39:57 +08:00
|
|
|
}
|