forked from logto-io/logto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
58 lines (58 loc) · 2.25 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"name": "@logto/root",
"private": true,
"license": "MPL-2.0",
"type": "module",
"scripts": {
"preinstall": "npx only-allow pnpm",
"pnpm:devPreinstall": "cd packages/connectors && node templates/sync-preset.js",
"prepare": "if test \"$NODE_ENV\" != \"production\" && test \"$CI\" != \"true\" ; then husky install ; fi",
"prepack": "pnpm -r prepack",
"dev": "pnpm -r prepack && pnpm start:dev",
"dev:cloud": "pnpm -r prepack && pnpm start:dev:cloud",
"start:dev": "pnpm -r --parallel --filter=!@logto/integration-tests --filter \"!./packages/connectors/connector-*\" --filter=!@logto/cloud dev",
"start:dev:cloud": "CONSOLE_PUBLIC_URL=/ IS_CLOUD=1 pnpm -r --parallel --filter=!@logto/integration-tests --filter \"!./packages/connectors/connector-*\" dev",
"start": "cd packages/core && NODE_ENV=production node .",
"start:cloud": "cd packages/cloud && NODE_ENV=production node .",
"cli": "logto",
"alteration": "logto db alt",
"connectors:build": "pnpm -r --filter \"./packages/connectors/connector-*\" build",
"//": "# `changeset version` won't run version lifecycle scripts, see https://github.com/changesets/changesets/issues/860",
"ci:version": "changeset version && pnpm -r version",
"ci:build": "pnpm -r build",
"ci:lint": "pnpm -r --parallel --workspace-concurrency=0 lint",
"ci:stylelint": "pnpm -r --parallel --workspace-concurrency=0 stylelint",
"ci:test": "pnpm -r --parallel --workspace-concurrency=0 test:ci"
},
"devDependencies": {
"@changesets/cli": "^2.25.0",
"@commitlint/cli": "^17.0.0",
"@commitlint/config-conventional": "^17.0.0",
"@commitlint/types": "^17.0.0",
"@types/pg": "^8.6.6",
"husky": "^8.0.0",
"pg": "^8.8.0",
"typescript": "^5.0.0"
},
"engines": {
"node": "^18.12.0",
"pnpm": "^8.0.0"
},
"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"
},
"pnpm": {
"peerDependencyRules": {
"allowedVersions": {
"react": "^18.0.0",
"jest": "^29.1.2",
"stylelint": "^15.0.0"
}
}
},
"dependencies": {
"@logto/cli": "workspace:^1.1.0"
}
}