diff --git a/.eslintrc b/.eslintrc index 324b806..158ee07 100644 --- a/.eslintrc +++ b/.eslintrc @@ -23,7 +23,8 @@ "plugins": ["prettier", "flowtype", "react", "standard"], "env": { "es6": true, - "browser": true + "browser": true, + "mocha": true }, "rules": { "prettier/prettier": "error" diff --git a/examples/add-video-block/package-lock.json b/examples/add-video-block/package-lock.json index 4de4f7c..7f85e93 100644 --- a/examples/add-video-block/package-lock.json +++ b/examples/add-video-block/package-lock.json @@ -1,6 +1,6 @@ { - "name": "@djsp/block-insert", - "version": "0.1.4", + "name": "@djsp/add-video-block-example", + "version": "0.1.5", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -8484,14 +8484,14 @@ } }, "react": { - "version": "16.5.2", - "resolved": "https://registry.npmjs.org/react/-/react-16.5.2.tgz", - "integrity": "sha512-FDCSVd3DjVTmbEAjUNX6FgfAmQ+ypJfHUsqUJOYNCBUp1h8lqmtC+0mXJ+JjsWx4KAVTkk1vKd1hLQPvEviSuw==", + "version": "16.5.0", + "resolved": "https://registry.npmjs.org/react/-/react-16.5.0.tgz", + "integrity": "sha512-nw/yB/L51kA9PsAy17T1JrzzGRk+BlFCJwFF7p+pwVxgqwPjYNeZEkkH7LXn9dmflolrYMXLWMTkQ77suKPTNQ==", "requires": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1", "prop-types": "^15.6.2", - "schedule": "^0.5.0" + "schedule": "^0.3.0" } }, "react-dev-utils": { @@ -8520,14 +8520,14 @@ } }, "react-dom": { - "version": "16.5.2", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.5.2.tgz", - "integrity": "sha512-RC8LDw8feuZOHVgzEf7f+cxBr/DnKdqp56VU0lAs1f4UfKc4cU8wU4fTq/mgnvynLQo8OtlPC19NUFh/zjZPuA==", + "version": "16.5.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.5.0.tgz", + "integrity": "sha512-qgsQdjFH54pQ1AGLCBKsqjPxib4Pnp+cOsNxGPlkHn5YnsSt43sBvHSif6FheY7NMMS6HPeSJOxXf6ECanjacA==", "requires": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1", "prop-types": "^15.6.2", - "schedule": "^0.5.0" + "schedule": "^0.3.0" } }, "react-error-overlay": { @@ -9367,9 +9367,9 @@ "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" }, "schedule": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/schedule/-/schedule-0.5.0.tgz", - "integrity": "sha512-HUcJicG5Ou8xfR//c2rPT0lPIRR09vVvN81T9fqfVgBmhERUbDEQoYKjpBxbueJnCPpSu2ujXzOnRQt6x9o/jw==", + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/schedule/-/schedule-0.3.0.tgz", + "integrity": "sha512-20+1KVo517sR7Nt+bYBN8a+bEJDKLPEx7Ohtts1kX05E4/HY53YUNuhfkVNItmWAnBYHcpG9vsd2/CJxG+aPCQ==", "requires": { "object-assign": "^4.1.1" } diff --git a/examples/add-video-block/package.json b/examples/add-video-block/package.json index 51912e2..9a8fc35 100644 --- a/examples/add-video-block/package.json +++ b/examples/add-video-block/package.json @@ -1,6 +1,6 @@ { - "name": "@djsp/block-insert", - "homepage": "https://juliankrispel.github.io/@djsp/core", + "name": "@djsp/add-video-block-example", + "homepage": "https://github.com/draft-js-plugins/next#readme", "version": "0.1.5", "private": true, "license": "MIT", @@ -9,8 +9,8 @@ "@djsp/core": "^0.1.5", "@djsp/utils": "^0.1.5", "prop-types": "^15.6.1", - "react": "^16.5.0", - "react-dom": "^16.2.0", + "react": "16.5.0", + "react-dom": "16.5.0", "react-scripts": "^1.1.1", "react-text-selection-popover": "^1.0.3", "styled-components": "^3.4.5" diff --git a/examples/add-video-block/public/index.html b/examples/add-video-block/public/index.html index 02f3176..dad6af5 100644 --- a/examples/add-video-block/public/index.html +++ b/examples/add-video-block/public/index.html @@ -7,7 +7,7 @@ -