/
package.json
31 lines (31 loc) · 1006 Bytes
/
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
{
"name": "@cloud-cli/json-store",
"version": "0.0.0",
"license": "MIT",
"main": "./build/index.js",
"type": "module",
"scripts": {
"ci": "npm i && npm run build && rm -r node_modules && npm i --omit=dev",
"start": "node ./build/index.js",
"build": "rm -rf build/ tmp; npm run ts",
"ts": "tsc",
"test": "echo true",
"test2": "npm run build && mkdir tmp && npm run test:memory && npm run test:file && npm run test:sqlite",
"test:memory": "STORAGE=memory node self-test.mjs",
"test:sqlite": "STORAGE=sqlite SQLITE_PATH=./tmp/test.db node self-test.mjs",
"test:file": "STORAGE=file FILE_PATH=./tmp node self-test.mjs"
},
"dependencies": {
"@cloud-cli/store": "^2.0.2",
"cors": "^2.8.4",
"express": "^4.17.1",
"lodash-es": "^4.17.19",
"better-sqlite3": "^8.4.0"
},
"devDependencies": {
"@cloud-cli/typescript-config": "^1.0.1",
"@types/better-sqlite3": "^7.6.4",
"@types/node": "^20.2.4",
"typescript": "^5.0.4"
}
}