forked from jhipster/prettier-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
48 lines (48 loc) · 1.74 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
{
"name": "root",
"private": true,
"workspaces": [
"packages/*",
"benchmark/*"
],
"scripts": {
"prepare": "husky install",
"lerna:version": "lerna version --exact --git-remote upstream",
"lerna:publish": "lerna publish from-git --yes",
"ci": "yarn build && yarn lint && yarn format:validate && yarn 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|ts)\"",
"format:validate": "prettier --list-different \"**/*.@(js|json|ts)\"",
"build": "yarn build:prettier-plugin-java && 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",
"build:prettier-plugin-java": "cd packages/prettier-plugin-java && yarn build && cd ../..",
"update-test-outputs": "node packages/prettier-plugin-java/scripts/update-test-output.js"
},
"lint-staged": {
"*.json": [
"prettier --write"
],
"*.js,*.ts": [
"eslint --fix",
"prettier --write"
]
},
"devDependencies": {
"chai": "^4.3.7",
"eslint": "8.28.0",
"eslint-config-google": "0.14.0",
"eslint-config-prettier": "8.5.0",
"fs-extra": "^10.1.0",
"husky": "8.0.2",
"klaw-sync": "^6.0.0",
"lerna": "6.0.3",
"lint-staged": "13.0.4",
"mocha": "^10.1.0",
"nyc": "^15.1.0",
"prettier": "3.0.3",
"sinon": "^17.0.1"
},
"dependencies": {}
}