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",
|
2021-07-25 09:27:51 -05:00
|
|
|
"scripts": {
|
2021-07-30 09:34:15 -05:00
|
|
|
"preinstall": "npx only-allow pnpm",
|
2022-07-01 09:39:21 -05:00
|
|
|
"version": "pnpm i --frozen-lockfile=false && git add pnpm-lock.yaml",
|
2021-07-25 09:27:51 -05:00
|
|
|
"lerna": "lerna",
|
|
|
|
"bootstrap": "lerna bootstrap",
|
2021-09-07 21:29:37 -05:00
|
|
|
"prepare": "if test \"$NODE_ENV\" != \"production\" && test \"$CI\" != \"true\" ; then husky install ; fi",
|
2022-03-07 00:50:21 -05:00
|
|
|
"prepack": "lerna run --stream prepack",
|
2022-05-30 23:39:03 -05:00
|
|
|
"dev": "lerna run --stream prepack && lerna --scope=@logto/{core,ui,console,demo-app} exec -- pnpm dev",
|
2022-05-17 21:58:01 -05: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 09:27:51 -05:00
|
|
|
},
|
2021-07-25 04:39:17 -05:00
|
|
|
"devDependencies": {
|
2022-05-17 08:28:49 -05:00
|
|
|
"@commitlint/cli": "^17.0.0",
|
|
|
|
"@commitlint/config-conventional": "^17.0.0",
|
|
|
|
"@commitlint/types": "^17.0.0",
|
2022-05-09 01:49:58 -05:00
|
|
|
"husky": "^8.0.0",
|
2022-05-25 10:06:11 -05:00
|
|
|
"lerna": "^5.0.0",
|
2022-08-05 00:58:31 -05:00
|
|
|
"typescript": "^4.7.4"
|
2021-07-25 21:54:13 -05:00
|
|
|
},
|
|
|
|
"workspaces": {
|
2021-08-11 10:07:39 -05:00
|
|
|
"packages": [
|
|
|
|
"packages/*"
|
|
|
|
],
|
|
|
|
"nohoist": [
|
|
|
|
"**/module-alias"
|
|
|
|
]
|
2021-07-26 09:06:13 -05:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=14.15.0",
|
2021-07-29 04:46:28 -05:00
|
|
|
"pnpm": ">=6"
|
2022-02-18 04:11:54 -05:00
|
|
|
},
|
|
|
|
"alias": {
|
2022-03-06 02:49:10 -05:00
|
|
|
"html-parse-stringify": "html-parse-stringify/dist/html-parse-stringify.module.js",
|
2022-03-11 06:04:27 -05:00
|
|
|
"react-hook-form": "react-hook-form/dist/index.esm.mjs",
|
|
|
|
"superstruct": "superstruct/lib/index.es.js"
|
2021-07-25 04:39:17 -05:00
|
|
|
}
|
2021-08-12 06:39:57 -05:00
|
|
|
}
|