- Refactoring: Update to latest Rollup API
- npm: Update node-static, Rollup deps; add `package-lock.json` to gitignore and use `author` field in `package.json`
This commit is contained in:
parent
7af1022ac2
commit
80eeba0363
|
@ -1,5 +1,6 @@
|
|||
/node_modules
|
||||
/npm-debug.log
|
||||
/package-lock.json
|
||||
/test*.html
|
||||
.tern-*
|
||||
*~
|
||||
|
|
20
package.json
20
package.json
|
@ -3,6 +3,11 @@
|
|||
"version": "5.40.3",
|
||||
"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": {
|
||||
|
@ -17,11 +22,11 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"blint": "^1",
|
||||
"node-static": "0.6.0",
|
||||
"node-static": "0.7.11",
|
||||
"phantomjs-prebuilt": "^2.1.12",
|
||||
"rollup": "^0.41.0",
|
||||
"rollup-plugin-buble": "^0.15.0",
|
||||
"rollup-watch": "^3.2.0"
|
||||
"rollup": "^0.66.2",
|
||||
"rollup-plugin-buble": "^0.19.2",
|
||||
"rollup-watch": "^4.3.1"
|
||||
},
|
||||
"bugs": "http://github.com/codemirror/CodeMirror/issues",
|
||||
"keywords": [
|
||||
|
@ -30,13 +35,6 @@
|
|||
"Editor"
|
||||
],
|
||||
"homepage": "https://codemirror.net",
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "Marijn Haverbeke",
|
||||
"email": "marijnh@gmail.com",
|
||||
"web": "http://marijnhaverbeke.nl"
|
||||
}
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/codemirror/CodeMirror.git"
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
import buble from 'rollup-plugin-buble';
|
||||
|
||||
export default {
|
||||
banner: `// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
||||
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
|
||||
|
@ -9,10 +11,10 @@ export default {
|
|||
//
|
||||
// You can find some technical background for some of the code below
|
||||
// at http://marijnhaverbeke.nl/blog/#cm-internals .
|
||||
`,
|
||||
entry: "src/codemirror.js",
|
||||
format: "umd",
|
||||
dest: "lib/codemirror.js",
|
||||
moduleName: "CodeMirror",
|
||||
`,
|
||||
format: "umd",
|
||||
file: "lib/codemirror.js",
|
||||
name: "CodeMirror"
|
||||
},
|
||||
plugins: [ buble({namedFunctionExpressions: false}) ]
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue