-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 2.3 KB
/
package.json
File metadata and controls
62 lines (62 loc) · 2.3 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
{
"name": "@codeup/root",
"version": "1.0.0",
"description": "",
"main": "index.js",
"private": true,
"scripts": {
"add-root": "npm install",
"add-root-dev": "npm install --save-dev",
"add-client": "lerna add --scope=@codeup/client",
"add-client-dev": "lerna add --dev --scope=@codeup/client",
"watch": "npm run bootstrap && lerna run watch --stream --parallel",
"build": "lerna run build",
"test": "lerna run test --loglevel verbose",
"test-client": "jest -c apps/client/jest.config.js",
"bootstrap": "npm install && lerna bootstrap",
"lint": "lerna run lint --stream --no-bail",
"clean": "rm -rf node_modules && lerna clean",
"cp": "func() { npm run commit \"$1\" && npm run push; }; func",
"commit": "git commit -m",
"push": "git push origin -u $(git branch --contains | tr -d ' *')",
"del-loc-b": "echo '\nChecking if branch is master...' && git-branch-is -v master && echo '\nDeleting branches...' && if [ $(git branch | wc -l) -gt 1 ]; then git branch --merged | grep -v \\* | xargs git branch -d \n else echo 'Have not deleted other branches. Since you only have one branch:' \"$(git branch | tr -d ' *')\" \n fi"
},
"author": "Kamil Alekberov, Yermek Menzhasarov",
"license": "ISC",
"devDependencies": {
"@commitlint/cli": "9.1.1",
"@commitlint/config-conventional": "9.1.1",
"@typescript-eslint/eslint-plugin": "2.25.0",
"@typescript-eslint/parser": "2.25.0",
"eslint": "6.8.0",
"eslint-config-prettier": "6.10.1",
"eslint-plugin-prettier": "3.1.2",
"eslint-plugin-react": "7.19.0",
"eslint-plugin-react-hooks": "4.0.8",
"firebase-tools": "8.7.0",
"git-branch-is": "4.0.0",
"husky": "4.2.5",
"jest": "26.2.2",
"lerna": "3.22.1",
"lint-staged": "10.2.11",
"npm-check": "5.9.2",
"preact-cli": "3.0.1",
"prettier": "1.19.1"
},
"husky": {
"hooks": {
"pre-commit": "git-branch-is -v --not master && lint-staged -v",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"post-commit:": "git push --set-upstream origin $(git branch --contains | tr -d ' *')"
}
},
"lint-staged": {
"apps/**/*.{ts,tsx,js,jsx}": [
"eslint --fix",
"jest --findRelatedTests -c apps/client/jest.config.js"
],
"apps/**/**.{css,md,scss}": [
"prettier --write"
]
}
}