UNPKG

ace-diff

Version:

A diff/merging wrapper for Ace Editor built on google-diff-match-patch

88 lines 2.51 kB
{ "name": "ace-diff", "version": "4.0.0", "description": "A diff/merging wrapper for Ace Editor built on google-diff-match-patch", "type": "module", "engines": { "node": ">=20", "pnpm": ">=10" }, "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.mts", "exports": { ".": { "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } }, "./styles": "./dist/styles.css", "./styles.css": "./dist/styles.css", "./styles-twilight": "./dist/styles-twilight.css", "./styles-twilight.css": "./dist/styles-twilight.css" }, "files": [ "dist", "src/styles" ], "sideEffects": [ "*.css", "*.scss" ], "repository": { "type": "git", "url": "git+https://github.com/ace-diff/ace-diff.git" }, "keywords": [ "ace", "dif", "diffing", "merge", "merging", "ace editor", "syntax highlighting" ], "author": "Ben Keen, Jason Thomas", "license": "MIT", "bugs": { "url": "https://github.com/ace-diff/ace-diff/issues" }, "browserslist": "defaults and fully supports es6-module", "homepage": "https://ace-diff.github.io/ace-diff/", "dependencies": { "@sanity/diff-match-patch": "3.2.0" }, "devDependencies": { "@arethetypeswrong/cli": "^0.18.2", "@eslint/js": "^9.39.3", "@typescript-eslint/eslint-plugin": "^8.56.1", "@typescript-eslint/parser": "^8.56.1", "ace-builds": "^1.43.6", "cypress": "^15.10.0", "eslint": "9.39.2", "globals": "^16.5.0", "prettier": "^3.8.1", "sass": "1.97.2", "start-server-and-test": "^2.1.3", "tsdown": "0.20.0-beta.3", "typescript": "^5.9.3", "vite": "^7.3.1" }, "scripts": { "build": "tsdown && sass src/styles/ace-diff.scss dist/styles.css --style=compressed --source-map && sass src/styles/ace-diff-twilight.scss dist/styles-twilight.css --style=compressed --source-map", "dev": "vite", "lint": "eslint src && prettier --check .", "format": "eslint src --fix && prettier --write .", "typecheck": "tsc --noEmit", "attw": "attw --pack --ignore-rules no-resolution", "test": "start-server-and-test dev http://localhost:8081/test/fixtures/cypress-index.html cypress:run", "cypress:run": "cypress run", "cypress:open": "cypress open", "semantic-release": "semantic-release" } }