Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.51 KB
/
Copy pathpackage.json
File metadata and controls
89 lines (89 loc) · 2.51 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "monorepo",
"repository": "git://github.com/renli-tech/monorepo.git",
"private": true,
"author": "opeabidemi <opeabidemi@gmail.com>",
"workspaces": {
"packages": [
"packages/*",
"examples/*"
],
"nohoist": [
"**/babel**",
"**/eslint**",
"**/jest"
]
},
"scripts": {
"bootstrap": "lerna bootstrap --use-workspaces && yarn hooks:install",
"fix": "run-s fix:*",
"fix:code": "yarn lint:code --fix",
"fix:other": "yarn prettier --write",
"hooks:uninstall": "node node_modules/husky uninstall",
"hooks:install": "node node_modules/husky install",
"lerna:publish": "npx lerna publish --conventional-commits",
"lerna:changed": "npx lerna changed",
"lint": "run-p --continue-on-error lint:*",
"lint:code": "eslint --ignore-path .gitignore --ignore-path .prettierignore --ext .ts,.tsx .",
"lint:other": "yarn prettier --check",
"prebootstrap": "yarn",
"prettier": "prettier \"**/*.{md,css,scss,yaml,yml}\"",
"test": "lerna run --stream test"
},
"devDependencies": {
"@babel/core": "7.16.0",
"@babel/eslint-parser": "7.16.3",
"@babel/node": "7.16.0",
"@babel/preset-env": "7.16.0",
"@babel/runtime": "7.16.3",
"@commitlint/cli": "13.2.1",
"@commitlint/config-conventional": "13.2.0",
"@commitlint/config-lerna-scopes": "13.2.0",
"@types/jest": "^27.0.1",
"@types/node": "16.11.7",
"@types/prettier": "2.4.2",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"babel-jest": "27.3.1",
"babel-loader": "8.2.3",
"chalk": "4.1.2",
"commitlint": "13.2.1",
"cross-env": "7.0.3",
"eslint": "8.2.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "3.4.1",
"eslint-plugin-jest": "24.7.0",
"husky": "7.0.4",
"jest": "27.3.1",
"lerna": "4.0.0",
"lerna-changelog": "2.2.0",
"lint-staged": "11.2.6",
"npm-run-all": "4.1.5",
"prettier": "2.4.1",
"prettier-eslint": "13.0.0",
"rimraf": "3.0.2",
"ts-jest": "27.0.7",
"ts-node": "10.4.0",
"typescript": "4.4.4"
},
"engines": {
"node": ">=10.17.0"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"yarn fix:code"
],
"*.{md,css,scss,yaml,yml}": [
"yarn fix:other"
]
},
"browserslist": [
"last 2 Chrome versions",
"last 2 Opera versions",
"last 2 Firefox versions",
"last 2 Edge versions",
"last 2 Safari versions",
"last 2 iOS versions",
"last 2 ChromeAndroid versions"
]
}