-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.48 KB
/
package.json
File metadata and controls
83 lines (83 loc) · 2.48 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
{
"name": "@signalapp/sqlcipher",
"version": "3.2.1",
"description": "A fast N-API-based Node.js addon wrapping sqlcipher and FTS5 segmenting APIs",
"homepage": "http://github.com/signalapp/node-sqlcipher.git",
"license": "AGPL-3.0-only",
"author": {
"name": "Signal Messenger, LLC",
"email": "support@signal.org"
},
"repository": {
"type": "git",
"url": "git://github.com/signalapp/node-sqlcipher.git"
},
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"exports": {
"types": "./dist/lib/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"types": "dist/lib/index.d.ts",
"files": [
"dist/index.cjs",
"dist/index.mjs",
"dist/lib/index.d.ts",
"prebuilds",
"!prebuilds/**/*.sym",
"README.md"
],
"dependencies": {
"node-addon-api": "*",
"node-gyp-build": "^4.8.4"
},
"scripts": {
"watch": "tsc --watch",
"build": "run-p --print-label build:ts build:esm build:cjs",
"build:ts": "tsc",
"build:esm": "esbuild --target=node20 --define:__dirname=undefined lib/index.ts --outfile=dist/index.mjs",
"build:cjs": "esbuild --target=node20 --define:import.meta.url=undefined lib/index.ts --format=cjs --outfile=dist/index.cjs",
"build:docs": "typedoc lib/index.ts --includeVersion",
"install": "node-gyp-build",
"prebuildify": "prebuildify --strip --napi",
"test": "vitest --coverage --pool threads",
"format": "run-p --print-label format:c format:js",
"format:c": "xcrun clang-format --style=chromium -Werror --verbose -i src/*.cc src/*.h",
"format:js": "prettier --cache --write .",
"lint": "run-p --print-label check:eslint check:format",
"check:eslint": "eslint --cache .",
"check:format": "prettier --cache --check .",
"prepare": "run-s build"
},
"keywords": [
"sqlite",
"sqlcipher"
],
"devDependencies": {
"@eslint/js": "^9.21.0",
"@types/node": "^22.13.9",
"@vitest/coverage-v8": "^3.0.8",
"esbuild": "^0.25.0",
"eslint": "^9.21.0",
"eslint-config-prettier": "^10.0.2",
"node-gyp": "^11.1.0",
"npm-run-all": "^4.1.5",
"prebuildify": "^6.0.1",
"prettier": "^3.5.3",
"typedoc": "^0.27.9",
"typescript": "^5.8.2",
"typescript-eslint": "^8.26.0",
"vitest": "^3.0.8"
},
"pnpm": {
"onlyBuiltDependencies": [
"@signalapp/better-sqlite3",
"esbuild"
],
"patchedDependencies": {
"prebuildify": "patches/prebuildify.patch"
}
}
}