UNPKG

@oaklean/profiler-core

Version:

Part of the @oaklean suite. It provides all basic functions to work with the `.oak` file format. It allows parsing the `.oak` file format as well as tools for analyzing the measurement values. It also provides all necessary capabilities required for prec

70 lines (69 loc) 2.29 kB
{ "name": "@oaklean/profiler-core", "version": "0.1.7", "engines": { "node": "^20.17.0 || ^22.13.0 || ^24.0.0" }, "author": "Hitabis GmbH", "license": "MIT", "description": "Part of the @oaklean suite. It provides all basic functions to work with the `.oak` file format. It allows parsing the `.oak` file format as well as tools for analyzing the measurement values. It also provides all necessary capabilities required for precise source code measurement, including interpreting V8 CPU profiler reports, parsing JavaScript/TypeScript source files, and transforming source code of test frameworks like Jest.", "keywords": [ "greenit", "optimization", "energy", "consumption", "javascript", "typescript", "jest", "eco" ], "repository": { "type": "git", "url": "https://github.com/hitabisgmbh/oaklean.git" }, "homepage": "https://www.oaklean.io/", "main": "./dist/src/index.js", "types": "./dist/src/index.d.ts", "directories": { "dist": "dist" }, "files": [ "LICENSE", "README.md", "dist/**/*" ], "scripts": { "install": "node -e \"if (!require('fs').existsSync('dist/src/index.js')) { require('child_process').execSync('npm run build', { stdio: 'inherit' }); }\"", "clear-build": "npx rimraf ./dist", "build": "npm run clear-build && npx cross-env NODE_ENV=production npx tsc", "lint": "npx eslint --fix .", "test": "npx jest --coverage", "test-update": "npx cross-env UPDATE_TEST_REPORTS=1 npx jest --coverage", "test-measure": "npx cross-env ENABLE_MEASUREMENTS=1 OAKLEAN_ENABLE_PERFORMANCE_TRACKING=1 npx jest --runInBand", "publish-registry": "npm publish", "generate-docs": "markdown-include md-configs/README.json" }, "dependencies": { "@vscode/debugprotocol": "^1.68.0", "axios": "^1.13.2", "cli-color": "^2.0.4", "devtools-protocol": "^0.0.1561482", "find-up": "^8.0.0", "glob": "^13.0.1", "glob-to-regexp": "^0.4.1", "json-stream-stringify": "^3.1.6", "jsonc-parser": "^3.3.1", "oboe": "^2.1.7", "source-map": "^0.7.6", "systeminformation": "^5.30.3", "typescript": "^5.9.3", "uuid": "^13.0.0", "zod": "^4.3.5" }, "devDependencies": { "@oaklean/profiler-jest-environment": "0.1.7", "@types/cli-color": "^2.0.6", "@types/glob-to-regexp": "^0.4.4", "@types/oboe": "^2.1.4" } }