-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.42 KB
/
package.json
File metadata and controls
79 lines (79 loc) · 2.42 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
{
"name": "@flwr/flwr",
"keywords": [
"AI",
"Artificial Intelligence",
"LLM",
"GenAI",
"secure",
"privacy",
"inference",
"chat"
],
"description": "Flower Intelligence: Open-Source On-Device AI with optional Confidential Remote Compute.",
"homepage": "https://flower.ai",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/adap/flower.git"
},
"author": "The Flower Authors <hello@flower.ai>",
"version": "0.2.6",
"type": "module",
"main": "./dist/flowerintelligence.cjs.js",
"module": "./dist/flowerintelligence.es.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"browser": "./dist/flowerintelligence.bundled.es.js",
"import": "./dist/flowerintelligence.es.js",
"require": "./dist/flowerintelligence.cjs.js"
}
},
"scripts": {
"build:docs": "typedoc",
"build:types": "tsc --emitDeclarationOnly",
"build:watch": "tsc --watch && vite build",
"build": "./dev/build.sh",
"demo": "cd examples/hello-world-ts && pnpm i && pnpm build && pnpm start && cd ../..",
"demo:js": "cd examples/hello-world-js && pnpm i && pnpm start && cd ../..",
"demo:stream": "cd examples/streaming && pnpm i && pnpm build && pnpm start && cd ../..",
"demo:ee": "cd examples/encrypted && pnpm i && pnpm build && pnpm start && cd ../..",
"demo:e2e": "cd e2e/encrypted && pnpm start && cd ../..",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint --fix src",
"lint:check": "eslint src",
"serve:docs": "pnpm build:docs && http-server ./docs",
"test": "NODE_PATH=./src NODE_ENV=test vitest"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"eslint": "^10.0.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"globals": "^16.5.0",
"http-server": "^14.1.1",
"prettier": "^3.8.1",
"typedoc": "^0.28.17",
"typedoc-plugin-markdown": "^4.10.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.56.0",
"vite": "^6.4.1",
"vitest": "^3.2.4"
},
"dependencies": {
"@huggingface/transformers": "^3.8.1",
"@mlc-ai/web-llm": "^0.2.81",
"get-random-values": "^3.0.0",
"tar": "^7.5.9"
},
"browser": {
"fs": false,
"fs/promises": false,
"path": false,
"os": false
},
"jsdelivr": "./dist/flowerintelligence.cjs.js",
"unpkg": "./dist/flowerintelligence.cjs.js"
}