mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-04 05:00:25 +08:00
删除CodeMirror中没用的代码
This commit is contained in:
@@ -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": {}
|
||||
}
|
||||
}
|
||||
@@ -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}) ]
|
||||
};
|
||||
Reference in New Issue
Block a user