Skip to content

Commit

Permalink
chore: publish
Browse files Browse the repository at this point in the history
  • Loading branch information
zxch3n committed Jun 6, 2024
1 parent cbdb5d7 commit 3a7bd30
Show file tree
Hide file tree
Showing 9 changed files with 614 additions and 16 deletions.
40 changes: 40 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Node modules and logs
node_modules/
examples/
npm-debug.log

# Environment files
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

# Operating System Files
.DS_Store
Thumbs.db

# Optional npm cache & logs
.npm/
.npmrc
logs/
*.log
*.log.*

# Temporary files
*.tmp
*.temp
*.swp
*.swo

# Editor directories and files
.idea/
.vscode/
*.sublime-workspace

# Build artifacts
/build/
/coverage/


# End Generation Here
18 changes: 18 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Copyright 2024 LORO

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.
27 changes: 19 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
{
"name": "loro-prosemirror",
"version": "1.0.0",
"description": "",
"type": "module",
"main": "index.js",
"version": "0.0.3",
"description": "Prosemirror Binding for Loro",
"main": "dist/index.js",
"module": "dist/index.mjs",
"typings": "dist/loro.d.ts",
"scripts": {
"build": "tsc",
"build": "rollup -c",
"test": "vitest run",
"coverage": "vitest run --coverage"
},
"keywords": [],
"author": "",
"license": "ISC",
"keywords": [
"rich-text",
"prosemirror",
"loro",
"local-first",
"crdt"
],
"author": "Loro Team",
"license": "MIT",
"dependencies": {
"lib0": "^0.2.42",
"loro-crdt": "^0.16.3"
Expand All @@ -22,6 +29,7 @@
"prosemirror-view": "^1.28.0"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.0.1",
"@typescript-eslint/parser": "^7.4.0",
"@vitest/coverage-v8": "^1.4.0",
"eslint": "^8.57.0",
Expand All @@ -30,6 +38,9 @@
"prosemirror-model": "^1.18.1",
"prosemirror-state": "^1.4.1",
"prosemirror-view": "^1.26.2",
"rollup": "^3.29.4",
"rollup-plugin-dts": "^5.3.1",
"rollup-plugin-esbuild": "^5.0.0",
"typescript": "^5.4.3",
"vite": "^5.2.7",
"vitest": "^1.4.0"
Expand Down
Loading

0 comments on commit 3a7bd30

Please sign in to comment.