-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
211 lines (211 loc) · 7.07 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
{
"name": "@eagleoutice/flowr",
"version": "2.1.7",
"description": "Static Dataflow Analyzer and Program Slicer for the R Programming Language",
"types": "dist/src/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/flowr-analysis/flowr.git"
},
"homepage": "https://github.com/flowr-analysis/flowr",
"bugs": {
"url": "https://github.com/flowr-analysis/flowr/issues"
},
"scripts": {
"main": "npm run build:bundle-flowr && node dist/src/cli/flowr.min.js",
"flowr": "npm run main --",
"main-dev": "ts-node src/cli/flowr.ts",
"publish-library": "cp .npmignore package.json README.md LICENSE dist/src/ && cd dist/src && npm publish --access public",
"release": "npx release-it --ci",
"stats": "ts-node src/cli/statistics-app.ts",
"stats-helper": "ts-node src/cli/statistics-helper-app.ts",
"slicer": "ts-node src/cli/slicer-app.ts",
"benchmark-helper": "ts-node src/cli/benchmark-helper-app.ts",
"benchmark": "npm run build && node dist/src/cli/benchmark-app.js",
"summarizer": "ts-node src/cli/summarizer-app.ts",
"export-quads": "ts-node src/cli/export-quads-app.ts",
"capabilities-markdown": "ts-node src/documentation/print-capabilities-markdown.ts",
"wiki:df-graph": "ts-node src/documentation/print-dataflow-graph-wiki.ts",
"wiki:normalized-ast": "ts-node src/documentation/print-normalized-ast-wiki.ts",
"wiki:query-api": "ts-node src/documentation/print-query-wiki.ts",
"wiki:linting-and-testing": "ts-node src/documentation/print-linting-and-testing-wiki.ts",
"wiki:interface": "ts-node src/documentation/print-interface-wiki.ts",
"build": "tsc --project .",
"build:bundle-flowr": "npm run build && esbuild --bundle dist/src/cli/flowr.js --platform=node --bundle --minify --target=node22 --outfile=dist/src/cli/flowr.min.js",
"lint-local": "npx eslint --version && npx eslint src/ test/ --rule \"no-warning-comments: off\"",
"lint": "npm run license-compat -- --summary && npx eslint --version && npx eslint src/ test/",
"license-compat": "license-checker --onlyAllow 'MIT;MIT OR X11;GPLv2;LGPL;GNUGPL;ISC;Apache-2.0;FreeBSD;BSD-2-Clause;clearbsd;ModifiedBSD;BSD-3-Clause;Python-2.0;Unlicense;WTFPL;BlueOak-1.0.0;CC-BY-4.0;CC-BY-3.0;CC0-1.0;0BSD'",
"doc": "typedoc",
"test": "vitest --config test/vitest.config.mts",
"test:coverage": "npm run test -- --coverage",
"performance-test": "func() { cd test/performance/ && bash run-all-suites.sh $1 $2 $3; cd ../../; }; func",
"test-full": "npm run test:coverage -- --no-watch -- --make-summary --test-installation",
"detect-circular-deps": "npx madge --extensions ts,tsx --circular src/",
"checkup": "npm run flowr -- --execute \":version\" && npm run lint && npm run test-full -- --forbid-only && docker build -t test-flowr -f scripts/Dockerfile . && npm run doc && npm-run-all wiki:*"
},
"keywords": [
"static code analysis",
"R programming language",
"R",
"programming",
"slicing",
"dataflow analysis"
],
"author": "Florian Sihler",
"license": "ISC",
"eslintConfig": {
"settings": {
"import/resolver": {
"node": {
"extensions": [
".ts"
]
}
}
},
"extends": [
"@eagleoutice/eslint-config-flowr"
],
"rules": {}
},
"typedocOptions": {
"includeVersion": true,
"plugin": [
"typedoc-umlclass",
"typedoc-plugin-missing-exports",
"typedoc-theme-hierarchy"
],
"entryPoints": [
"src",
"test/functionality/_helper"
],
"entryPointStrategy": "expand",
"exclude": [
"**/node_modules/**/*",
"**/index.ts"
],
"theme": "hierarchy",
"out": "doc",
"readme": "README.md",
"umlClassDiagram": {
"type": "detailed",
"location": "embed",
"format": "svg",
"position": "below",
"legendType": "none",
"hideEmptyMembers": false,
"generatorProcessCount": 4
},
"lightHighlightTheme": "light-plus",
"darkHighlightTheme": "dark-plus",
"hideGenerator": false,
"searchInComments": true,
"useTsLinkResolution": true,
"categorizeByGroup": true,
"sort": [
"static-first",
"alphabetical"
],
"visibilityFilters": {
"protected": true,
"private": true,
"inherited": true,
"external": true
},
"validation": {
"notExported": true,
"invalidLink": true,
"notDocumented": true
},
"treatValidationWarningsAsErrors": false
},
"release-it": {
"git": {
"commitMessage": "[skip ci] Release v${version}",
"requireCleanWorkingDir": true,
"tagName": "v${version}",
"commit": true,
"tag": true,
"push": true
},
"github": {
"release": true,
"tokenRef": "RELEASE_TOKEN",
"releaseName": "Release v${version}",
"web": false,
"autoGenerate": true,
"comments": {
"submit": true,
"issue": "_This issue has been resolved in v${version} (see [${releaseName}](${releaseUrl}))._",
"pr": "_This pull request is included in v${version} (see [${releaseName}](${releaseUrl}))._"
}
},
"npm": {
"publish": false
},
"hooks": {
"before:init": [
"npm run lint",
"npm run test-full"
],
"after:bump": "npm run build",
"after:git:release": "echo After git push, before github release",
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
},
"plugins": {
"@j-ulrich/release-it-regex-bumper": {
"out": {
"file": "src/util/version.ts",
"search": "const version = '[\\d.]+'",
"replace": "const version = '{{version}}'"
}
}
}
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-angular": "^19.3.0",
"@eagleoutice/eslint-config-flowr": "^1.0.14",
"@j-ulrich/release-it-regex-bumper": "^5.1.0",
"@types/command-line-args": "^5.2.3",
"@types/command-line-usage": "^5.0.4",
"@types/n-readlines": "^1.0.6",
"@types/n3": "^1.16.4",
"@types/object-hash": "^3.0.6",
"@types/semver": "^7.5.6",
"@types/tmp": "^0.2.6",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@vitest/coverage-v8": "^2.1.4",
"esbuild": "^0.23.1",
"eslint": "^8.57.1",
"license-checker": "^25.0.1",
"npm-run-all": "^4.1.5",
"release-it": "^17.6.0",
"ts-node": "^10.9.2",
"typedoc": "^0.26.7",
"typedoc-plugin-missing-exports": "^3.0.0",
"typedoc-theme-hierarchy": "^5.0.3",
"typedoc-umlclass": "^0.10.0",
"typescript": "^5.6.2",
"vitest": "^2.1.4"
},
"dependencies": {
"@xmldom/xmldom": "^0.9.2",
"command-line-args": "^6.0.0",
"command-line-usage": "^7.0.3",
"joi": "^17.13.3",
"n-readlines": "^1.0.1",
"n3": "^1.21.3",
"object-hash": "^3.0.0",
"object-sizeof": "^2.6.5",
"rotating-file-stream": "^3.2.5",
"semver": "^7.6.3",
"tar": "^7.4.3",
"tmp": "^0.2.3",
"ts-essentials": "^10.0.2",
"tslog": "^4.9.3",
"ws": "^8.18.0",
"xpath-ts2": "^1.4.2"
}
}