forked from symfony/ux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 1.3 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
{
"private": true,
"workspaces": [
"src/**/Resources/assets"
],
"scripts": {
"build": "yarn workspaces run build",
"test": "yarn workspaces run test",
"lint": "yarn workspaces run lint --fix",
"format": "prettier src/*/Resources/assets/{src,test}/*.js {,src/*/}*.{json,md} --write",
"check-lint": "yarn lint --no-fix",
"check-format": "yarn format --no-write --check"
},
"devDependencies": {
"@babel/eslint-parser": "^7.12.1",
"eslint": "^7.15.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-jest": "^24.1.3",
"prettier": "^2.2.1"
},
"eslintConfig": {
"root": true,
"parser": "@babel/eslint-parser",
"extends": [
"eslint:recommended",
"prettier"
],
"env": {
"browser": true
},
"overrides": [
{
"files": [
"src/*/Resources/assets/test/*.js"
],
"extends": [
"plugin:jest/recommended"
]
}
]
},
"prettier": {
"printWidth": 120,
"trailingComma": "es5",
"tabWidth": 4,
"jsxBracketSameLine": true,
"singleQuote": true
}
}