-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 2.75 KB
/
package.json
File metadata and controls
86 lines (86 loc) · 2.75 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
{
"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:cov": "http-server ./coverage/lcov-report",
"serve:docs": "pnpm build:docs && http-server ./docs",
"test": "NODE_PATH=./src NODE_ENV=test vitest",
"test:cov": "NODE_PATH=./src NODE_ENV=test vitest run --coverage"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.3",
"@eslint/js": "^9.39.2",
"@typescript-eslint/eslint-plugin": "^8.53.1",
"@typescript-eslint/parser": "^8.53.1",
"@vitest/coverage-v8": "3.0.8",
"eslint": "^9.39.2",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"globals": "^16.5.0",
"http-server": "^14.1.1",
"prettier": "^3.8.1",
"typedoc": "^0.28.16",
"typedoc-plugin-markdown": "^4.9.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.53.1",
"vite": "^6.4.1",
"vitest": "^3.2.4"
},
"dependencies": {
"tar": ">=7.5.7",
"@huggingface/transformers": "^3.8.1",
"@mlc-ai/web-llm": "^0.2.80",
"get-random-values": "^3.0.0"
},
"browser": {
"fs": false,
"fs/promises": false,
"path": false,
"os": false
},
"jsdelivr": "./dist/flowerintelligence.cjs.js",
"unpkg": "./dist/flowerintelligence.cjs.js"
}