generated from furystack/boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
80 lines (80 loc) · 2.46 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "furystack-boilerplate-app",
"version": "1.0.1",
"description": "example web app based on furystack",
"main": "service/src/index.ts",
"repository": "https://github.com/gallayl/fury.git",
"author": "Gallay Lajos <[email protected]>",
"license": "GPL-2.0-only",
"private": true,
"workspaces": {
"packages": [
"common",
"frontend",
"service"
],
"nohoist": []
},
"dependencies": {
"tslib": "^2.3.1"
},
"optionalDependencies": {
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"concurrently": "^7.0.0",
"cypress": "^9.4.1",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-jsdoc": "^37.7.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0",
"husky": "^7.0.4",
"jest": "^27.4.2",
"jest-junit": "^13.0.0",
"lint-staged": "^12.3.3",
"prettier": "^2.5.0"
},
"devDependencies": {
"@types/jest": "^27.0.3",
"@types/node": "^17.0.14",
"rimraf": "^3.0.0",
"typescript": "^4.5.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --ext .tsx,.ts --cache --fix",
"prettier --write",
"git add"
],
"*.{js,jsx}": [
"prettier --write",
"git add"
]
},
"scripts": {
"build": "tsc -b && yarn workspace frontend build",
"create-schemas": "yarn workspace common create-schemas",
"seed": "yarn workspace service seed",
"test:e2e": "concurrently --kill-others \"yarn start:service\" \"yarn start:frontend\" \"yarn cypress run\" --success first ",
"test:unit": "jest --verbose",
"start": "concurrently --kill-others \"yarn start:service\" \"yarn start:frontend\" ",
"start:service": "yarn workspace service start",
"start:frontend": "yarn workspace frontend start",
"clean": "rimraf service/dist frontend/dist **/tsconfig.tsbuildinfo tsconfig.tsbuildinfo common/dist",
"lint": "eslint . --ext .tsx,.ts --cache",
"dockerize": "docker build . --tag furystack/flake:latest",
"start:docker": "docker run --rm -p 8080:8080 furystack/flake"
},
"jest-junit": {
"suiteName": "FuryStack Jest tests",
"outputDirectory": "./coverage"
}
}