forked from miroapp/app-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 1.47 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
{
"name": "app-examples",
"private": true,
"repository": "[email protected]:miroapp/v2-app-examples.git",
"license": "MIT",
"workspaces": {
"packages": [
"examples/*"
],
"nohoist": [
"**/@types",
"**/@types/**",
"**/@mirohq",
"**/@mirohq/**"
]
},
"scripts": {
"build": "yarn turbo run build",
"prepare": "husky install",
"lint": "eslint ./ --ignore-pattern='nextjs-oauth' && turbo run lint",
"preformat": "command -v black >/dev/null || (echo 'You need to install black fromatter, run brew install black' && exit 1)",
"format": "yarn prettier -w ./ && black ./examples"
},
"lint-staged": {
"*.py": [
"black"
],
"*.{js,jsx,ts,tsx,md,markdown,yaml,yml,html,css,hbs}": [
"prettier --write"
],
"*.{js,jsx,ts,tsx}": [
"eslint --fix"
]
},
"prettier": {},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"eslint": "^8.6.0",
"eslint-plugin-import": "^2.25.4",
"husky": "^7.0.0",
"lint-staged": "^12.1.5",
"prettier": "3.0.3",
"turbo": "^1.0.24"
},
"turbo": {
"baseBranch": "origin/main",
"pipeline": {
"build": {
"dependsOn": [
"^build"
]
},
"test": {
"dependsOn": [
"^build"
],
"outputs": []
},
"lint": {
"outputs": []
},
"dev": {
"cache": false
}
}
}
}