/
package.json
61 lines (61 loc) 路 1.96 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
{
"name": "cloud-annotations",
"private": true,
"workspaces": {
"packages": [
"packages/*",
"server"
]
},
"scripts": {
"docs": "cd docs && bundle exec jekyll serve",
"serve": "cd server && yarn serve",
"watch": "lerna run build --stream --ignore @iris/app && lerna run start --parallel --stream",
"test": "is-ci \"test:coverage\" \"test:watch\"",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch",
"test:debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --watch",
"lint": "eslint . --ignore-path .gitignore --ext .ts,.tsx,.js,.jsx --max-warnings=0",
"lint:fix": "eslint . --fix --ignore-path .gitignore --ext .ts,.tsx,.js,.jsx",
"format": "prettier --ignore-path .gitignore --check \"**/*.{tsx,ts,js,jsx,css,html,json}\"",
"format:fix": "prettier --ignore-path .gitignore --write \"**/*.{tsx,ts,js,jsx,css,html,json}\""
},
"devDependencies": {
"@babel/core": "^7.7.4",
"@types/jest": "^26.0.20",
"@typescript-eslint/eslint-plugin": "^4.5.0",
"@typescript-eslint/parser": "^4.5.0",
"babel-eslint": "^10.0.0",
"babel-loader": "^8.2.2",
"eslint": "^7.11.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-cypress": "^2.11.2",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-header": "^3.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.0",
"eslint-plugin-jest-dom": "^3.6.5",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-testing-library": "^3.10.1",
"husky": "^3.1.0",
"is-ci-cli": "^2.0.0",
"jest": "^24.9.0",
"lerna": "^3.22.1",
"lint-staged": "^9.4.3",
"prettier": "^2.3.0",
"typescript": "^4.1.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{tsx,ts,js,md,css,html}": [
"prettier --write",
"git add"
]
}
}