88 lines
2.0 KiB
JSON
88 lines
2.0 KiB
JSON
{
|
|
"name": "@valkyr/db",
|
|
"version": "1.0.0",
|
|
"description": "Simple client side storage solution written in TypeScript.",
|
|
"repository": "https://github.com/cmdo/valkyr.git",
|
|
"bugs": "https://github.com/cmdo/valkyr/issues",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"keywords": [
|
|
"browser",
|
|
"database",
|
|
"mingo",
|
|
"mongodb"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc -b ./tsconfig.build.json",
|
|
"flush": "npm run clean && rm -rf ./node_modules",
|
|
"clean": "rm -rf ./dist",
|
|
"lint": "eslint ./src --fix",
|
|
"test": "NODE_OPTIONS=--experimental-vm-modules npx jest"
|
|
},
|
|
"dependencies": {
|
|
"dot-prop": "8.0.2",
|
|
"fast-equals": "5.0.1",
|
|
"idb": "7.1.1",
|
|
"mingo": "6.4.7",
|
|
"nanoid": "5.0.2",
|
|
"rfdc": "1.3.0",
|
|
"rxjs": "7.8.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "29.5.6",
|
|
"@typescript-eslint/eslint-plugin": "^6.8.0",
|
|
"@typescript-eslint/parser": "^6.8.0",
|
|
"bson": "6.2.0",
|
|
"eslint": "8.51.0",
|
|
"eslint-config-prettier": "9.0.0",
|
|
"eslint-plugin-anti-trojan-source": "1.1.1",
|
|
"eslint-plugin-check-file": "2.6.2",
|
|
"eslint-plugin-import": "2.28.1",
|
|
"eslint-plugin-simple-import-sort": "10.0.0",
|
|
"fake-indexeddb": "5.0.0",
|
|
"jest": "29.7.0",
|
|
"lint-staged": "15.0.2",
|
|
"prettier": "3.0.3",
|
|
"ts-jest": "29.1.1",
|
|
"type-fest": "4.5.0",
|
|
"typescript": "5.2.2"
|
|
},
|
|
"prettier": {
|
|
"printWidth": 120,
|
|
"trailingComma": "none"
|
|
},
|
|
"jest": {
|
|
"extensionsToTreatAsEsm": [
|
|
".ts"
|
|
],
|
|
"verbose": true,
|
|
"testEnvironment": "node",
|
|
"modulePathIgnorePatterns": [
|
|
"<rootDir>/node_modules",
|
|
"<rootDir>/dist"
|
|
],
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"js",
|
|
"json"
|
|
],
|
|
"moduleNameMapper": {
|
|
"^(\\.{1,2}/.*)\\.js$": "$1"
|
|
},
|
|
"testRegex": ".*\\.Test\\.ts$",
|
|
"transform": {
|
|
"^.+\\.ts$": [
|
|
"ts-jest",
|
|
{
|
|
"useESM": true
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|