-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 1.79 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 1.79 KB
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
59
60
61
62
63
64
{
"name": "@project/react-example",
"version": "1.0.0",
"description": "",
"main": "index.js",
"private": true,
"scripts": {
"postinstall": "lerna bootstrap",
"bootstrap": "lerna bootstrap",
"bootstrap:production": "lerna bootstrap -- --production",
"test": "lerna run test --stream",
"test:e2e": "lerna run test:e2e",
"test:client": "lerna run test --scope=@project/client",
"test:server": "lerna run test --scope=@project/server",
"lint": "lerna run lint",
"lint:fix": "lerna run lint:fix",
"build": "lerna run build --stream",
"build:client": "lerna run build --scope=@project/client --stream",
"build:server": "lerna run build --scope=@project/server --stream",
"start": "lerna run start --stream --parallel",
"start:client": "lerna run start --scope=@project/client --stream",
"start:server": "lerna run start --scope=@project/server --stream",
"start:prod": "cross-env NODE_ENV=production pm2-docker --raw processes.config.js --no-deamon",
"docker:build": "yarn build && docker-compose build"
},
"author": "Toms Veidemanis",
"license": "ISC",
"dependencies": {
"lerna": "3.18.4",
"pm2": "4.1.2"
},
"devDependencies": {
"husky": "1.3.1",
"lint-staged": "9.4.2",
"cross-env": "^5.2.0"
},
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"**/@types",
"**/@types/**",
"**/@tsed",
"**/@tsed/**"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"post-commit": "git update-index --again"
}
},
"lint-staged": {
"packages/client/**/*.{js,vue}": [
"cd packages/client && yarn lint:fix",
"git add"
],
"packages/server/**/*.{ts}": [
"cd packages/server && yarn lint:fix",
"git add"
]
}
}