-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
79 lines (79 loc) · 2.32 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
74
75
76
77
78
79
{
"name": "ai21",
"engines": {
"node": ">=18.0.0"
},
"version": "1.1.0",
"description": "AI21 TypeScript SDK",
"main": "./dist/bundle.cjs.js",
"types": "./dist/index.d.ts",
"module": "./dist/bundle.es.js",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/bundle.cjs.js",
"import": "./dist/bundle.es.js"
}
},
"scripts": {
"build": "vite build",
"test": "jest --coverage --no-cache --runInBand --config jest.config.ts",
"integration-test": "npx tsx tests/integration-tests/run-examples.ts",
"unused-deps": "npx depcheck --json | jq '.dependencies == []'",
"clean-build": "rm -rf ./dist",
"lint": "npx eslint '{src,examples}/**/*.{ts,tsx}' --no-ignore",
"format": "prettier --write \"(src|test|examples)/**\" --no-error-on-unmatched-pattern",
"prepare": "npm run build",
"circular": "madge --circular --extensions ts src",
"quality": "npm run circular && npm run lint && tsc --noEmit && npm run format && npm run unused-deps",
"quality:fix": "npm run circular && npm run lint -- --fix && tsc --noEmit && npm run format"
},
"files": [
"dist"
],
"keywords": [
"ai21",
"sdk",
"typescript"
],
"author": "",
"license": "MIT",
"dependencies": {
"@types/node": "^18.11.18",
"formdata-node": "^6.0.3",
"node-fetch": "^2.7.0"
},
"devDependencies": {
"@eslint/js": "^9.14.0",
"@jest/types": "^29.6.3",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^11.0.1",
"@types/jest": "^29.5.14",
"@types/node-fetch": "^2.6.11",
"@typescript-eslint/eslint-plugin": "^8.14.0",
"@typescript-eslint/parser": "^8.14.0",
"chalk": "^5.3.0",
"eslint": "^9.15.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"globals": "^15.12.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"madge": "^6.1.0",
"prettier": "^3.3.3",
"semantic-release": "^24.2.0",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tsc-multi": "^1.1.0",
"tsconfig-paths": "^4.0.0",
"tsx": "^4.19.2",
"typescript": "^4.9.5",
"typescript-eslint": "^8.13.0",
"uuid": "^11.0.3",
"vite": "^5.4.11",
"vite-plugin-dts": "^4.3.0"
}
}