UNPKG

prong-editor

Version:

Prong (PRojectional jsON Gui) is an editor framework for creating bespoke in-browser editors for JSON-based domain-specific languages (such as [Vega](https://vega.github.io/vega/), [Vega-Lite](https://vega.github.io/vega-lite/), [Tracery](https://tracery.

86 lines (85 loc) 2.29 kB
{ "name": "prong-editor", "version": "0.0.10", "scripts": { "dev": " vite build --watch --config vite.config.ts", "build": "tsc && vite build && npm run cp-docs", "cp-docs": "cp ../../README.md ./", "preview": "vite preview", "test": "jest", "lint": "eslint src/" }, "dependencies": { "@codemirror/commands": "^6.1.2", "@codemirror/lang-json": "^6.0.1", "@codemirror/lint": "^6.1.0", "@codemirror/view": "^6.7.0", "@json-schema-tools/traverse": "^1.10.1", "@lezer/common": "^1.0.2", "@lezer/json": "^1.0.0", "codemirror": "^6.0.1", "d3-color": "^3.1.0", "jsonc-parser": "^3.0.0", "lodash.isequal": "^4.5.0", "react": "^17.0.2", "react-dom": "^17.0.2", "react-markdown": "^7.1.0" }, "devDependencies": { "@babel/core": "^7.16.12", "@jest/globals": "^29.6.1", "@testing-library/jest-dom": "^5.11.4", "@testing-library/react": "^11.1.0", "@testing-library/user-event": "^12.1.10", "@types/d3": "^7.4.0", "@types/jest": "^29.5.2", "@types/json-schema": "^7.0.11", "@types/lodash.isequal": "^4.5.5", "@types/node": "^20.4.0", "@types/react": "^17.0.38", "@types/react-dom": "^17.0.11", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "@vitejs/plugin-react": "^1.1.4", "acorn-jsx": "^5.3.2", "babel-loader": "^8.2.3", "eslint": "^8.44.0", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.3", "jest": "^29.6.1", "ts-jest": "^29.1.1", "typescript": "^4.5.5", "vite": "^2.7.13", "vite-jest": "^0.1.4", "vite-plugin-dts": "^0.9.9" }, "license": "MIT", "peerDependencies": { "react": "^16.8.0 || 17.x", "react-dom": "^16.8.0 || 17.x" }, "keywords": [ "JSON", "DSL", "JSONSchema", "Structure-Editor", "React", "codemirror" ], "homepage": "https://github.com/mcnuttandrew/prong", "files": [ "dist" ], "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/prong.es.js", "require": "./dist/prong.umd.js" }, "./style.css": { "import": "./dist/style.css", "require": "./dist/style.css" } } }