-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
118 lines (118 loc) · 3.2 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "openmodelica-library-testing",
"description": "Setup OpenModelicaLibraryTesting scripts and runs them on a Modelica package and publishes results.",
"version": "0.2.0",
"author": "Andreas Heuermann",
"license": "OSMC-PL-1-8",
"private": true,
"homepage": "https://github.com/OpenModelica/openmodelica-library-testing-action",
"repository": {
"type": "git",
"url": "git+https://github.com/OpenModelica/openmodelica-library-testing-action.git"
},
"bugs": {
"url": "https://github.com/OpenModelica/openmodelica-library-testing-action/issues"
},
"keywords": [
"continuous-integration",
"actions",
"modelica-library",
"openmodelica"
],
"exports": {
".": "./dist/index.js"
},
"engines": {
"node": ">=20"
},
"scripts": {
"bundle": "npm run format:write && npm run package",
"coverage": "make-coverage-badge --output-path ./badges/coverage.svg",
"format:write": "prettier --write **/*.ts",
"format:check": "prettier --check **/*.ts",
"lint": "npx eslint . -c ./.github/linters/.eslintrc.yml",
"package": "ncc build src/index.ts --license licenses.txt && npm run copy-files",
"package:watch": "npm run package -- --watch",
"copy-files": "copyfiles scripts/dygraph-combined.js dist/",
"test": "jest",
"all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package"
},
"jest": {
"preset": "ts-jest",
"verbose": true,
"clearMocks": true,
"testEnvironment": "node",
"moduleFileExtensions": [
"js",
"ts"
],
"projects": [
{
"displayName": "unit-tests",
"testEnvironment": "node",
"testMatch": [
"**/*.test.ts"
],
"testPathIgnorePatterns": [
"main.test.ts",
"/node_modules/",
"/dist/"
],
"transform": {
"^.+\\.ts$": "ts-jest"
}
},
{
"displayName": "main-test",
"testEnvironment": "node",
"testMatch": [
"**/main.test.ts"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"transform": {
"^.+\\.ts$": "ts-jest"
}
}
],
"coverageReporters": [
"json-summary",
"text",
"lcov"
],
"collectCoverage": true,
"collectCoverageFrom": [
"./src/**"
]
},
"dependencies": {
"@actions/artifact": "^2.1.7",
"@actions/core": "^1.10.1",
"node-html-parser": "^6.1.13",
"simple-git": "^3.24.0",
"turndown": "^7.1.3",
"turndown-plugin-gfm": "^1.0.2"
},
"devDependencies": {
"@types/jest": "^29.5.11",
"@types/node": "^20.12.10",
"@types/turndown": "^5.0.4",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"@vercel/ncc": "^0.38.1",
"copyfiles": "^2.4.1",
"eslint": "^8.56.0",
"eslint-plugin-github": "^4.10.1",
"eslint-plugin-jest": "^28.5.0",
"eslint-plugin-jsonc": "^2.15.1",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"make-coverage-badge": "^1.2.0",
"prettier-eslint": "^16.3.0",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.2",
"typescript": "^5.4.5"
}
}