From 15ca8d6218948ff5a44e94d730027748f2f5eeff Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Sat, 16 Oct 2021 10:26:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4CodeMirror=E4=B8=AD=E6=B2=A1?= =?UTF-8?q?=E7=94=A8=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/public/codemirror/package.json | 47 -------------------------- web/public/codemirror/rollup.config.js | 20 ----------- 2 files changed, 67 deletions(-) delete mode 100644 web/public/codemirror/package.json delete mode 100644 web/public/codemirror/rollup.config.js diff --git a/web/public/codemirror/package.json b/web/public/codemirror/package.json deleted file mode 100644 index 70f74de7..00000000 --- a/web/public/codemirror/package.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "name": "codemirror", - "version": "5.41.0", - "main": "lib/codemirror.js", - "style": "lib/codemirror.css", - "author": { - "name": "Marijn Haverbeke", - "email": "marijnh@gmail.com", - "url": "http://marijnhaverbeke.nl" - }, - "description": "Full-featured in-browser code editor", - "license": "MIT", - "directories": { - "lib": "./lib" - }, - "scripts": { - "build": "rollup -c", - "watch": "rollup -w -c", - "prepare": "npm run-script build", - "test": "node ./test/run.js", - "lint": "bin/lint" - }, - "devDependencies": { - "blint": "^1", - "node-static": "0.7.11", - "phantomjs-prebuilt": "^2.1.12", - "rollup": "^0.66.2", - "rollup-plugin-buble": "^0.19.2", - "rollup-watch": "^4.3.1" - }, - "bugs": "http://github.com/codemirror/CodeMirror/issues", - "keywords": [ - "JavaScript", - "CodeMirror", - "Editor" - ], - "homepage": "https://codemirror.net", - "repository": { - "type": "git", - "url": "https://github.com/codemirror/CodeMirror.git" - }, - "jspm": { - "directories": {}, - "dependencies": {}, - "devDependencies": {} - } -} diff --git a/web/public/codemirror/rollup.config.js b/web/public/codemirror/rollup.config.js deleted file mode 100644 index fbb43571..00000000 --- a/web/public/codemirror/rollup.config.js +++ /dev/null @@ -1,20 +0,0 @@ -import buble from 'rollup-plugin-buble'; - -export default { - input: "src/codemirror.js", - output: { - banner: `// CodeMirror, copyright (c) by Marijn Haverbeke and others -// Distributed under an MIT license: https://codemirror.net/LICENSE - -// This is CodeMirror (https://codemirror.net), a code editor -// implemented in JavaScript on top of the browser's DOM. -// -// You can find some technical background for some of the code below -// at http://marijnhaverbeke.nl/blog/#cm-internals . -`, - format: "umd", - file: "lib/codemirror.js", - name: "CodeMirror" - }, - plugins: [ buble({namedFunctionExpressions: false}) ] -};