-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
78 lines (78 loc) · 2.11 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
{
"name": "lowstorage",
"version": "2.0.1",
"description": "Simple, micro-dependency, pseudo-database using Apache Avro serialization on S3-compatible storages, inspired by lowdb.",
"type": "module",
"main": "./build/lowstorage.min.js",
"module": "./build/lowstorage.min.js",
"types": "./lib/lowstorage.d.ts",
"files": [
"build",
"lib",
"LICENSE",
"README.md"
],
"homepage": "https://github.com/good-lly/lowstorage#README.md",
"bugs": {
"url": "https://github.com/good-lly/lowstorage/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/good-lly/lowstorage.git"
},
"exports": {
".": {
"import": "./build/lowstorage.min.js",
"types": "./lib/lowstorage.d.ts",
"default": "./build/lowstorage.min.js"
}
},
"scripts": {
"prepublishOnly": "npm run clear && npm run prettier:fix && npm run build && npm run test:all",
"prettier:fix": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"build": "tsc && esbuild --bundle --platform=node --target=node20 --format=esm ./src/lowstorage.js | esbuild --bundle --platform=node --target=node20 --format=esm --outfile=build/lowstorage.min.js",
"dev:wrangler": "npm run build && wrangler dev --port 8787",
"test:all": "npm run test:cf && npm run test:minio",
"test:cf": "node --env-file ./.env --experimental-vm-modules node_modules/jest/bin/jest.js --config=general.jest.config.json --no-cache",
"test:minio": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config=minio.jest.config.json --no-cache",
"clear": "rm -rf build && rm -rf lib"
},
"license": "MIT",
"author": "Peter Jensen <[email protected]>",
"engines": {
"node": ">=20"
},
"jest": {},
"devDependencies": {
"esbuild": "^0.23.0",
"hono": "^4.5.11",
"jest": "^29.7.0",
"prettier": "^3.3.2",
"typescript": "^5.5.2",
"wrangler": "^3.62.0"
},
"dependencies": {
"msgpackr": "^1.11.2",
"ultralight-s3": "^0.0.7"
},
"keywords": [
"storage",
"database",
"db",
"json",
"lowdb",
"edge",
"S3",
"aws",
"R2",
"cloudflare",
"lambda",
"worker",
"wasabi",
"r2-s3",
"r2-worker",
"digitalocean",
"minio",
"minio-s3"
]
}