-
Notifications
You must be signed in to change notification settings - Fork 164
/
package.json
59 lines (59 loc) · 2.04 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
{
"private": true,
"workspaces": [
"docs-www",
"react-carousel"
],
"devDependencies": {
"@brainhubeu/license-auditor": "^1.0.30",
"@commitlint/cli": "^9.1.1",
"@commitlint/config-conventional": "^9.1.1",
"@commitlint/prompt": "^9.1.1",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.0",
"@semantic-release/github": "^7.0.7",
"@semantic-release/release-notes-generator": "^9.0.1",
"@semantic-release/npm": "^7.0.5",
"commitizen": "^4.1.2",
"cypress": "^4.9.0",
"danger": "^10.2.1",
"eslint": "^6.8.0",
"eslint-config-brainhub": "^1.12.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-cypress": "^2.10.3",
"eslint-plugin-prettier": "^3.1.4",
"eslint-watch": "^6.0.1",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5",
"semantic-release": "^17.1.1",
"start-server-and-test": "^1.11.0"
},
"scripts": {
"preinstall": "node -e \"if (process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('Use yarn for installing: https://yarnpkg.com/en/docs/install')\"",
"start-demo": "yarn workspace react-carousel-docs develop",
"format": "prettier --write \"./**/*.{js,json}\"",
"lint": "eslint docs-www/ react-carousel/ cypress/ --color",
"build": "yarn workspace @brainhubeu/react-carousel build",
"test:e2e": "start-server-and-test start-demo http://localhost:8000 cypress:run",
"test:unit:coverage": "yarn workspace @brainhubeu/react-carousel test:coverage",
"test-dockerized:e2e": "docker-compose -f ./docker-compose.e2e.yml up --build --exit-code-from e2e-test",
"cypress:run": "yarn cypress run",
"commit": "yarn git-cz"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged",
"pre-push": "yarn test:unit:coverage"
}
},
"lint-staged": {
"**/*.+(js|jsx)": [
"yarn format",
"yarn lint --fix"
]
}
}