generated from vtex-apps/react-app-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 1.21 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
{
"version": "0.0.0",
"name": "admin-leads-app",
"private": true,
"license": "UNLICENSED",
"scripts": {
"lint": "eslint --ext js,jsx,ts,tsx .",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json}\"",
"lint:locales": "intl-equalizer",
"test": "cd ./react && yarn test"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,js,tsx,jsx}": [
"eslint --fix",
"prettier --write"
],
"*.{json,graphql,gql}": [
"prettier --write"
],
"*.json": [
"prettier --write"
],
"messages/*.json": [
"yarn lint:locales"
]
},
"devDependencies": {
"@apollo/react-testing": "3",
"@types/react-intl": "3",
"@vtex/danger": "^0.2.7",
"@vtex/intl-equalizer": "^2.5.0",
"@vtex/prettier-config": "^0.3.5",
"@vtex/test-tools": "^3.4.2",
"@vtex/tsconfig": "^0.5.6",
"eslint": "^7.14.0",
"eslint-config-vtex": "^12.8.11",
"eslint-config-vtex-react": "^6.8.3",
"husky": "^4.3.0",
"lint-staged": "^10.5.1",
"prettier": "^2.2.0",
"react-intl": "3",
"typescript": "^3.9.6"
},
"intl-equalizer": {
"referenceLocale": "en",
"localeDirectory": "messages"
}
}