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",
|
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-10-06 04:34:21 -05:00
|
|
|
"dev": "lerna run --stream prepack -- --incremental && lerna --ignore=@logto/integration-tests run --parallel dev",
|
2022-05-17 21:58:01 -05:00
|
|
|
"start": "cd packages/core && NODE_ENV=production node . --from-root",
|
2022-10-10 12:20:15 -05:00
|
|
|
"//": "For production, use NPM instead",
|
|
|
|
"cli": "cd packages/core && npm run cli",
|
|
|
|
"//": "For production, use NPM instead",
|
|
|
|
"alteration": "cd packages/core && npm run alteration",
|
2022-05-17 21:58:01 -05:00
|
|
|
"ci:build": "lerna run --stream build",
|
|
|
|
"ci:lint": "lerna run --parallel lint",
|
|
|
|
"ci:stylelint": "lerna run --parallel stylelint",
|
2022-10-06 04:34:21 -05:00
|
|
|
"ci:test": "lerna run --parallel test:ci"
|
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-10-12 15:55:48 -05:00
|
|
|
"lerna": "^6.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"
|
2022-08-05 04:59:03 -05:00
|
|
|
},
|
|
|
|
"pnpm": {
|
|
|
|
"peerDependencyRules": {
|
|
|
|
"allowedVersions": {
|
|
|
|
"react": "^18.0.0"
|
|
|
|
}
|
|
|
|
}
|
2021-07-25 04:39:17 -05:00
|
|
|
}
|
2021-08-12 06:39:57 -05:00
|
|
|
}
|