|
1 | 1 | { |
2 | 2 | "name": "js-data-mongodb", |
3 | 3 | "description": "MongoDB adapter for js-data.", |
4 | | - "version": "1.0.0-beta.1", |
| 4 | + "version": "1.0.0-rc.1", |
5 | 5 | "homepage": "https://github.com/js-data/js-data-mongodb", |
6 | 6 | "repository": { |
7 | 7 | "type": "git", |
|
37 | 37 | "beforeEach", |
38 | 38 | "afterEach" |
39 | 39 | ], |
40 | | - "ignore": ["dist/"] |
| 40 | + "ignore": [ |
| 41 | + "dist/" |
| 42 | + ] |
41 | 43 | }, |
42 | 44 | "babel": { |
43 | | - "presets": ["es2015-rollup"] |
| 45 | + "presets": [ |
| 46 | + "es2015" |
| 47 | + ] |
44 | 48 | }, |
45 | 49 | "scripts": { |
46 | 50 | "lint": "repo-tools lint \"**/*.js\"", |
47 | 51 | "bundle": "rollup -c rollup.config.js -f cjs -o dist/js-data-mongodb.js -m dist/js-data-mongodb.js.map src/index.js && repo-tools write-version dist/js-data-mongodb.js", |
48 | 52 | "doc": "jsdoc -c conf.json src node_modules/js-data-adapter/src", |
49 | 53 | "watch": "watch \"npm run bundle\" src/", |
50 | 54 | "build": "npm run lint && npm run bundle", |
51 | | - "mocha": "mocha -t 20000 -R dot -r source-map-support/register mocha.start.js", |
52 | | - "cover": "istanbul cover --hook-run-in-context node_modules/mocha/bin/_mocha -- -t 20000 -R dot -r source-map-support/register mocha.start.js", |
| 55 | + "mocha": "mocha -t 20000 -R dot -r babel-core/register -r babel-polyfill mocha.start.js", |
| 56 | + "cover": "nyc --require babel-core/register --require babel-polyfill --cache mocha -t 20000 -R dot mocha.start.js && nyc report --reporter=html", |
53 | 57 | "test": "npm run build && npm run cover", |
54 | | - "release": "npm test && npm run doc && repo-tools updates && repo-tools changelog && repo-tools authors", |
55 | | - "ci": "npm run test && cat coverage/lcov.info | codecov" |
| 58 | + "release": "npm test && npm run doc && repo-tools updates && repo-tools changelog && repo-tools authors" |
56 | 59 | }, |
57 | 60 | "dependencies": { |
58 | | - "js-data-adapter": "~0.6.1", |
| 61 | + "js-data-adapter": "~0.8.2", |
59 | 62 | "mout": "1.0.0" |
60 | 63 | }, |
61 | 64 | "peerDependencies": { |
62 | 65 | "bson": "^0.4.x || ^0.3.x", |
63 | | - "js-data": "^3.0.0-beta.3", |
| 66 | + "js-data": "^3.0.0-rc.4", |
64 | 67 | "mongodb": ">=1.3.x" |
65 | 68 | }, |
66 | 69 | "devDependencies": { |
67 | | - "babel-polyfill": "6.7.4", |
68 | | - "babel-preset-es2015-rollup": "1.1.1", |
69 | | - "istanbul": "0.4.3", |
70 | | - "js-data-adapter-tests": "^2.0.0-alpha.16", |
71 | | - "js-data-repo-tools": "0.5.0", |
72 | | - "rollup": "0.26.1", |
73 | | - "rollup-plugin-babel": "2.4.0", |
74 | | - "source-map-support": "0.4.0", |
75 | | - "watch": "0.18.0" |
| 70 | + "js-data-repo-tools": "0.5.6" |
76 | 71 | } |
77 | 72 | } |
0 commit comments