generated from yandex-praktikum/client-server-template-with-vite
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
34 lines (34 loc) · 1.43 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
{
"name": "client-server-template-with-vite",
"private": true,
"scripts": {
"bootstrap": "yarn && node init.js && lerna clean --yes && yarn && lerna bootstrap",
"build": "lerna run build",
"build:ssr:client": "lerna run build:ssr --scope=client",
"tsc": "lerna run tsc",
"dev:client": "lerna run dev --scope=client",
"dev:server": "lerna run dev --scope=server",
"dev": "lerna run dev",
"test": "lerna run test",
"lint": "lerna run lint",
"lint:fix": "lerna run lint:fix",
"format": "lerna run format",
"preview": "lerna run preview",
"create:link": "cd packages/client && yarn link && cd ../server && yarn link client && cd ../../",
"dev:ssr": "yarn create:link && lerna run build --scope=client && lerna run build:ssr --scope=client && lerna run build --scope=server && lerna run preview:dev --scope=server",
"build:ssr": "yarn create:link && lerna run build --scope=client && lerna run build:ssr --scope=client && lerna run build --scope=server && lerna run preview --scope=server",
"docker:client": "yarn run bootstrap --scope=client && yarn run build --scope=client && yarn run build:ssr:client",
"docker:server": "yarn run bootstrap --scope=server && yarn run build --scope=server"
},
"license": "MIT",
"workspaces": [
"packages/*"
],
"engines": {
"node": ">=15"
},
"devDependencies": {
"@evilmartians/lefthook": "^1.1.1",
"lerna": "^5.4.3"
}
}