forked from HackYourFuture-CPH/CINEMANIA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
48 lines (48 loc) · 1.37 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
{
"name": "hyf-final-project-monorepo",
"private": true,
"workspaces": [
"packages/*"
],
"engines": {
"yarn": ">= 1.19.1 <2",
"node": ">= 18.16.0"
},
"scripts": {
"build": "script/build",
"knex": "knex --cwd ./packages/server",
"prettier": "prettier --ignore-path .gitignore \"**/*.+(js|jsx|ts|tsx|json|css)\"",
"prettier:check": "yarn prettier --check",
"prettier:fix": "yarn prettier --write",
"lint": "yarn workspaces run lint",
"lint:fix": "yarn lint --fix",
"stylelint:check": "yarn stylelint \"**/*.css\"",
"stylelint:fix": "yarn stylelint \"**/*.css\" --fix",
"validate": "yarn prettier:check && yarn lint && yarn stylelint:check",
"fix": "yarn prettier:fix && yarn lint:fix && yarn stylelint:fix",
"prepare": "husky install"
},
"devDependencies": {
"eslint-plugin-prettier": "^4.2.1",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.8.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"prettier": "^2.8.8",
"stylelint": "^15.6.0",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-standard": "^33.0.0",
"stylelint-prettier": "^3.0.0"
},
"lint-staged": {
"**/*.+(js|jsx|ts|tsx|json|css)": [
"yarn prettier:check"
],
"**/*.+(js|jsx|ts|tsx)": [
"yarn lint"
],
"**/*.+(css)": [
"yarn stylelint:check"
]
}
}