forked from replicate/replicate-javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
52 lines (52 loc) · 1.66 KB
/
package.json
File metadata and controls
52 lines (52 loc) · 1.66 KB
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
{
"name": "replicate",
"version": "0.29.0",
"description": "JavaScript client for Replicate",
"repository": "github:replicate/replicate-javascript",
"homepage": "https://github.com/replicate/replicate-javascript#readme",
"bugs": "https://github.com/replicate/replicate-javascript/issues",
"license": "Apache-2.0",
"main": "index.js",
"type": "commonjs",
"types": "dist/types/index.d.ts",
"files": [
"CONTRIBUTING.md",
"LICENSE",
"README.md",
"dist/**/*",
"index.d.ts",
"index.js",
"lib/**/*.js",
"vendor/**/*",
"package.json"
],
"engines": {
"node": ">=18.0.0",
"npm": ">=7.19.0",
"git": ">=2.11.0",
"yarn": ">=1.7.0"
},
"scripts": {
"build": "npm run build:types && tsc --noEmit dist/types/**/*.d.ts",
"build:types": "tsc --target ES2022 --declaration --emitDeclarationOnly --allowJs --types node --outDir ./dist/types index.js",
"check": "tsc",
"format": "biome format . --write",
"lint": "biome lint .",
"lint:integration": "npm run build; publint",
"lint:all": "npm run tsc; npm run lint; npm run lint:integration",
"prepack": "npm run build",
"test": "jest",
"test:integration": "npm run build; for x in commonjs esm typescript; do npm --prefix integration/$x install --omit=dev && npm --prefix integration/$x test; done;",
"test:all": "npm run check; npm run test; npm run test:integration"
},
"devDependencies": {
"@biomejs/biome": "^1.4.1",
"@types/jest": "^29.5.3",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"jest": "^29.6.2",
"nock": "^14.0.0-beta.4",
"publint": "^0.2.7",
"ts-jest": "^29.1.0",
"typescript": "^5.0.2"
}
}