mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
30218579cc
* chore: set lerna changelogPreset * fix: version script * ci: update publish workflow
44 lines
1.4 KiB
JSON
44 lines
1.4 KiB
JSON
{
|
|
"name": "@logto/root",
|
|
"private": true,
|
|
"license": "MPL-2.0",
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"version": "pnpm i --frozen-lockfile=false && git add pnpm-lock.yaml",
|
|
"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,demo-app} exec -- pnpm dev",
|
|
"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"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^17.0.0",
|
|
"@commitlint/config-conventional": "^17.0.0",
|
|
"@commitlint/types": "^17.0.0",
|
|
"husky": "^8.0.0",
|
|
"lerna": "^5.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"
|
|
}
|
|
}
|