forked from jhipster/prettier-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
47 lines (47 loc) · 1.65 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
{
"name": "root",
"private": true,
"workspaces": [
"packages/*",
"benchmark/*"
],
"scripts": {
"lerna:version": "lerna version --exact --git-remote upstream",
"lerna:publish": "lerna publish from-git --yes",
"ci": "npm-run-all build lint format:validate test",
"ci:all": "yarn run ci && yarn run test:prettier-plugin-java test:e2e-jhipster1 && yarn run test:prettier-plugin-java test:e2e-jhipster2",
"test": "lerna run test --stream",
"test:prettier-plugin-java": "lerna --stream --scope=prettier-plugin-java run",
"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/unicode.js packages/java-parser/resources/Unicode/UnicodeData.txt && prettier --write packages/java-parser/src/unicodesets.js && 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-output.js"
},
"lint-staged": {
"*.{js,md,json}": [
"prettier --write"
],
"*.js": [
"eslint --fix"
]
},
"devDependencies": {
"benchmark": "^2.1.4",
"chai": "^4.2.0",
"eslint": "7.14.0",
"eslint-config-google": "0.14.0",
"eslint-config-prettier": "6.15.0",
"fs-extra": "^9.0.1",
"husky": "4.3.0",
"klaw-sync": "^6.0.0",
"lerna": "3.22.1",
"lint-staged": "10.5.1",
"mocha": "^8.2.1",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "2.2.1",
"sinon": "^9.2.1"
}
}