@curvenote/schema
Version:
Schema and markdown parser for @curvenote/editor
80 lines (79 loc) • 2.55 kB
JSON
{
"name": "@curvenote/schema",
"version": "0.12.18",
"description": "Schema and markdown parser for @curvenote/editor",
"author": "Rowan Cockett <rowan@curvenote.com>",
"license": "MIT",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/curvenote/editor.git"
},
"bugs": {
"url": "https://github.com/curvenote/editor/issues"
},
"homepage": "https://github.com/curvenote/editor/tree/main/packages/schema",
"scripts": {
"clean": "rimraf dist",
"build:cjs": "tsc --project ./src/tsconfig.json",
"build:esm": "tsc --project ./src/tsconfig.json --module ES2020 --outDir ./dist/esm",
"declarations": "tsc --project ./src/tsconfig.json --declaration --emitDeclarationOnly --outDir dist/types",
"build": "npm-run-all -l clean -p build:cjs build:esm declarations",
"dev": "tsc --project ./src/tsconfig.json --module ES2020 --outDir ./dist/esm -w --preserveWatchOutput",
"prepublishOnly": "npm run build",
"test": "jest src test",
"test:watch": "jest --watchAll",
"test:clear": "jest --clearCache",
"lint": "eslint \"src/**/*.ts\" -c .eslintrc.js",
"lint:format": "prettier --check \"src/**/*.ts\""
},
"dependencies": {
"@wordpress/wordcount": "^3.11.0",
"js-yaml": "^4.1.0",
"markdown-it": "^12.2.0",
"myst-spec": "^0.0.4",
"mystjs": "^0.0.13",
"nanoid": "^3.3.4",
"orderedmap": "^1.1.1",
"prosemirror-collab": "^1.3.0",
"prosemirror-markdown": "^1.9.1",
"prosemirror-model": "^1.18.1",
"prosemirror-schema-list": "^1.2.0",
"prosemirror-state": "^1.4.1",
"prosemirror-tables": "^1.1.1",
"prosemirror-transform": "^1.6.0"
},
"peerDependencies": {
"date-fns": "^2.22.1"
},
"devDependencies": {
"@types/jest": "^28.1.6",
"@types/js-yaml": "^4.0.5",
"@types/jsdom": "^20.0.0",
"@types/markdown-it": "^12.2.3",
"@types/mocha": "^9.1.1",
"@types/node": "^18.6.3",
"@types/orderedmap": "^1.0.0",
"@types/wordpress__wordcount": "^2.4.2",
"date-fns": "^2.22.1",
"eslint": "^8.21.0",
"eslint-config-curvenote": "*",
"jest": "^28.1.3",
"jsdom": "^18.0.0",
"npm-run-all": "^4.1.5",
"prettier": "latest",
"prosemirror-schema-basic": "^1.2.0",
"prosemirror-test-builder": "^1.1.0",
"rimraf": "^3.0.2",
"ts-jest": "^28.0.7",
"typescript": "latest"
}
}