-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
81 lines (81 loc) · 2.17 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"private": true,
"scripts": {
"lint": "yarn lint:ts && yarn lint:css",
"lint:ts": "eslint . --ext .js --ext .ts --ext .jsx --ext .tsx",
"lint:css": "stylelint \"**/*.css\" \"**/*.scss\" --syntax scss",
"lint:fix": "yarn lint:ts --fix",
"format": "prettier --write '**/*.{ts,js,tsx,jsx,scss,css,html}'",
"format:check": "prettier --check '**/*.{ts,js,tsx,jsx,scss,css,html}'",
"tsc": "yarn workspaces run tsc",
"test": "env-cmd -f .env.testing jest",
"tssa": "tssa common frontend functions"
},
"workspaces": [
"common",
"course-info",
"frontend",
"functions"
],
"devDependencies": {
"@babel/core": "^7.12.16",
"@dev-sam/tssa": "^0.0.10",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.28",
"@typescript-eslint/eslint-plugin": "^4.15.0",
"@typescript-eslint/parser": "^4.15.0",
"babel-jest": "^26.6.3",
"env-cmd": "^10.1.0",
"eslint": "^7.20.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"firebase-tools": "^9.3.0",
"husky": "^5.0.9",
"identity-obj-proxy": "^3.0.0",
"jest": "26.6.3",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"stylelint": "^13.10.0",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-standard": "^20.0.0",
"stylelint-scss": "^3.19.0",
"ts-node": "^9.1.1",
"typescript": "^4.1.3"
},
"stylelint": {
"plugins": [
"stylelint-scss"
],
"extends": [
"stylelint-config-standard",
"stylelint-config-prettier"
],
"rules": {
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true
}
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"trailingComma": "es5",
"endOfLine": "lf",
"proseWrap": "always"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{ts,js,tsx,jsx,scss,css,html}": [
"yarn prettier --write"
]
}
}