-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
51 lines (51 loc) · 1.29 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
{
"name": "minis-samples",
"private": true,
"description": "sample minis",
"license": "UNLICENSED",
"repository": "https://github.com/Snapchat/minis-samples",
"engines": {
"node": ">=16.14.2",
"npm": ">=8.5.0"
},
"workspaces": [
"minis/*",
"packages/*"
],
"scripts": {
"lint": "eslint '*/**/*.{js,ts,tsx}' --max-warnings 0 --cache && prettier --check '*/**/*.{json,css,scss,md}'",
"lint:fix": "eslint '*/**/*.{js,ts,tsx}' --max-warnings 0 --cache --fix && prettier --write '*/**/*.{json,css,scss,md}'",
"build:minis:ci": "npm --ws --if-present run build:minis:ci",
"prepare": "husky install"
},
"eslintConfig": {
"plugins": [
"prettier"
],
"rules": {
"prettier/prettier": "error"
},
"extends": [
"react-app",
"react-app/jest"
]
},
"eslintIgnore": [
"build"
],
"devDependencies": {
"@typescript-eslint/parser": "^5.30.6",
"eslint": "^8.20.0",
"eslint-config-react": "^1.1.7",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"typescript": "^4.7.4"
},
"lint-staged": {
"*.{js,ts,tsx}": "eslint --cache --fix",
"*/**/*.{json,css,scss,md}": "prettier --write"
}
}