forked from vtex-apps/auth-challenge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
30 lines (30 loc) · 783 Bytes
/
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
{
"version": "0.0.2",
"devDependencies": {
"@vtex/intl-equalizer": "^2.3.0",
"@vtex/prettier-config": "^0.3.1",
"eslint": "^7.6.0",
"eslint-config-vtex": "^12.8.1",
"eslint-config-vtex-react": "^6.7.3",
"husky": "^2.4.1",
"prettier": "^2.0.5",
"typescript": "^3.9.7"
},
"scripts": {
"lint": "cd ./react && yarn lint",
"test": "cd ./react && yarn test",
"lint:locales": "intl-equalizer",
"locales:fix": "intl-equalizer --fix",
"verify": "yarn lint && yarn lint:locales && yarn test"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint && yarn lint:locales && yarn locales:fix",
"pre-push": "yarn verify"
}
},
"intl-equalizer": {
"referenceLocale": "en",
"localeDirectory": "messages"
}
}