@syllepsis/plugin-code-block
Version:
code block plugin of syllepsis editor
46 lines (45 loc) • 1.45 kB
JSON
{
"name": "@syllepsis/plugin-code-block",
"author": "wangmou <wangmou@bytedance.com>",
"description": "code block plugin of syllepsis editor",
"version": "0.1.64-alpha.0",
"main": "dist/lib/index.js",
"module": "dist/es/index.js",
"umd": "dist/umd/index.js",
"typings": "dist/es/index.d.ts",
"license": "MIT",
"keywords": [
"syllepsis",
"editor",
"plugin",
"code"
],
"files": [
"dist",
"src"
],
"sideEffects": [
"*.css"
],
"repository": {
"type": "git",
"url": "https://github.com/bytedance/syllepsis.git"
},
"scripts": {
"prebuild": "rimraf ./dist",
"build:es": "cross-env NODE_ENV=production && tsc --target es5 && copyfiles \"./src/**/*.css\" ./dist/es -u 1",
"build:cjs": "cross-env NODE_ENV=production && tsc --target es5 --module commonjs --outDir 'dist/lib' && copyfiles \"./src/**/*.css\" ./dist/lib -u 1",
"build:umd": "cross-env NODE_ENV=production && vite build",
"build": "yarn build:es && yarn build:cjs && yarn build:umd",
"watch": "cross-env NODE_ENV=development && copyfiles \"./src/**/*.css\" ./dist/es -u 1 && tsc --target es5 -w",
"prepublish": "yarn build"
},
"dependencies": {
"@syllepsis/adapter": "^0.1.64-alpha.0",
"@types/codemirror": "^5.60.2",
"@types/lodash.debounce": "^4.0.0",
"codemirror": "^5.54.0",
"lodash.debounce": "^4.0.0"
},
"gitHead": "baa79c12f90d8a960bdf0ab52113c6f1cbbb0af4"
}