Files
obsidian-excalidraw-plugin/package.json
T

102 lines
4.1 KiB
JSON

{
"name": "obsidian-excalidraw-plugin",
"version": "2.2.5",
"description": "This is an Obsidian.md plugin that lets you view and edit Excalidraw drawings",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib/**/*"
],
"scripts": {
"predev": "node scripts/build-mathjax.mjs",
"dev": "cross-env NODE_ENV=development rollup --config rollup.config.mjs",
"prebuild": "node scripts/build-mathjax.mjs",
"build": "cross-env NODE_ENV=production rollup --config rollup.config.mjs",
"prelib": "node scripts/build-mathjax.mjs",
"lib": "cross-env NODE_ENV=lib rollup --config rollup.config.mjs",
"code": "eslint --max-warnings=0 --ext .ts,.tsx ./src",
"code:fix": "eslint --max-warnings=0 --ext .ts,.tsx ./src --fix",
"code:unused": "eslint --max-warnings=0 --ext .ts,.tsx ./src --quiet --format json | node -e \"let d='';process.stdin.on('data',c=>d+=c).on('end',()=>{const r=JSON.parse(d);for(const f of r){for(const m of f.messages||[]){if(m.ruleId==='@typescript-eslint/no-unused-vars'||m.ruleId==='no-unused-vars'){console.log(f.filePath+':'+m.line+':'+m.column+' '+m.ruleId+' '+m.message);}}}})\"",
"code:escape": "eslint --max-warnings=0 --ext .ts,.tsx ./src --quiet --format json | node -e \"let d='';process.stdin.on('data',c=>d+=c).on('end',()=>{const r=JSON.parse(d);for(const f of r){for(const m of f.messages||[]){if(m.ruleId==='no-useless-escape'){console.log(f.filePath+':'+m.line+':'+m.column+' '+m.ruleId+' '+m.message);}}}})\"",
"madge": "madge --circular .",
"build:mathjax": "cd MathjaxToSVG && npm run build",
"build:all": "npm run build:mathjax && npm run build",
"dev:mathjax": "cd MathjaxToSVG && npm run dev",
"dev:all": "npm run dev:mathjax && npm run dev",
"doc": "npm run lib && node scripts/generate-script-library.js",
"mindmap": "node scripts/deploy-mindmap-builder.js"
},
"keywords": [],
"author": "",
"license": "MIT",
"dependencies": {
"@popperjs/core": "^2.11.8",
"@zsviczian/colormaster": "^1.2.2",
"@zsviczian/excalidraw": "0.18.0-92",
"chroma-js": "^3.1.2",
"clsx": "^2.0.0",
"es6-promise-pool": "2.5.0",
"gl-matrix": "^3.4.3",
"mathjax-full": "^3.2.2",
"monkey-around": "^2.3.0",
"nanoid": "^4.0.2",
"opentype.js": "^1.3.4",
"polybooljs": "^1.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"roughjs": "^4.5.2",
"woff2sfnt-sfnt2woff": "^1.0.0",
"yaml": "^2.9.0"
},
"devDependencies": {
"@babel/core": "^7.22.9",
"@babel/preset-env": "^7.22.10",
"@babel/preset-react": "^7.22.5",
"@codemirror/commands": "6.8.1",
"@codemirror/language": "6.11.0",
"@codemirror/search": "6.5.11",
"@codemirror/state": "6.5.0",
"@codemirror/view": "6.38.6",
"@eslint/eslintrc": "^3.1.0",
"@excalidraw/eslint-config": "^1.0.3",
"@excalidraw/prettier-config": "^1.0.2",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.2",
"@types/chroma-js": "^3.1.1",
"@types/js-beautify": "^1.14.0",
"@types/node": "^22.19.19",
"@types/opentype.js": "^1.3.8",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@zsviczian/rollup-plugin-postprocess": "^1.0.3",
"cross-env": "^7.0.3",
"cssnano": "^6.0.2",
"eslint": "^9.27.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-obsidianmd": "^0.3.0",
"eslint-plugin-prettier": "^5.0.0",
"jsesc": "^3.0.2",
"lz-string": "^1.5.0",
"obsidian": "1.8.7",
"postcss": "^8.4.31",
"prettier": "^3.0.1",
"rollup": "^4.14.0",
"rollup-plugin-copy": "^3.5.0",
"tslib": "^2.8.1",
"typescript": "5.9.3",
"uglify-js": "^3.19.3"
},
"resolutions": {
"@typescript-eslint/typescript-estree": "5.3.0"
},
"prettier": "@excalidraw/prettier-config",
"engines": {
"node": ">=22.0.0",
"npm": ">=10.0.0"
}
}