Skip to content

Commit 81ac548

Browse files
committed
Nodify and publish
2 parents 1f2c494 + c6abb21 commit 81ac548

File tree

4 files changed

+4
-23
lines changed

4 files changed

+4
-23
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
> Resolves outdated JSON Patches (RFC6902) in real-time JSON collaboration
44
5+
[![Build Status](https://travis-ci.org/Palindrom/JSON-Patch-OT.svg?branch=master)](https://travis-ci.org/Palindrom/JSON-Patch-OT)
6+
57
Set of transformations for JSON Patch [Operational Transformations](https://en.wikipedia.org/wiki/Operational_transformation)
68

79
## Demo

bower.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"**/.*",
2121
"node_modules",
2222
"bower_components",
23+
"gruntfile.js",
2324
"test",
2425
"tests"
2526
],

gruntfile.js

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,6 @@
11
module.exports = function(grunt) {
22

33
grunt.initConfig({
4-
uglify: {
5-
options: {
6-
beautify: {
7-
ascii_only: true,
8-
},
9-
sourceMap: true,
10-
sourceMapIncludeSources: true,
11-
preserveComments: "some"
12-
},
13-
default: {
14-
files: [
15-
{
16-
expand: true, // Enable dynamic expansion.
17-
cwd: 'src/', // Src matches are relative to this path.
18-
src: ['json-patch-ot.js'], // Actual pattern(s) to match.
19-
dest: 'dist/', // Destination path prefix.
20-
ext: '.min.js', // Dest filepaths will have this extension.
21-
extDot: 'first' // Extensions in filenames begin after the first dot
22-
},
23-
]
24-
}
25-
},
264
bump: {
275
options: {
286
files: ['package.json', 'bower.json', 'src/*'],

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* https://github.com/Palindrom/JSONPatchOT
3-
* JSON-Patch-OT version: 1.0.1
3+
* JSON-Patch-OT version: 2.0.0
44
* (c) 2017 Tomek Wytrebowicz
55
* MIT license
66
*/

0 commit comments

Comments
 (0)