-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
38 lines (38 loc) · 1.21 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
{
"name": "idbx",
"version": "2.1.0",
"description": "No-bullshit indexedDB wrapper functions with promises, iterators and shortcuts.",
"types": "dest/idbx.d.ts",
"module": "dest/idbx.js",
"browser": "dest/idbx.js",
"main": "dest/idbx.js",
"type": "module",
"scripts": {
"ts-types": "tsc --emitDeclarationOnly",
"replaceDts": "find dest -type f -name \"*.d.ts\" -exec sh -c 'sed \"s/\\.ts/\\.d.ts/g\" \"$0\" > \"$0.tmp\" && mv \"$0.tmp\" \"$0\"' {} \\;",
"bundleDts": "echo \"$(grep -o '\".*\"' dest/types/main.d.ts | sed 's/\"//g' | xargs -I{} cat dest/types/{})\" > dest/idbx.d.ts",
"build": "rimraf dest && node ./esbuild.js && npm run ts-types && npm run replaceDts && npm run bundleDts && rimraf dest/types"
},
"repository": {
"type": "git",
"url": "git+https://github.com/xpectme/idbx.git"
},
"bugs": {
"url": "https://github.com/xpectme/idbx/issues"
},
"homepage": "https://github.com/xpectme/idbx",
"keywords": [
"indexeddb",
"idb",
"database",
"esm",
"browser"
],
"author": "Mario Stöcklein <[email protected]>",
"license": "BSD-2-Clause",
"devDependencies": {
"esbuild": "^0.18.8",
"rimraf": "^5.0.1",
"typescript": "^5.1.3"
}
}