UNPKG

git-documentdb

Version:

Offline-first database that syncs with Git

96 lines (95 loc) 3.65 kB
{ "name": "git-documentdb", "version": "0.4.8", "description": "Offline-first database that syncs with Git", "main": "dist/main.js", "types": "dist/main.d.ts", "engines": { "node": ">=12.0.0" }, "scripts": { "build": "rm -rf dist/* && npm run lint && tsc --project src/tsconfig.json", "doc": "npm run build && rm -rf docs-api/* && npm run api-extractor && npm run crlf", "mocha-parallel": "npm run rm-test-db && npx cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.mocha.json mocha", "mocha-no-parallel": "npm run rm-test-db && npx cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.mocha.json mocha --retries 0 --no-parallel", "mocha-unit-parallel": "npm run rm-test-db && npx cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.mocha.json mocha --retries 0", "mocha-unit": "npm run rm-test-db && npx cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.mocha.json mocha --retries 0 --no-parallel", "compile-tests": "tsc --project test/tsconfig.json && tsc --project test_plugin/tsconfig.json ", "rm-test-db": "rm -rf test/database* test_plugin/database*", "bench": "rm -rf benchmark/database* && npx ts-node ", "test": "npx nyc npm run mocha-parallel \"test/**/*.test.ts\" && npm run rm-test-db", "test-plugin": "npm run mocha-parallel \"test_plugin/**/*.test.ts\" && npm run rm-test-db", "upload-coverage": "npx coveralls < coverage/lcov.info", "prepare": "", "prepublishOnly": "", "api-extractor": "api-extractor run --local --verbose && npx api-documenter markdown -i ./temp -o ./docs-api", "lint": "eslint --fix --ext .ts .", "crlf": "npx crlf --set=LF docs-api/* etc/* ", "remove-remote": "node --experimental-modules --experimental-json-modules remove_remote_repositories.mjs", "clear": "npx rimraf node_modules" }, "repository": { "type": "git", "url": "git+https://github.com/sosuisen/git-documentdb.git" }, "keywords": [ "Git", "GitHub", "Offline-first", "DocumentDB", "Synchronization" ], "author": "Hidekazu Kubota", "license": "MPL-2.0", "bugs": { "url": "https://github.com/sosuisen/git-documentdb/issues" }, "homepage": "https://gitddb.com/", "devDependencies": { "@microsoft/api-extractor": "^7.16.0", "@octokit/types": "^6.12.2", "@sosuisen/api-documenter": "^7.13.27", "@types/async-lock": "^1.1.2", "@types/fs-extra": "^9.0.12", "@types/js-yaml": "^4.0.3", "@types/mocha": "^8.2.2", "@types/node": "^14.14.20", "@types/parse-git-config": "^3.0.0", "@types/rimraf": "^3.0.0", "@types/sinon": "^9.0.11", "@typescript-eslint/eslint-plugin": "^4.28.0", "@typescript-eslint/parser": "^4.28.0", "coveralls": "^3.1.0", "crlf": "^1.1.1", "cross-env": "^7.0.3", "eslint": "^7.17.0", "eslint-config-standardize": "^0.7.1", "eslint-plugin-prettierx": "^0.14.0", "eslint-plugin-unicorn": "^36.0.0", "expect": "^27.0.2", "hmtid": "^0.1.0", "mocha": "^8.3.2", "nyc": "^15.1.0", "parse-git-config": "^3.0.0", "sinon": "^10.0.0", "ts-node": "^10.1.0", "tsconfig-paths": "^3.9.0", "typescript": "^4.3.4" }, "dependencies": { "@octokit/rest": "^18.3.5", "@sosuisen/jsondiffpatch": "^0.4.7", "async-lock": "^1.3.0", "cross-blob": "^2.0.0", "fs-extra": "^9.1.0", "git-documentdb-plugin-remote-nodegit": "^1.0.4", "git-documentdb-remote-errors": "^1.0.3", "isomorphic-git": "^1.23.0", "js-yaml": "^4.1.0", "ot-json1": "^1.0.2", "rimraf": "^3.0.2", "tslog": "^3.1.2", "ulid": "^2.3.0", "unicount": "^1.2.0" } }