jdb-lite
Version:
A lightweight schema-based JSON database library with validation
64 lines (63 loc) • 1.63 kB
JSON
{
"name": "jdb-lite",
"version": "1.0.1",
"description": "A lightweight schema-based JSON database library with validation",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
}
},
"files": [
"dist/"
],
"scripts": {
"build": "npm run clean && npm run build:types && npm run build:esm && npm run build:cjs",
"build:types": "tsc --emitDeclarationOnly --outDir dist/types",
"build:esm": "tsc --module ES2020 --outDir dist/esm",
"build:cjs": "tsc --module CommonJS --outDir dist/cjs && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"clean": "rm -rf dist",
"dev": "tsc --watch",
"test": "jest",
"prepublishOnly": "npm run build"
},
"keywords": [
"json",
"database",
"db",
"jdb",
"lite",
"lightweight",
"file-database",
"schema",
"validation",
"orm",
"odm",
"nosql",
"typescript"
],
"author": "Your Name <your.email@example.com>",
"license": "MIT",
"homepage": "https://github.com/yourusername/jdb-lite#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/yourusername/jdb-lite.git"
},
"bugs": {
"url": "https://github.com/yourusername/jdb-lite/issues"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/jest": "^29.0.0",
"jest": "^29.0.0",
"ts-jest": "^29.0.0",
"typescript": "^5.0.0"
},
"engines": {
"node": ">=14.0.0"
}
}