forked from jhipster/prettier-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 1.79 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,
"homepage": "https://www.jhipster.tech/prettier-java/",
"workspaces": [
"packages/*",
"benchmark/*"
],
"scripts": {
"prepare": "husky install",
"lerna:version": "lerna version --exact --no-private",
"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": "9.1.0",
"fs-extra": "^10.1.0",
"husky": "8.0.2",
"klaw-sync": "^6.0.0",
"lerna": "8.1.2",
"lint-staged": "13.0.4",
"mocha": "^10.1.0",
"nyc": "^15.1.0",
"prettier": "3.2.5",
"sinon": "^17.0.1"
},
"dependencies": {}
}