-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
66 lines (66 loc) · 2.19 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"name": "@javamodules/attic",
"version": "1.0.9",
"private": true,
"license": "Apache-2.0",
"type": "module",
"workspaces": [
"packages/java",
"packages/maven",
"packages/gradle",
"packages/indexer"
],
"scripts": {
"all": "bun run lockfiles && bun run fmt:write && pnpm run build && pnpm run check && pnpm run test && pnpm run test:node",
"build": "pnpm run -r build",
"check": "pnpm run /:check$/",
"clean": "make clean",
"fmt:check": "prettier . --check",
"fmt:write": "prettier . --write",
"format": "pnpm run fmt:write",
"hashcheck": "hashlock check .",
"indexer": "cd packages/indexer && pnpm run index",
"lockfiles": "rm -fr node_modules && bun i && rm -fr node_modules && pnpm i",
"prepare": "husky",
"prettier": "prettier",
"test": "cd packages/maven && pnpm run test && cd - && cd packages/gradle && pnpm run test && cd - && cd packages/indexer && pnpm run test && cd - && cd packages/java && pnpm run test && cd -",
"test:bun": "cd packages/maven && pnpm run test:bun && cd - && cd packages/gradle && pnpm run test:bun && cd - && cd packages/indexer && pnpm run test:bun && cd - && cd packages/java && pnpm run test:bun && cd -",
"test:node": "cd packages/maven && pnpm run test:node && cd - && cd packages/gradle && pnpm run test:node && cd - && cd packages/indexer && pnpm run test:node && cd - && cd packages/java && pnpm run test:node && cd -"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"signed-off-by": [
2,
"always"
]
}
},
"lint-staged": {
"*": "pnpm run check"
},
"devDependencies": {
"@changesets/cli": "2.27.5",
"@commitlint/cli": "19.5.0",
"@commitlint/config-conventional": "19.2.2",
"hashlock": "1.0.4",
"husky": "9.0.11",
"lint-staged": "15.2.10",
"prettier": "3.2.5",
"typescript": "5.5.4"
},
"packageManager": "[email protected]+sha256.4b4efa12490e5055d59b9b9fc9438b7d581a6b7af3b5675eb5c5f447cee1a589",
"pnpm": {
"allowDeprecated": {
"rollup-plugin-inject": "*",
"sourcemap-codec": "*"
}
}
}