-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.05 KB
/
Copy pathpackage.json
File metadata and controls
88 lines (88 loc) · 2.05 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
82
83
84
85
86
87
88
{
"name": "@yudin-s/react-chrome-ai",
"version": "0.1.5",
"description": "React hooks for Chrome's browser-side LanguageModel API.",
"type": "module",
"license": "MIT",
"author": "Serge Yudin",
"homepage": "https://yudin-s.github.io/react-chrome-ai/",
"repository": {
"type": "git",
"url": "git+https://github.com/yudin-s/react-chrome-ai.git"
},
"bugs": {
"url": "https://github.com/yudin-s/react-chrome-ai/issues"
},
"keywords": [
"react",
"hooks",
"react-hooks",
"chrome",
"chrome-ai",
"built-in-ai",
"gemini-nano",
"prompt-api",
"language-model",
"on-device-ai",
"typescript",
"summarizer",
"translator"
],
"sideEffects": false,
"files": [
"dist",
"docs",
"AGENTS.md",
"examples/README.md",
"examples/*.tsx",
"examples/*/README.md",
"examples/*/package.json",
"examples/*/index.html",
"examples/*/public/**",
"examples/*/tsconfig.json",
"examples/*/vite.config.ts",
"examples/*/src/**",
"llms.txt",
"README.md",
"CHANGELOG.md",
"SECURITY.md",
"LICENSE"
],
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"publishConfig": {
"access": "public",
"provenance": true
},
"scripts": {
"build": "tsup src/index.ts --format esm,cjs --dts --clean",
"check": "tsc --noEmit",
"test": "vitest run",
"prepack": "npm run build",
"pack:dry": "npm --cache ./.npm-cache pack --dry-run",
"publish:check": "npm run check && npm test && npm run build && npm run pack:dry",
"prepublishOnly": "npm run publish:check"
},
"peerDependencies": {
"react": ">=18.2.0 || >=19.0.0"
},
"devDependencies": {
"@types/react": "^19.0.0",
"react": "^19.0.0",
"tsup": "^8.3.5",
"typescript": "^5.7.2",
"vitest": "^4.1.6"
},
"engines": {
"node": ">=18.18"
},
"packageManager": "npm@10.8.2"
}