Skip to content

Commit

Permalink
Add boilerplate files
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed Sep 6, 2016
1 parent 1ac5192 commit 655414b
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .gitignore
@@ -0,0 +1,5 @@
/node_modules
.tern-port
/dist/*
/notes.txt
webpack.config.js
8 changes: 8 additions & 0 deletions .tern-project
@@ -0,0 +1,8 @@
{
"libs": ["browser"],
"plugins": {
"node": {},
"complete_strings": {},
"es_modules": {}
}
}
19 changes: 19 additions & 0 deletions LICENSE
@@ -0,0 +1,19 @@
Copyright (C) 2015-2016 by Marijn Haverbeke <marijnh@gmail.com> and others

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
31 changes: 31 additions & 0 deletions package.json
@@ -0,0 +1,31 @@
{
"name": "prosemirror-schema-list",
"version": "0.11.0",
"description": "List-related schema elements and commands for ProseMirror",
"main": "src/schema-list.js",
"license": "MIT",
"maintainers": [
{
"name": "Marijn Haverbeke",
"email": "marijnh@gmail.com",
"web": "http://marijnhaverbeke.nl"
}
],
"repository": {
"type": "git",
"url": "git://github.com/prosemirror/prosemirror-schema-list.git"
},
"dependencies": {
"prosemirror-model": "^0.11.0",
"prosemirror-transform": "^0.11.0"
},
"devDependencies": {
"ist": "^1.0.0",
"mocha": "^3.0.2",
"rimraf": "^2.5.4"
},
"scripts": {
"test": "mocha test/test-*.js",
"x-prepublish": "rimraf dist && babel -d dist src"
}
}
4 changes: 2 additions & 2 deletions src/schema-list.js
@@ -1,5 +1,5 @@
const {findWrapping, liftTarget, canSplit, ReplaceAroundStep} = require("../transform")
const {Block, Attribute, Slice, Fragment, NodeRange} = require("../model")
const {findWrapping, liftTarget, canSplit, ReplaceAroundStep} = require("prosemirror-transform")
const {Block, Attribute, Slice, Fragment, NodeRange} = require("prosemirror-model")

// ::- An ordered list node type. Has a single attribute, `order`,
// which determines the number at which the list starts counting, and
Expand Down

0 comments on commit 655414b

Please sign in to comment.