-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
42 lines (42 loc) · 1.15 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
{
"name": "prettier-plugin-csharp",
"version": "0.6.0-development",
"description": "Prettier C# Plugin",
"repository": "warrenseine/prettier-plugin-csharp",
"author": "Warren Seine <@warrenseine>",
"license": "MIT",
"main": "src",
"dependencies": {
"antlr4": "^4.7.2",
"is-alphanumerical": "^1.0.2",
"lodash": "^4.17.11",
"prettier": "^1.15.3"
},
"scripts": {
"format": "prettier --write \"{src,test}/**/*.js\"",
"lint": "eslint src/**",
"test:debug": "node --lazy --inspect-brk test",
"test": "node test && git diff --exit-code -- test/*.Formatted.cs",
"fetch-antlr": "node fetch",
"generate-parser": "java -jar bin/antlr-4.7.2-complete.jar -Dlanguage=JavaScript src/csharp/*.g4",
"prettier": "prettier --plugin=. --parser=cs",
"prettier:debug": "node --lazy --inspect-brk src/debug.js"
},
"devDependencies": {
"eslint": "^5.11.1",
"eslint-config-prettier": "^3.3.0",
"husky": "^1.3.1",
"lint-staged": "^8.1.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,css,md}": [
"prettier --write",
"git add"
]
}
}