forked from larrybotha/testing-javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
37 lines (37 loc) · 881 Bytes
/
package.json
File metadata and controls
37 lines (37 loc) · 881 Bytes
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
{
"name": "02-static-analysis-testing-javascript-applications",
"version": "1.0.0",
"description": "",
"main": "01-configuring-eslint.js",
"scripts": {
"lint": "eslint src",
"prettier": "prettier \"**/*.+(js|json|yml|yaml|css|scss|ts|tsx|md|mdx|graphql)\"",
"format": "npm run prettier -- --write",
"validate": "npm run prettier -- --list-different && npm run flow",
"flow": "flow",
"precommit": "lint-staged"
},
"author": "",
"license": "ISC",
"devDependencies": {
"babel-eslint": "10.0.1",
"eslint": "5.7.0",
"flow-bin": "0.84.0",
"husky": "1.1.2",
"lint-staged": "7.3.0",
"prettier": "1.14.3"
},
"dependencies": {
"eslint-config-prettier": "3.1.0"
},
"lint-staged": {
"*.--write": [
"prettier --write",
"git add"
],
"*.js": [
"eslint --fix",
"git add"
]
}
}