Skip to content

Commit dd22f05

Browse files
authored
Remove dist and uglify (#10)
Remove dist and uglify
2 parents 26cb8ae + 0d8f2eb commit dd22f05

File tree

6 files changed

+5
-155
lines changed

6 files changed

+5
-155
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,11 @@ Or [download as ZIP](https://github.com/Palindrom/JSON-Patch-OT/archive/master.z
3333
## Usage
3434

3535
```javascript
36-
var transformedPatch = JSONPatchOT.transform( givenPatch, againstAnotherPatch);
36+
import JSONPatchOT from 'json-patch-ot';
37+
38+
var transformedPatch = JSONPatchOT.transform(givenPatch, againstAnotherPatch);
3739
// or
38-
var transformedPatch = JSONPatchOT.transform( givenPatch, againstArrayOfPatches);
40+
var transformedPatch = JSONPatchOT.transform(givenPatch, againstArrayOfPatches);
3941
```
4042

4143
## Contributing

dist/json-patch-ot.min.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

dist/json-patch-ot.min.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

gruntfile.js

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,7 @@ module.exports = function(grunt) {
1616
prereleaseName: false,
1717
regExp: false
1818
}
19-
},
20-
uglify: {
21-
json_patch_ot: {
22-
options: {
23-
sourceMap: true
24-
},
25-
files: {
26-
'dist/json-patch-ot.min.js': ['src/json-patch-ot.js']
27-
}
28-
}
2919
}
3020
});
31-
grunt.loadNpmTasks('grunt-contrib-uglify');
32-
grunt.loadNpmTasks('grunt-bump');
21+
grunt.loadNpmTasks('grunt-bump');
3322
};

package-lock.json

Lines changed: 0 additions & 137 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)