lion/packages-node/providence-analytics/package.json
2025-03-20 10:29:39 +01:00

89 lines
3 KiB
JSON

{
"name": "providence-analytics",
"version": "0.18.4",
"description": "Providence is the 'All Seeing Eye' that measures effectivity and popularity of software. Release management will become highly efficient due to an accurate impact analysis of (breaking) changes",
"license": "MIT",
"author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/",
"repository": {
"type": "git",
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages-node/providence-analytics"
},
"type": "module",
"exports": {
".": "./src/index.js",
"./cli.js": "./src/cli/index.js",
"./utils.js": "./src/program/utils/index.js",
"./analyzers.js": "./src/program/analyzers/index.js",
"./docs/*": "./docs/*"
},
"main": "./src/index.js",
"bin": {
"providence": "./src/cli/index.js"
},
"files": [
"src",
"types"
],
"scripts": {
"dashboard": "node ./src/dashboard/server.js --run-server --serve-from-package-root",
"match-lion-imports": "npm run providence -- analyze match-imports --search-target-collection @lion-targets --reference-collection @lion-references --measure-perf --skip-check-match-compatibility",
"providence": "node --max-old-space-size=8192 ./src/cli/index.js",
"prepublishOnly": "npm run publish-docs",
"publish-docs": "node ../../packages-node/publish-docs/src/cli.js --github-url https://github.com/ing-bank/lion/ --git-root-dir ../../",
"test:node": "npm run test:node:unit && npm run test:node:e2e",
"test:node:e2e": "mocha './test-node/**/*.e2e.js' --timeout 60000",
"test:node:unit": "mocha './{test-node,src}/**/*.test.js'"
},
"dependencies": {
"@rollup/plugin-node-resolve": "^16.0.1",
"commander": "^2.20.3",
"globby": "^14.1.0",
"oxc-parser": "0.48.0",
"parse5": "^7.2.1",
"semver": "^7.7.1"
},
"peerDependencies": {
"@babel/parser": "^7.25.8",
"@babel/plugin-syntax-import-assertions": "^7.25.7",
"@swc/core": "^1.10.12"
},
"devDependencies": {
"@babel/parser": "^7.26.10",
"@babel/plugin-syntax-import-assertions": "^7.26.0",
"@babel/traverse": "^7.26.10",
"@swc/core": "^1.10.12",
"@types/inquirer": "^9.0.7",
"@types/mocha": "^10.0.10",
"@web/dev-server": "^0.4.6",
"@web/dev-server-core": "^0.7.5",
"lit-element": "^4.1.1",
"mock-fs": "^5.5.0"
},
"keywords": [
"analysis",
"impact",
"insight",
"metrics",
"providence",
"quality",
"release management",
"semver",
"software"
],
"engines": {
"node": ">=18.0.0"
},
"publishConfig": {
"access": "public"
},
"comments": {
"dependencies": {
"@rollup/plugin-node-resolve": "Move to devDep (for mocking require.resolve) later and use require.resolve for prod later",
"commander": "Can't be easily moved to latest. Move to parseArgs from node:util later",
"oxc-parser": "Pin it as long as the api is unstable, to prevent unpredictable behavior",
"semver": "Only needed for one check. Create internal util later"
}
}
}