Spaces:
Paused
Paused
| { | |
| "name": "inforadar", | |
| "version": "0.1.0", | |
| "description": "Info Lens toolbox — Info Highlight, raw chat, attribution, causal flow", | |
| "main": "webpack.config.js", | |
| "scripts": { | |
| "test": "echo \"Error: no test specified\" && exit 1", | |
| "test:charIndex": "npx tsx tests/utils/charIndexForByteLimit.test.ts", | |
| "test:findSplitPoint": "npx tsx tests/utils/findSplitPoint.test.ts", | |
| "test:splitChunks": "npx tsx tests/utils/splitTextToChunks.test.ts", | |
| "test:dagPropagationPlayback": "npx tsx tests/prediction_attribution/genAttributeDagPropagationPlayback.test.ts", | |
| "test:dagAttentionPlayback": "npx tsx tests/prediction_attribution/genAttributeDagAttentionPlayback.test.ts", | |
| "test:runAttentionPlayback": "npx tsx tests/prediction_attribution/runAttentionPlayback.test.ts", | |
| "test:dagStepPlayback": "npx tsx tests/prediction_attribution/genAttributeDagStepPlayback.test.ts", | |
| "test:dagPreprocess": "npx tsx tests/prediction_attribution/genAttributeDagPreprocess.test.ts", | |
| "test:prediction-attribution": "npm run test:dagPreprocess && npm run test:dagStepPlayback && npm run test:dagAttentionPlayback && npm run test:runAttentionPlayback && npm run test:dagPropagationPlayback && npm run test:dagLightning && npm run test:dagFocusAttribution && npm run test:dagLayoutTransition", | |
| "test:dagLightning": "npx tsx tests/prediction_attribution/genAttributeDagLightning.test.ts", | |
| "test:dagFocusAttribution": "npx tsx tests/prediction_attribution/genAttributeDagFocusAttribution.test.ts", | |
| "test:dagLayoutTransition": "npx tsx tests/prediction_attribution/genAttributeDagLayoutTransition.test.ts", | |
| "test:resolveApiBase": "npx tsx tests/api/resolveApiBase.test.ts", | |
| "prebuild": "node scripts/updateIntroHTML.js", | |
| "prebuild:dev": "node scripts/updateIntroHTML.js", | |
| "wp": "npm run build:dev", | |
| "ww": "npm run watch", | |
| "stats": "webpack --mode production --json --profile > stats.json", | |
| "build": "webpack --mode production", | |
| "build:github-pages": "npm run prebuild && INFORADAR_API_BASE=https://infolens-api.xiaoyundqy.workers.dev INFORADAR_WEB_DIST=dist-github_pages webpack --mode production", | |
| "preview:github-pages": "npx serve ../dist-github_pages -p 8091 -c ../src/serve.json", | |
| "build:cf": "npm run prebuild && INFORADAR_API_BASE=\"${INFORADAR_API_BASE:-https://infolens-api.xiaoyundqy.workers.dev}\" INFORADAR_WEB_DIST=dist-cf webpack --mode production", | |
| "build:dev": "webpack --mode development --devtool=inline-source-map", | |
| "watch": "webpack --mode development --devtool=inline-source-map --watch", | |
| "start": "webpack serve --mode development --devtool=inline-source-map" | |
| }, | |
| "author": "dqy <xiaoyundqy@qq.com>", | |
| "license": "Apache-2.0", | |
| "dependencies": { | |
| "@types/d3": "^7.4.3", | |
| "@types/d3-selection": "^3.0.8", | |
| "@types/lodash": "^4.14.202", | |
| "@types/node": "^20.10.0", | |
| "d3": "^7.8.5", | |
| "d3-selection": "^3.0.0", | |
| "font-awesome": "4.7.0", | |
| "graphology": "^0.26.0", | |
| "jquery": "^3.7.1", | |
| "lodash": "^4.17.21" | |
| }, | |
| "devDependencies": { | |
| "copy-webpack-plugin": "^11.0.0", | |
| "css-loader": "^6.8.1", | |
| "fork-ts-checker-webpack-plugin": "^7.3.0", | |
| "mini-css-extract-plugin": "^2.7.6", | |
| "sass": "^1.69.5", | |
| "sass-loader": "^13.3.2", | |
| "style-loader": "^3.3.3", | |
| "ts-loader": "^9.5.1", | |
| "typescript": "^5.3.3", | |
| "webpack": "^5.89.0", | |
| "webpack-cli": "^5.1.4", | |
| "webpack-dev-server": "^4.15.1" | |
| } | |
| } | |