-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
executable file
·36 lines (36 loc) · 1.08 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
{
"name": "advanced-javascript-patterns",
"version": "1.0.0",
"main": "index.js",
"repository": "https://www.github.com/cesalberca/advanced-javascript-patterns.git",
"author": "César Alberca",
"license": "MIT",
"private": true,
"scripts": {
"test": "jest --coverage",
"lint": "eslint src/**/*.js",
"form": "prettier --config ./prettier.config.js --loglevel error --write \"{src,__{tests,mocks}__}/**/*.js\""
},
"devDependencies": {
"@babel/core": "7.7.5",
"@babel/polyfill": "7.7.0",
"@babel/preset-env": "7.7.6",
"@types/jest": "24.0.23",
"babel-jest": "24.9.0",
"eslint": "6.7.2",
"eslint-config-prettier": "6.7.0",
"eslint-plugin-jest": "23.1.1",
"eslint-plugin-prettier": "3.1.1",
"husky": "3.1.0",
"jest": "24.9.0",
"prettier": "1.19.1",
"pretty-quick": "2.0.1"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged",
"pre-push": "prettier --list-different --config ./prettier.config.js \"{src,__{tests,mocks}__}/**/*.js\" && yarn test",
"post-commit": "git update-index -g"
}
}
}