forked from jhipster/prettier-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
49 lines (49 loc) · 1.28 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
43
44
45
46
47
48
49
{
"name": "root",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"lerna:version": "lerna version",
"lerna:publish": "lerna publish from-git --yes",
"ci": "npm-run-all build lint format:validate test",
"test": "lerna run test",
"lint": "eslint packages/**/*.js",
"format:fix": "prettier --write \"**/*.@(js|json|md)\"",
"format:validate": "prettier --list-different \"**/*.@(js|json|md)\"",
"build": "node packages/java-parser/scripts/gen-diagrams.js",
"prettier": "prettier --plugin=./packages/prettier-plugin-java --parser=java",
"update-test-outputs": "node packages/prettier-plugin-java/scripts/update-test-outputs.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,md,json}": [
"prettier --write",
"git add"
],
"*.js": [
"eslint --fix",
"git add"
]
},
"devDependencies": {
"benchmark": "^2.1.4",
"chai": "^4.2.0",
"eslint": "5.8.0",
"eslint-config-google": "0.11.0",
"eslint-config-prettier": "3.1.0",
"fs-extra": "^7.0.0",
"husky": "^1.3.1",
"klaw-sync": "^6.0.0",
"lerna": "^3.4.3",
"lint-staged": "^8.1.0",
"mocha": "^5.2.0",
"npm-run-all": "^4.1.5",
"prettier": "1.14.3"
}
}