@oaklean/profiler
Version:
A library to measure the energy consumption of your javascript/typescript code
62 lines (61 loc) • 1.48 kB
JSON
{
"name": "@oaklean/profiler",
"version": "0.1.7",
"engines": {
"node": "^20.17.0 || ^22.13.0 || ^24.0.0"
},
"author": "Hitabis GmbH",
"license": "MIT",
"description": "A library to measure the energy consumption of your javascript/typescript code",
"keywords": [
"greenit",
"optimization",
"energy",
"consumption",
"javascript",
"typescript",
"jest",
"eco",
"profiler",
"measurement"
],
"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",
"src": "src"
},
"files": [
"LICENSE",
"README.md",
"dist/**/*"
],
"scripts": {
"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-measure": "npx cross-env ENABLE_MEASUREMENTS=1 npx jest --coverage --runInBand",
"test-update": "",
"publish-registry": "npm publish",
"generate-docs": "markdown-include md-configs/README.json"
},
"dependencies": {
"@oaklean/cli": "0.1.7",
"@oaklean/profiler-core": "0.1.7",
"@oaklean/windows-sensorinterface": "0.1.1",
"plist": "^3.1.0",
"seedrandom": "^3.0.5"
},
"devDependencies": {
"@jest/environment": "^30.2.0",
"@types/plist": "^3.0.5",
"@types/seedrandom": "^3.0.5",
"devtools-protocol": "^0.0.1561482"
}
}