-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
58 lines (58 loc) · 2.02 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
{
"name": "nx-code-coverage",
"version": "0.0.0",
"description": "Github action for combining/compiling code coverage from an nx monorepo",
"main": "lib/index.js",
"scripts": {
"build": "tsc -p tsconfig.release.json",
"format": "prettier --write '**/*.ts'",
"format-check": "prettier --check '**/*.ts'",
"lint": "eslint src/**/*.ts",
"package": "ncc build --source-map --license licenses.txt",
"package:del": "ncc build --source-map --license licenses.txt && find ./dist/lib -mindepth 1 ! -name text -type d -not -path '.' -exec rm -rf {} + ",
"test": "jest",
"all": "npm run format && npm run lint && npm test && npm run build && npm run package",
"npm:check": "npx npm-check",
"build:check": "lines=`git diff --ignore-space-at-eol dist/ | wc -l`; if [ $lines -gt 1 ]; then echo \"Detected uncommitted changes after build. See status below:\"; diff=`git diff --ignore-space-at-eol dist/`; echo $diff; echo ''; exit 1; fi"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dkhunt27/nx-code-coverage.git"
},
"keywords": [
"actions",
"node",
"setup"
],
"author": "",
"license": "MIT",
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/github": "~5.1.1",
"istanbul-lib-coverage": "^3.2.0",
"istanbul-lib-report": "^3.0.1",
"lodash": "^4.17.21"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@types/istanbul": "^0.4.30",
"@types/istanbul-reports": "^3.0.1",
"@types/jest": "^29.5.5",
"@types/node": "^20.6.3",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"@vercel/ncc": "^0.38.0",
"eslint": "^8.49.0",
"eslint-plugin-github": "^4.10.0",
"eslint-plugin-jest": "^27.4.0",
"jest": "^29.7.0",
"npm-check-pr397": "^6.0.4",
"prettier": "^3.0.3",
"ts-jest": "^29.1.1",
"typescript": "~4.8.4",
"yorkie": "^2.0.0"
},
"gitHooks": {
"pre-push": "if [[ $SKIP_HOOKS ]]; then exit 0; fi; npm run all && npm run build:check"
}
}