UNPKG

flash-store

Version:

FlashStore is a Key-Value persistent storage with easy to use ES6 Map-like API(both Async and Sync support), powered by LevelDB and TypeScript.

87 lines 2.69 kB
{ "name": "flash-store", "version": "1.0.6", "description": "FlashStore is a Key-Value persistent storage with easy to use ES6 Map-like API(both Async and Sync support), powered by LevelDB and TypeScript.", "main": "bundles/flash-store.umd.js", "types": "dist/src/mod.d.ts", "scripts": { "build": "tsc --module esnext", "pack": "npm pack", "clean": "shx rm -fr dist/* bundles/*", "doc": "npm run dist && echo '# FlashStore v'$(jq -r .version package.json)' Documentation\n' > docs/index.md && jsdoc2md dist/flash-store.js>> docs/index.md", "demo": "ts-node example/demo.ts", "dist": "npm run clean && npm run build && npm run rollup && npm run dist:es6to5", "dist:es6to5": "tsc --out ./bundles/flash-store.umd.js --target es5 --allowJs bundles/flash-store.es6.umd.js --lib es6,dom", "lint": "npm run lint:es && npm run lint:ts && npm run lint:md", "lint:md": "markdownlint README.md", "lint:ts": "tsc --noEmit", "lint:es": "eslint --ignore-pattern fixtures/ \"src/**/*.ts\" \"tests/**/*.ts\"", "rollup": "rollup -c", "test": "npm run lint && npm run test:unit", "test:pack": "bash -x scripts/npm-pack-testing.sh", "test:unit": "tap --node-arg=--require=ts-node/register \"src/**/*.spec.ts\" \"tests/**/*.spec.ts\"" }, "repository": { "type": "git", "url": "git+https://github.com/huan/flash-store.git" }, "keywords": [ "leveldb", "nosql", "database" ], "author": "Huan LI <zixia@zixia.net>", "license": "Apache-2.0", "bugs": { "url": "https://github.com/huan/flash-store/issues" }, "homepage": "https://github.com/huan/flash-store#readme", "dependencies": { "app-root-path": "^3.0.0", "async-map-like": "^0.2.5", "brolog": "^1.12.4", "cuid": "^2.1.8", "level": "^7.0.0", "rimraf": "^3.0.2", "state-switch": "^0.6.18" }, "devDependencies": { "@chatie/eslint-config": "^0.12.4", "@chatie/git-scripts": "^0.6.2", "@chatie/semver": "^0.4.7", "@chatie/tsconfig": "^0.16.2", "@types/app-root-path": "^1.2.4", "@types/level": "^6.0.0", "@types/rimraf": "^3.0.1", "jsdoc-to-markdown": "^7.0.1", "rollup": "^2.56.2", "rollup-plugin-json": "^4.0.0", "shx": "^0.3.3", "source-map-support": "^0.5.19", "tstest": "^0.5.16" }, "files": [ "package.json", "README.md", "CHANGELOG.md", "LICENSE", "bundles/", "src/", "dist/" ], "engines": { "node": ">= 10" }, "publishConfig": { "access": "public", "tag": "latest" }, "tap": { "check-coverage": false }, "git": { "scripts": { "pre-push": "npx git-scripts-pre-push" } } }