react-openqasm-editor
Version:
A powerful, customizable code editor for OpenQASM (Open Quantum Assembly Language) based on Monaco Editor.
80 lines (79 loc) • 2.37 kB
JSON
{
"name": "react-openqasm-editor",
"description": "A powerful, customizable code editor for OpenQASM (Open Quantum Assembly Language) based on Monaco Editor.",
"version": "0.0.2",
"type": "module",
"main": "./dist/openqasm-editor.umd.js",
"module": "./dist/openqasm-editor.es.js",
"types": "./dist/openqasm-editor.d.ts",
"license": "MIT",
"repository": {
"url": "https://github.com/Xy2002/react-openqasm-editor"
},
"author": "vvx1srising <57112423+Xy2002@users.noreply.github.com>",
"keywords": [
"react",
"openqasm",
"editor",
"monaco",
"quantum"
],
"exports": {
".": {
"types": "./dist/openqasm-editor.d.ts",
"import": "./dist/openqasm-editor.es.js",
"require": "./dist/openqasm-editor.umd.js"
}
},
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "eslint .",
"preview": "vite preview",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"generate-antlr": "antlr4ts -Dlanguage=TypeScript -visitor lib/antlr/openqasm.g4"
},
"dependencies": {
"antlr4ts": "0.5.0-alpha.4",
"antlr4ts-cli": "0.5.0-alpha.4",
"monaco-editor-core": "^0.52.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@chromatic-com/storybook": "^3",
"@eslint/js": "^9.21.0",
"@storybook/addon-essentials": "^8.6.11",
"@storybook/addon-onboarding": "^8.6.11",
"@storybook/blocks": "^8.6.11",
"@storybook/experimental-addon-test": "^8.6.11",
"@storybook/react": "^8.6.11",
"@storybook/react-vite": "^8.6.11",
"@storybook/test": "^8.6.11",
"@types/node": "^22.13.15",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/browser": "^3.1.1",
"@vitest/coverage-v8": "^3.1.1",
"eslint": "^9.21.0",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.19",
"eslint-plugin-storybook": "^0.12.0",
"globals": "^15.15.0",
"playwright": "^1.51.1",
"storybook": "^8.6.11",
"typescript": "~5.7.2",
"typescript-eslint": "^8.24.1",
"vite": "^6.2.0",
"vite-plugin-dts": "^4.5.3",
"vite-plugin-node-polyfills": "^0.23.0",
"vitest": "^3.1.1"
},
"eslintConfig": {
"extends": [
"plugin:storybook/recommended"
]
}
}