mirror of https://github.com/seald/nedb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
126 lines
3.8 KiB
126 lines
3.8 KiB
{
|
|
"name": "@seald-io/nedb",
|
|
"version": "4.0.4",
|
|
"files": [
|
|
"src/**/*.js",
|
|
"dist/**/*.js",
|
|
"index.js",
|
|
"index.d.ts"
|
|
],
|
|
"type": "module",
|
|
"types": "index.d.ts",
|
|
"author": {
|
|
"name": "Timothée Rebours",
|
|
"email": "tim@seald.io",
|
|
"url": "https://www.seald.io/"
|
|
},
|
|
"contributors": [
|
|
{
|
|
"name": "Louis Chatriot",
|
|
"email": "louis.chatriot@gmail.com"
|
|
},
|
|
{
|
|
"name": "Timothée Rebours",
|
|
"email": "tim@seald.io",
|
|
"url": "https://www.seald.io/"
|
|
},
|
|
{
|
|
"name": "Eliot Akira",
|
|
"email": "me@eliotakira.com",
|
|
"url": "https://eliotakira.com/"
|
|
},
|
|
{
|
|
"name": " Loïc Hermann",
|
|
"email": "loic.hermann@outlook.fr"
|
|
}
|
|
],
|
|
"description": "File-based embedded data store for node.js",
|
|
"keywords": [
|
|
"database",
|
|
"datastore",
|
|
"embedded"
|
|
],
|
|
"homepage": "https://github.com/seald/nedb",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:seald/nedb.git"
|
|
},
|
|
"dependencies": {
|
|
"@seald-io/binary-search-tree": "^1.0.3",
|
|
"localforage": "^1.9.0"
|
|
},
|
|
"devDependencies": {
|
|
"@react-native-async-storage/async-storage": "^1.17.11",
|
|
"@types/jest": "^27.5.2",
|
|
"browser-resolve": "^2.0.0",
|
|
"chai": "^4.3.7",
|
|
"jest": "^29.7.0",
|
|
"jsdoc-to-markdown": "^8.0.0",
|
|
"karma": "^6.4.1",
|
|
"karma-chai": "^0.1.0",
|
|
"karma-chrome-launcher": "^3.1.1",
|
|
"karma-junit-reporter": "^2.0.1",
|
|
"karma-mocha": "^2.0.1",
|
|
"karma-source-map-support": "^1.4.0",
|
|
"mocha": "^10.2.0",
|
|
"mocha-junit-reporter": "^2.2.0",
|
|
"path-browserify": "^1.0.1",
|
|
"process": "^0.11.10",
|
|
"react": "^18.2.0",
|
|
"react-native": "^0.73.2",
|
|
"rollup": "^4.9.5",
|
|
"semver": "^7.3.8",
|
|
"source-map-loader": "^4.0.1",
|
|
"standard": "^17.0.0",
|
|
"terser-webpack-plugin": "^5.3.6",
|
|
"timers-browserify": "^2.0.12",
|
|
"ts-jest": "^29.1.2",
|
|
"typescript": "^4.9.5",
|
|
"util": "^0.12.5",
|
|
"webpack": "^5.75.0",
|
|
"webpack-cli": "^5.0.1",
|
|
"xvfb-maybe": "^0.2.1"
|
|
},
|
|
"scripts": {
|
|
"lint": "standard",
|
|
"pretest": "npm run build:cjs",
|
|
"test": "mocha --reporter spec --timeout 10000",
|
|
"build:cjs": "rollup --preserveModules src/* src/browser/* --dir cjs --entryFileNames \"[name].cjs\" --format cjs --preserveEntrySignatures strict --interop compat",
|
|
"build:browser": "webpack --config-name Nedb && webpack --config-name Nedb --env minimize && webpack --config-name testUtils --env minimize",
|
|
"pretest:browser": "npm run build:browser",
|
|
"test:browser": "xvfb-maybe karma start karma.conf.local.cjs",
|
|
"pretest:react-native": "npm run build:cjs",
|
|
"test:react-native": "jest test/react-native",
|
|
"test:typings": "tsc ./typings-tests.ts",
|
|
"prepublishOnly": "npm run build:browser && npm run build:cjs",
|
|
"generateDocs:markdown": "jsdoc2md --no-cache -c jsdoc.conf.js --param-list-format list --files ./lib/*.js > API.md"
|
|
},
|
|
"main": "cjs/datastore.cjs",
|
|
"module": "src/datastore.js",
|
|
"browser": {
|
|
"./src/customUtils.js": "./src/browser/customUtils.js",
|
|
"./src/storage.js": "./src/browser/storage.browser.js",
|
|
"./src/byline.js": "./src/browser/byline.js",
|
|
"./cjs/customUtils.cjs": "./cjs/browser/customUtils.cjs",
|
|
"./cjs/storage.cjs": "./cjs/browser/storage.browser.cjs",
|
|
"./cjs/byline.cjs": "./cjs/browser/byline.cjs"
|
|
},
|
|
"react-native": {
|
|
"./src/customUtils.js": "./src/browser/customUtils.js",
|
|
"./src/storage.js": "./src/browser/storage.react-native.js",
|
|
"./src/byline.js": "./src/browser/byline.js",
|
|
"./cjs/customUtils.cjs": "./cjs/browser/customUtils.cjs",
|
|
"./cjs/storage.cjs": "./cjs/browser/storage.react-native.cjs",
|
|
"./cjs/byline.cjs": "./cjs/browser/byline.cjs"
|
|
},
|
|
"license": "MIT",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"standard": {
|
|
"ignore": [
|
|
"cjs",
|
|
"**/*.ts"
|
|
]
|
|
}
|
|
}
|
|
|