-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathpackage.json
44 lines (44 loc) · 1.37 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": "my-dash",
"version": "2.3.0",
"license": "MIT",
"author": "Kevin Restaino <[email protected]>",
"description": "A developer friendly dashboard for monitoring your self-hosted services with a clean and modern UI.",
"scripts": {
"setup": "yarn install && yarn setup:api && yarn setup:ui",
"setup:api": "yarn --cwd api/ install",
"setup:ui": "yarn --cwd ui/ install",
"start": "dotenv -e .env concurrently \"yarn start:api\" \"yarn start:ui\"",
"start:api": "yarn --cwd api/ start",
"start:ui": "yarn --cwd ui/ start",
"build": "dotenv -e .env concurrently \"yarn build:api\" \"yarn build:ui\"",
"build:api": "yarn --cwd api/ build",
"build:ui": "yarn --cwd ui/ build",
"serve": "dotenv -e .env concurrently \"yarn serve:api\" \"yarn serve:ui\"",
"serve:api": "yarn --cwd api/ serve",
"serve:ui": "yarn --cwd ui/ serve",
"docker": "docker-compose up -d",
"docker:build": "docker-compose build --no-cache my-dash && yarn docker",
"test": "node -v"
},
"dependencies": {
"concurrently": "^4.1.1"
},
"devDependencies": {
"dotenv-cli": "^2.0.1",
"husky": "^3.0.2",
"lint-staged": "^9.2.1",
"prettier": "^1.18.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,css,md}": [
"prettier --write",
"git add"
]
}
}