Skip to content

Commit

Permalink
updated package.json, major version upgrade, added peerDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dmonad committed Feb 23, 2016
1 parent fc165d7 commit ab21373
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 60 deletions.
3 changes: 0 additions & 3 deletions .bowerrc

This file was deleted.

11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

File renamed without changes.
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,11 @@ Retrieve this with bower or npm.
bower install y-map --save
```

and include the js library.

```
<script src="./bower_components/y-map/y-map.js"></script>
```

##### NPM
```
npm install y-map --save
```


# Y.Map
Y.Map mimics the behaviour of a javascript Object. You can create, update, and remove properies on this type. Furthermore, you can observe changes on this type as you can observe changes on Javascript Objects with [Object.observe](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe) - an ECMAScript 7 proposal ~~which is likely to become accepted by the committee~~. Until then, we have our own implementation.

Expand Down
29 changes: 0 additions & 29 deletions bower.json

This file was deleted.

2 changes: 1 addition & 1 deletion dist
Submodule dist updated 3 files
+21 −0 LICENSE
+10 −15 bower.json
+0 −56 package.json
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "y-map",
"version": "0.7.6",
"version": "8.0.0",
"description": "Map Type for Yjs",
"main": "./src/Map.js",
"scripts": {
Expand All @@ -27,13 +27,11 @@
"keywords": [
"Yjs",
"OT",
"List",
"Array",
"collaboration",
"synchronization",
"ShareJs",
"Collaboration",
"Synchronization",
"ShareJS",
"Coweb",
"concurrency"
"Concurrency"
],
"author": "Kevin Jahns <[email protected]>",
"license": "MIT",
Expand All @@ -52,5 +50,8 @@
"pre-commit": "^1.1.2",
"run-sequence": "^1.1.4",
"standard": "^5.3.1"
},
"peerDependencies": {
"yjs": "~9.0"
}
}
4 changes: 2 additions & 2 deletions src/Map.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
'use strict'

var Y = require('../../yjs/src/SpecHelper.js')
var numberOfYMapTests = 1000
var repeatMapTeasts = 5
var numberOfYMapTests = 100
var repeatMapTeasts = 1

for (let database of databases) {
describe(`Map Type (DB: ${database})`, function () {
Expand Down

0 comments on commit ab21373

Please sign in to comment.