{
  "name": "vue-playground",
  "version": "0.1.10",
  "description": "A code editor runner, real-time editing, real-time compilation, real-time preview.",
  "keywords": [
    "vue",
    "vue-playground",
    "codesandbox",
    "playground",
    "sandbox",
    "vue-superman",
    "component",
    "utils"
  ],
  "author": "yangjinming <https://github.com/2214962083>",
  "funding": "https://github.com/sponsors/2214962083",
  "license": "MIT",
  "private": false,
  "main": "./dist/index.cjs",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "unpkg": "/dist/index.min.mjs",
  "jsdelivr": "/dist/index.min.mjs",
  "exports": {
    ".": {
      "require": "./dist/index.cjs",
      "import": "./dist/index.mjs",
      "types": "./dist/index.d.ts"
    },
    "./*": "./*"
  },
  "files": [
    "dist"
  ],
  "sideEffects": false,
  "repository": {
    "type": "git",
    "url": "git+https://github.com/2214962083/vue-superman.git",
    "directory": "packages/vue-playground"
  },
  "bugs": {
    "url": "https://github.com/2214962083/vue-superman/issues"
  },
  "homepage": "https://github.com/2214962083/vue-superman#readme",
  "peerDependencies": {
    "monaco-editor": ">=0.30.0",
    "@vue/compiler-sfc": ">=3.0.0",
    "vue": ">=3.0.0"
  },
  "dependencies": {
    "@babel/standalone": "^7.17.11",
    "@babel/types": "^7.17.10",
    "@types/babel__core": "^7.1.19",
    "@types/babel__standalone": "^7.1.4",
    "@vue/reactivity": "^3.2.33",
    "@vue/runtime-core": "^3.2.33",
    "@vue/runtime-dom": "^3.2.33",
    "@vue/shared": "^3.2.33",
    "@vueuse/core": "^8.4.1",
    "emmet-monaco-es": "^5.1.0",
    "js-base64": "^3.7.2",
    "theme-vitesse": "^0.4.9",
    "vue-demi": "*"
  },
  "devDependencies": {
    "@types/node": "^17.0.24",
    "@types/rimraf": "^3.0.2",
    "@vitejs/plugin-vue": "^2.3.1",
    "@vitejs/plugin-vue-jsx": "^1.3.10",
    "@vue/compiler-sfc": "^3.2.31",
    "@vue/test-utils": "^2.0.0-rc.21",
    "conventional-changelog-cli": "^2.2.2",
    "cross-env": "^7.0.3",
    "esno": "^0.14.1",
    "jsdom": "^19.0.0",
    "monaco-editor": "^0.33.0",
    "rimraf": "^3.0.2",
    "superman-shared": "0.1.10",
    "typescript": "4.6.3",
    "vite": "^2.9.5",
    "vitest": "^0.9.3",
    "vue": "^3.2.31",
    "vue-tsc": "^0.34.7"
  },
  "scripts": {
    "build": "vue-tsc --noEmit &&esno ./scripts/build.ts",
    "build:watch": "cross-env WATCH=true pnpm build",
    "build:report": "cross-env REPORT=true pnpm run build",
    "clean": "rimraf ./dist/**/*",
    "dev": "vite",
    "test": "vitest run --silent --passWithNoTests",
    "test:watch": "pnpm test -- --watch",
    "type-check": "tsc --noEmit"
  },
  "readme": "<div align=\"center\">\n  <a href=\"https://vue-superman.vercel.app/\">\n    <img src=\"https://vue-superman.vercel.app/images/logo.svg\" width=\"150\">\n  </a>\n  <h1>vue-playground</h1>\n  <p>A code editor runner, real-time editing, real-time compilation, real-time preview.</p>\n  <p>\n    <span>English</span>&emsp;|&emsp;<a href=\"./README_zh-CN.md\">简体中文</a>\n  </p>\n  <p>\n    <img src=\"https://img.shields.io/npm/v/vue-playground?style=flat-square\" alt=\"version\">\n    <img src=\"https://img.shields.io/npm/dependency-version/vue-playground/peer/monaco-editor\" alt=\"monaco-editor\">\n    <img src=\"https://img.shields.io/npm/dependency-version/vue-playground/peer/vue\" alt=\"vue\">\n    <img src=\"https://img.shields.io/npm/l/vue-playground.svg\" alt=\"license\">\n    <img src=\"https://img.shields.io/codecov/c/github/2214962083/vue-superman\" alt=\"coverage\">\n    <img src=\"https://img.badgesize.io/https://unpkg.com/vue-playground?compression=gzip&label=gzip\" alt=\"gzip\" />\n    <img src=\"https://img.shields.io/github/stars/2214962083/vue-superman?style=social\" alt=\"stars\">\n  </p>\n</div>\n\n## Introduction\n\n`vue-playground` is a `vue3` component based on [monaco-editor](https://github.com/microsoft/monaco-editor).\n\nIt supports real-time editing, real-time compilation, and real-time preview. Similar to the small [codesandbox](https://codesandbox.io/).\n\n## Features\n\n- Real-time editing, real-time compilation `(vue3, js, ts, jsx, tsx, css)`, real-time running, real-time preview.\n- Support for custom `import` mapping.\n- Support to create new files, delete files, support.\n- Editor supports `ts` type hinting (`.ts` files only).\n- Support switching layout, support full screen.\n- Support dark mode.\n- Support custom theme color.\n\n## Installation\n\nfor npm\n\n```bash\nnpm i vue-playground monaco-editor\n```\n\nfor yarn\n\n```bash\nyarn add vue-playground monaco-editor\n```\n\nfor pnpm\n\n```bash\npnpm add vue-playground monaco-editor\n```\n\n## Usage\n\nThe usage is documented in the [documentation](https://vue-superman.vercel.app/libs/vue-playground/).\n\n## Notice\n\nThis component depends on [monaco-editor](https://github.com/microsoft/monaco-editor) and [@babel/standalone](https://babeljs.io/docs/en/babel-standalone), So it will be bigger after packing.\n\nRecommended for lowcode projects. Or documentation to write demo .\n\n## Acknowledgement\n\n- [vuejs/repl](https://github.com/vuejs/repl)\n- [code-kitchen](https://github.com/freewheel/code-kitchen)\n- [vueuse-playground-next](https://github.com/wheatjs/vueuse-playground-next)\n\n## Contributing\n\nLearn about contribution [here](https://github.com/2214962083/vue-superman/blob/master/CONTRIBUTING.md).\n\nThis project exists thanks to all the people who contribute:\n\n<a href=\"https://github.com/2214962083/vue-superman/graphs/contributors\">\n  <img src=\"https://contrib.rocks/image?repo=2214962083/vue-superman\" />\n</a>\n\n## License\n\n[MIT](https://github.com/2214962083/vue-superman/blob/master/LICENSE) License © 2022-PRESENT [yangjinming](https://github.com/2214962083)\n"
}