-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
45 lines (45 loc) · 1.18 KB
/
package.json
File metadata and controls
45 lines (45 loc) · 1.18 KB
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
{
"name": "precommit-prettying",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"precommit": "lint-staged && npm run test",
"format": "prettier \"**/src/**/*.{js,css,scss}\" -l",
"lint": "eslint \"**/src/**/*.js\" --quiet",
"eslint:init": "eslint --init",
"test": "echo \"Doing the testing thing\"",
"kosher": "npm run lint && npm run format && npm run test"
},
"lint-staged": {
"**/src/**/*.js": [
"eslint --quiet --fix",
"prettier --write",
"git add"
],
"**/src/**/*.{css,scss}": [
"prettier --write",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/glvangorp/precommit-prettying.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/glvangorp/precommit-prettying/issues"
},
"homepage": "https://github.com/glvangorp/precommit-prettying#readme",
"devDependencies": {
"eslint": "^4.18.2",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-import": "^2.9.0",
"husky": "^0.14.3",
"lint-staged": "^7.0.0",
"prettier": "1.11.1"
},
"dependencies": {}
}