UNPKG

selection-ranges

Version:

Selection range manipulation for contenteditable elements

64 lines (63 loc) 1.64 kB
{ "name": "selection-ranges", "version": "4.1.0", "description": "Selection range manipulation for contenteditable elements", "type": "module", "types": "./dist/index.d.ts", "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts" }, "./package.json": "./package.json" }, "scripts": { "all": "run-s lint test", "bundle": "run-s bundle-js generate-types", "bundle-js": "rollup -c --bundleConfigAsCjs", "generate-types": "tsc --emitDeclarationOnly -d --outdir dist", "dev": "npm test -- --auto-watch --no-single-run", "lint": "eslint .", "pretest": "run-s bundle", "test": "karma start karma.conf.cjs", "prepare": "run-s bundle" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/nikku/selection-ranges.git" }, "keywords": [ "dom", "browser", "util", "contenteditable", "selection", "selection range" ], "author": "Nico Rehwaldt <git_nikku@nixis.de>", "license": "MIT", "devDependencies": { "@rollup/plugin-commonjs": "^29.0.0", "@rollup/plugin-node-resolve": "^16.0.3", "chai": "^6.2.1", "eslint": "^9.39.1", "eslint-plugin-bpmn-io": "^2.2.0", "karma": "^6.4.4", "karma-chrome-launcher": "^3.2.0", "karma-firefox-launcher": "^2.1.3", "karma-mocha": "^2.0.1", "karma-webpack": "^5.0.1", "mocha": "^11.7.5", "npm-run-all2": "^8.0.4", "puppeteer": "^24.32.0", "rollup": "^4.53.3", "typescript": "^5.9.3", "webpack": "^5.103.0" }, "dependencies": { "dom-iterator": "^1.0.2" }, "files": [ "dist" ] }