UNPKG

position-strings

Version:

Lexicographically-ordered position strings for collaborative lists and text

73 lines (72 loc) 2.14 kB
{ "name": "position-strings", "version": "2.0.1", "description": "Lexicographically-ordered position strings for collaborative lists and text", "author": "Matthew Weidner", "license": "MIT", "bugs": { "url": "https://github.com/mweidner037/position-strings/issues" }, "homepage": "https://github.com/mweidner037/position-strings/tree/master/#readme", "repository": { "type": "git", "url": "git+https://github.com/mweidner037/position-strings.git" }, "keywords": [ "CRDT", "text editing", "collaboration", "fractional indexing" ], "module": "build/esm/index.js", "browser": "build/esm/index.js", "types": "build/esm/index.d.ts", "main": "build/commonjs/index.js", "files": [ "/build", "/src" ], "directories": { "lib": "src" }, "publishConfig": { "access": "public" }, "sideEffects": false, "dependencies": { "@types/seedrandom": "^2.4.28" }, "devDependencies": { "@types/chai": "^4.3.4", "@types/functional-red-black-tree": "^1.0.2", "@types/mocha": "^10.0.1", "@typescript-eslint/eslint-plugin": "^5.52.0", "@typescript-eslint/parser": "^5.52.0", "chai": "^4.3.7", "cross-env": "^7.0.3", "eslint": "^8.34.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-import": "^2.27.5", "functional-red-black-tree": "^1.0.1", "mocha": "^10.2.0", "npm-run-all": "^4.1.5", "prettier": "^2.8.4", "rimraf": "^4.1.2", "seedrandom": "^3.0.5", "ts-node": "^10.9.1", "typescript": "^4.9.5" }, "scripts": { "prepack": "npm run clean && npm run build && npm run test", "build": "npm-run-all build:*", "build:ts": "tsc -p tsconfig.json && tsc -p tsconfig.commonjs.json", "test": "npm-run-all test:*", "test:lint": "eslint --ext .ts,.js .", "test:unit": "cross-env TS_NODE_PROJECT='./tsconfig.dev.json' mocha", "test:format": "prettier --check .", "fix": "npm-run-all fix:*", "fix:format": "prettier --write .", "benchmarks": "ts-node --project tsconfig.dev.json benchmarks/main.ts", "clean": "rimraf generated generated_esm build" } }