UNPKG

@eagleoutice/flowr-dev

Version:

Static Dataflow Analyzer and Program Slicer for the R Programming Language

255 lines (254 loc) 10.2 kB
{ "name": "@eagleoutice/flowr-dev", "version": "0.0.2026-08-18-19-46", "description": "Static Dataflow Analyzer and Program Slicer for the R Programming Language", "engines": { "node": ">=22" }, "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": { "setup:dev": "npm ci && ts-node --transpile-only scripts/setup-dev.ts", "flowr": "npm run main --", "flowr:dev": "npm run sync:sigdb && npm run gen:base-packages && npm run main-dev --", "main": "npm run build:bundle-flowr && node dist/src/cli/flowr.min.js", "main-dev": "node -r ts-node/register --watch src/cli/flowr.ts", "slicer": "ts-node src/cli/slicer-app.ts", "benchmark": "npm run build:dev && node dist/src/cli/benchmark-app.js", "benchmark-helper": "ts-node src/cli/benchmark-helper-app.ts", "summarizer": "ts-node src/cli/summarizer-app.ts", "build": "npm run gen:base-packages && tsc --project . && npm run build:copy-data", "build:dev": "npm run build && npm run build:copy-wasm", "build:bundle-flowr": "npm run build && esbuild --bundle dist/src/cli/flowr.js --platform=node --tree-shaking=true --minify --external:clipboardy --target=node22 --outfile=dist/src/cli/flowr.min.js && npm run build:copy-wasm", "build:copy-data": "ts-node --transpile-only scripts/sigdb-copy.ts", "build:copy-wasm": "mkdir -p dist/node_modules/@davisvaughan/tree-sitter-r/ && mkdir -p dist/node_modules/web-tree-sitter && cp node_modules/@davisvaughan/tree-sitter-r/tree-sitter-r.wasm dist/node_modules/@davisvaughan/tree-sitter-r/ && cp node_modules/web-tree-sitter/tree-sitter.wasm dist/node_modules/web-tree-sitter/", "gen:base-packages": "ts-node --transpile-only scripts/gen-base-packages.ts", "gen:landing": "ts-node --transpile-only scripts/gen-landing.ts && ts-node --transpile-only scripts/gen-sigdb-index.ts && ts-node --transpile-only scripts/gen-playground.ts", "gen:sigdb-remote": "ts-node --transpile-only scripts/sigdb-remote.ts", "sync:sigdb": "ts-node --transpile-only scripts/sigdb-sync.ts", "publish:sigdb": "ts-node scripts/publish-sigdb.ts", "wiki": "ts-node src/cli/wiki.ts", "wiki:watch": "node -r ts-node/register --watch src/cli/wiki.ts --keep-alive", "doc": "node --max-old-space-size=8192 node_modules/typedoc/dist/cli.js", "typecheck": "tsc --noEmit --project .", "lint": "npm run license-compat -- --summary && npm run typecheck && npx eslint --version && npx eslint src/ test/ scripts/ --concurrency=auto --cache --cache-location node_modules/.cache/eslint", "lint-local": "npm run typecheck && npx eslint --version && npx eslint src/ test/ scripts/ --concurrency=auto --cache --cache-location node_modules/.cache/eslint-local --rule \"no-warning-comments: off\"", "license-compat": "license-checker-rseidelsohn --onlyAllow 'MIT;MPL-2.0;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' --clarificationsFile license-clarifications.json", "check:generic-labels": "ts-node --transpile-only scripts/check-generic-labels.ts", "detect-circular-deps": "npx madge --extensions ts,tsx --circular src/", "checkup": "ts-node scripts/checkup-parallel.ts", "test": "vitest --exclude \"test/system-tests/**\" --config test/vitest.config.mts", "test:full": "npm run test:coverage -- --no-watch --reporter=default --reporter=json --outputFile.json=coverage/flowr-test-results.json -- --make-summary --test-installation", "test:coverage": "npm run test -- --coverage", "test:verbose": "FLOWR_VERBOSE=true vitest --exclude \"test/system-tests/**\" --config test/vitest.config.mts", "test:system": "vitest --dir test/system-tests --config test/system-tests/vitest.config.mts", "test:bench": "vitest bench --config test/vitest.config.mts", "test:performance": "func() { cd test/performance/ && bash run-all-suites.sh \"$@\"; }; func", "test:docker": "func() { b() { docker build ${1:+--network=$1} -t flowr-docker-test -f \"$2\" .; }; r() { docker run --rm ${1:+--network=$1} flowr-docker-test --version; }; for df in scripts/Dockerfile scripts/Dockerfile-NoR; do echo \"=== building $df ===\"; b '' \"$df\" || { echo '(retrying with --network=host: bridge networking unavailable)'; b host \"$df\"; } || return 1; echo \"=== smoke-testing $df ===\"; r '' || r host || return 1; done; }; func", "benchmark:test-counts": "ts-node --transpile-only scripts/test-label-counts.ts", "benchmark:compact": "ts-node --transpile-only scripts/compact-benchmark-data.ts", "publish-library": "cp .npmignore package.json README.md LICENSE dist/src/ && cd dist/src && npm publish --access public", "release": "npx release-it --ci" }, "keywords": [ "static code analysis", "R programming language", "R", "programming", "slicing", "dataflow analysis" ], "author": "Florian Sihler", "license": "ISC", "typedocOptions": { "includeVersion": true, "plugin": [ "typedoc-umlclass", "typedoc-plugin-missing-exports" ], "entryPoints": [ "src", "test/functionality/_helper" ], "entryPointStrategy": "expand", "exclude": [ "**/node_modules/**/*", "**/index.ts" ], "highlightLanguages": [ "bash", "console", "css", "html", "javascript", "json", "jsonc", "json5", "tsx", "typescript", "r" ], "out": "doc", "readme": "README.md", "umlClassDiagram": { "type": "detailed", "location": "local", "format": "svg", "position": "below", "legendType": "none", "hideEmptyMembers": true, "generatorProcessCount": 4 }, "maxTypeConversionDepth": 4, "skipErrorChecking": true, "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:dev", "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}}'" }, { "file": "src/util/version.ts", "search": "const versionDate = '[\\d-]+'", "replace": "const versionDate = '{{now}}'", "dateFormat": "yyyy-MM-dd" } ] } } }, "devDependencies": { "@codemirror/legacy-modes": "^6.5.3", "@commitlint/cli": "^20.5.0", "@commitlint/config-angular": "^20.5.0", "@eagleoutice/eslint-config-flowr": "^2.1.1", "@j-ulrich/release-it-regex-bumper": "^5.4.0", "@types/command-line-args": "^5.2.3", "@types/command-line-usage": "^5.0.4", "@types/commonmark": "^0.27.10", "@types/dagre": "^0.7.53", "@types/n-readlines": "^1.0.6", "@types/n3": "^1.26.0", "@types/object-hash": "^3.0.6", "@types/object-path": "^0.11.4", "@types/seedrandom": "^3.0.8", "@types/semver": "^7.7.0", "@types/tmp": "^0.2.6", "@types/ws": "^8.18.1", "@vitest/coverage-v8": "^4.1.8", "codemirror": "^6.0.2", "esbuild": "^0.28.1", "eslint": "^10.8.0", "license-checker-rseidelsohn": "^4.4.2", "release-it": "^20.0.0", "seedrandom": "^3.0.5", "ts-node": "^10.9.2", "typedoc": "^0.28.17", "typedoc-plugin-missing-exports": "^4.1.2", "typedoc-umlclass": "^0.10.2", "typescript": "^5.9.3", "vitest": "^4.1.8" }, "dependencies": { "@davisvaughan/tree-sitter-r": "^1.2.0", "@jupyterlab/nbformat": "^4.5.4", "@xmldom/xmldom": "^0.9.7", "bzip2": "^0.1.1", "command-line-args": "^6.0.1", "command-line-usage": "^7.0.3", "commonmark": "^0.31.2", "dagre": "^0.8.5", "gray-matter": "^4.0.3", "ignore": "^5.3.2", "joi": "^18.0.1", "lz-string": "^1.5.0", "n-readlines": "^3.4.1", "object-hash": "^3.0.0", "object-path": "^0.11.8", "object-sizeof": "^2.6.5", "semver": "^7.7.4", "smol-toml": "^1.7.0", "tmp": "^0.2.3", "ts-essentials": "^10.1.1", "tslog": "^4.10.2", "web-tree-sitter": "^0.24.7", "ws": "^8.18.0" }, "allowScripts": { "@davisvaughan/tree-sitter-r@1.2.0": true, "core-js-pure@3.40.0": true, "esbuild@0.28.1": true, "plantuml-pipe@1.6.0": true, "unrs-resolver@1.12.2": true }, "optionalDependencies": { "clipboardy": "^4.0.0", "n3": "^1.26.0", "rotating-file-stream": "^3.2.8" } }