This repository has been archived by the owner on Oct 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
73 lines (73 loc) · 2.17 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "@replit/ai-modelfarm",
"version": "1.0.0",
"description": "A library for building AI applications in JavaScript and TypeScript.",
"homepage": "https://docs.replit.com/ai/model-farm/",
"repository": "https://github.com/replit/replit-ai-modelfarm-typescript",
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"test": "vitest run src/*",
"test:watch": "vitest src/*",
"test:build": "vitest run buildtests/*",
"lint": "eslint src/*",
"lint:fix": "eslint src/* --fix",
"format": "prettier src/* --check",
"format:fix": "prettier src/* --write",
"fix": "npm run format:fix && npm run lint:fix",
"typecheck": "tsc --noEmit",
"allstatic": "npm run typecheck && npm run lint && npm run format",
"clean": "rm -rf dist docs/generated",
"build": "tsup src/index.ts --sourcemap --dts --platform node --format esm,cjs",
"build:docs": "./docs/build.sh",
"prepublishOnly": "npm run allstatic && npm run test && npm run build && npm run test:build"
},
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"import": {
"default": "./dist/index.mjs"
},
"require": "./dist/index.js",
"default": "./dist/index.js"
}
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"keywords": [
"replit",
"ai"
],
"files": [
"dist/*"
],
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"@jest/globals": "^29.6.4",
"@microsoft/api-documenter": "^7.22.33",
"@microsoft/api-extractor": "^7.36.4",
"@types/node": "^18.0.6",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"browser-readablestream-to-it": "^2.0.4",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"it-pipe": "^3.0.1",
"jest": "^29.6.4",
"prettier": "^3.0.3",
"ts-jest": "^29.1.1",
"tsup": "^7.2.0",
"typescript": "^5.2.2",
"typescript-eslint-language-service": "^5.0.5",
"typescript-language-server": "^3.3.2",
"vitest": "^0.34.3"
},
"prettier": {
"trailingComma": "all",
"singleQuote": true
}
}