-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 1.56 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
{
"name": "@flybondi/before.js",
"author": "Flybondi <dev@flybondi.com>",
"license": "MIT",
"private": true,
"keywords": [
"react",
"react ssr",
"react-router",
"before",
"async"
],
"workspaces": [
"packages/*"
],
"scripts": {
"build": "run-s build:*",
"build:client": "yarn workspace @before.js/client run build",
"build:server": "yarn workspace @before.js/server run build",
"flow:client": "yarn workspace @before.js/client flow.install",
"flow:server": "yarn workspace @before.js/server flow.install",
"flow": "run-s flow:*",
"format": "prettier --write \"packages/*/!(flow-typed*|dist*)/**/*.js\"",
"lint": "run-p lint:*",
"lint:client": "yarn workspace @before.js/client run lint",
"lint:server": "yarn workspace @before.js/server run lint",
"test": "run-s test:*",
"test:client": "yarn workspace @before.js/client run test",
"test:server": "yarn workspace @before.js/server run test"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e $GIT_PARAMS",
"pre-commit": "lint-staged",
"pre-push": "run-s test"
}
},
"lint-staged": {
"packages/**/src/**/*.{js,jsx}": [
"prettier --write",
"eslint --fix"
],
"packages/**/src/**/*.json": [
"prettier --write"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"devDependencies": {
"@commitlint/config-conventional": "^8.3.4",
"commitlint": "^8.3.5",
"husky": "^4.2.5",
"lerna": "^3.22.0",
"lint-staged": "^10.2.7"
}
}