-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 1.98 KB
/
Copy pathpackage.json
File metadata and controls
81 lines (81 loc) · 1.98 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
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
80
81
{
"name": "@gravity-ai/api",
"version": "1.1.5",
"description": "Gravity JS SDK for retrieving targeted advertisements",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./opentui": {
"types": "./dist/opentui.d.ts",
"require": "./dist/opentui.js",
"import": "./dist/opentui.mjs"
}
},
"scripts": {
"build": "tsup index.ts opentui.ts --format cjs,esm --dts",
"clean": "rm -rf dist",
"dev": "tsup index.ts opentui.ts --format cjs,esm --watch --dts",
"lint": "tsc --noEmit",
"test": "vitest run",
"prepublishOnly": "npm run clean && npm run build",
"version:patch": "npm version patch",
"version:minor": "npm version minor",
"version:major": "npm version major",
"publish:patch": "npm run version:patch && npm publish",
"publish:minor": "npm run version:minor && npm publish",
"publish:major": "npm run version:major && npm publish"
},
"keywords": [
"gravity",
"advertising",
"api",
"client",
"ads",
"typescript",
"contextual-advertising",
"ai-ads"
],
"author": "Gravity Team",
"license": "MIT",
"homepage": "https://github.com/Try-Gravity/gravity-js#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/Try-Gravity/gravity-js.git",
"directory": "packages/api"
},
"bugs": {
"url": "https://github.com/Try-Gravity/gravity-js/issues"
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=18.0.0"
},
"peerDependencies": {
"@opentui/core": ">=0.1.0"
},
"peerDependenciesMeta": {
"@opentui/core": {
"optional": true
}
},
"dependencies": {
"axios": "^1.13.2"
},
"devDependencies": {
"@opentui/core": "^0.1.80",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"vitest": "^1.2.1"
}
}