forked from logto-io/logto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
44 lines (44 loc) · 1.38 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"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"
}
}