93 lines
2.6 KiB
JSON
93 lines
2.6 KiB
JSON
{
|
|
"name": "mermaid-live-editor",
|
|
"version": "2.0.67",
|
|
"type": "module",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"dev": "vite dev",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"lint": "prettier --check --cache --plugin-search-dir=. .;eslint --ignore-path .gitignore .",
|
|
"lint:fix": "prettier --write --cache --plugin-search-dir=. .;eslint --fix --ignore-path .gitignore .",
|
|
"format": "prettier --write --cache --plugin-search-dir=. .",
|
|
"pre-commit": "lint-staged",
|
|
"postinstall": "husky install; cypress cache prune; svelte-kit sync",
|
|
"test:unit": "vitest",
|
|
"test:ui": "vitest --ui",
|
|
"test:coverage": "vitest run --coverage",
|
|
"test:browser": "cypress run",
|
|
"test": "test:unit && test:browser",
|
|
"cy": "cypress open"
|
|
},
|
|
"devDependencies": {
|
|
"@cypress/snapshot": "2.1.7",
|
|
"@sveltejs/adapter-static": "1.0.0-next.39",
|
|
"@sveltejs/kit": "1.0.0-next.405",
|
|
"@testing-library/jest-dom": "5.16.5",
|
|
"@testing-library/svelte": "3.1.3",
|
|
"@types/mermaid": "8.2.9",
|
|
"@types/pako": "1.0.3",
|
|
"@typescript-eslint/eslint-plugin": "5.33.0",
|
|
"@typescript-eslint/parser": "5.33.0",
|
|
"@vitest/ui": "0.21.1",
|
|
"autoprefixer": "10.4.8",
|
|
"c8": "7.12.0",
|
|
"chai": "4.3.6",
|
|
"cssnano": "5.1.12",
|
|
"cy-verify-downloads": "0.1.8",
|
|
"cypress": "10.4.0",
|
|
"cypress-localstorage-commands": "2.2.0",
|
|
"eslint": "8.21.0",
|
|
"eslint-config-prettier": "8.5.0",
|
|
"eslint-plugin-cypress": "2.12.1",
|
|
"eslint-plugin-es": "4.1.0",
|
|
"eslint-plugin-postcss-modules": "2.0.0",
|
|
"eslint-plugin-svelte3": "4.0.0",
|
|
"eslint-plugin-tailwindcss": "3.6.0",
|
|
"eslint-plugin-vitest": "0.0.8",
|
|
"husky": "8.0.1",
|
|
"jsdom": "20.0.0",
|
|
"lint-staged": "13.0.3",
|
|
"node-html-parser": "5.4.1",
|
|
"postcss": "8.4.16",
|
|
"postcss-load-config": "4.0.1",
|
|
"prettier": "2.7.1",
|
|
"prettier-plugin-svelte": "2.7.0",
|
|
"svelte": "3.49.0",
|
|
"svelte-preprocess": "4.10.7",
|
|
"tailwindcss": "3.1.8",
|
|
"tslib": "2.4.0",
|
|
"typescript": "4.7.4",
|
|
"vite": "3.0.6",
|
|
"vitest": "0.21.1",
|
|
"vitest-svelte-kit": "0.0.7"
|
|
},
|
|
"dependencies": {
|
|
"@analytics/google-analytics": "1.0.3",
|
|
"@macfja/svelte-persistent-store": "1.3.0",
|
|
"analytics": "0.8.1",
|
|
"daisyui": "2.22.0",
|
|
"js-base64": "3.7.2",
|
|
"mermaid": "9.1.5",
|
|
"moment": "2.29.4",
|
|
"monaco-editor": "0.34.0",
|
|
"monaco-mermaid": "1.0.6",
|
|
"pako": "2.0.4",
|
|
"random-word-slugs": "0.1.6",
|
|
"svg-pan-zoom": "^3.6.1"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,svelte,js,css,md,json}": [
|
|
"prettier --plugin-search-dir=. --write",
|
|
"eslint --ignore-path .gitignore "
|
|
]
|
|
},
|
|
"volta": {
|
|
"node": "18.5.0",
|
|
"yarn": "1.22.10"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.7"
|
|
}
|
|
}
|