mirror of
https://github.com/promptfoo/promptfoo.git
synced 2023-08-15 01:10:51 +03:00
56 lines
1.2 KiB
JSON
56 lines
1.2 KiB
JSON
{
|
|
"name": "promptfoo",
|
|
"author": "Ian Webster",
|
|
"version": "0.1.0",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"typings": "dist/index.d.ts",
|
|
"files": [
|
|
"dist",
|
|
"src"
|
|
],
|
|
"engines": {
|
|
"node": ">=12"
|
|
},
|
|
"bin": {
|
|
"promptfoo": "dist/main.js"
|
|
},
|
|
"scripts": {
|
|
"local": "ts-node --esm src/main.ts",
|
|
"build": "tsc && cp src/*.html dist/",
|
|
"build:watch": "tsc --watch",
|
|
"prepare": "tsc",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"format": "prettier -w ."
|
|
},
|
|
"devDependencies": {
|
|
"@types/async": "^3.2.20",
|
|
"@types/cli-progress": "^3.11.0",
|
|
"@types/jest": "^29.5.1",
|
|
"@types/js-yaml": "^4.0.5",
|
|
"@types/nunjucks": "^3.2.2",
|
|
"babel-jest": "^29.5.0",
|
|
"jest-watch-typeahead": "^2.2.2",
|
|
"prettier": "^2.8.8",
|
|
"ts-jest": "^29.1.0",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^5.0.4"
|
|
},
|
|
"dependencies": {
|
|
"async": "^3.2.4",
|
|
"chalk": "^4.1.2",
|
|
"cli-progress": "^3.12.0",
|
|
"cli-table3": "^0.6.3",
|
|
"commander": "^10.0.1",
|
|
"csv-parse": "^5.3.8",
|
|
"csv-stringify": "^6.3.2",
|
|
"js-yaml": "^4.1.0",
|
|
"node-fetch": "^3.3.1",
|
|
"nunjucks": "^3.2.4",
|
|
"winston": "^3.8.2"
|
|
}
|
|
}
|