Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Commit

Permalink
removing peer dependencies since it is presenting problems with unwan…
Browse files Browse the repository at this point in the history
…ted warnings
  • Loading branch information
alansouzati committed Jul 28, 2017
1 parent 0265520 commit 799f44e
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4,893 deletions.
13 changes: 4 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "grommet-cli",
"version": "5.0.0",
"version": "5.0.2",
"main": "src/grommet.js",
"description": "Command line interface for Grommet.",
"authors": [
Expand All @@ -19,16 +19,17 @@
"bin": {
"grommet": "./bin/grommet.js"
},
"preferGlobal": true,
"dependencies": {
"babel-core": "^6.25.0",
"chalk": "^2.0.1",
"dotenv": "^4.0.0",
"ejs": "^2.5.6",
"eslint": "^4.3.0",
"eslint-parallel": "^0.3.0",
"fs-extra": "^4.0.0",
"glob": "^7.1.2",
"glob-to-regexp": "^0.3.0",
"jest-cli": "^20.0.4",
"jest-file-exists": "^19.0.0",
"mkdirp": "^0.5.1",
"node-emoji": "^1.8.1",
Expand All @@ -43,16 +44,10 @@
"webpack-dev-server": "^2.6.1",
"yargs": "^8.0.2"
},
"peerDependencies": {
"eslint": ">=4.3.0",
"jest-cli": ">=20.0.0",
"sass-lint": ">=1.0.0"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-eslint": "^7.2.3",
"babel-preset-es2015": "^6.24.1",
"jest-cli": "^20.0.4"
"babel-preset-es2015": "^6.24.1"
},
"scripts": {
"build": "node_modules/.bin/babel src --out-dir bin --copy-files --loose-mode"
Expand Down
4 changes: 4 additions & 0 deletions templates/app/__tests__/components/NavSidebar-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ const routes = [{
component: () => <NavSidebar />
}];

// needed because this:
// https://github.com/facebook/jest/issues/1353
jest.mock('react-dom');

test('NavSidebar renders', () => {
const component = renderer.create(
<Provider store={store}>
Expand Down
4 changes: 4 additions & 0 deletions templates/basic/__tests__/components/App-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ import renderer from 'react-test-renderer';

import App from '../../src/js/App';

// needed because this:
// https://github.com/facebook/jest/issues/1353
jest.mock('react-dom');

test('App renders', () => {
const component = renderer.create(
<App />
Expand Down
4 changes: 4 additions & 0 deletions templates/docs/__tests__/components/Dashboard-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ import renderer from 'react-test-renderer';

import Dashboard from '../../src/js/components/Dashboard';

// needed because this:
// https://github.com/facebook/jest/issues/1353
jest.mock('react-dom');

test('Dashboard renders', () => {
const component = renderer.create(
<Dashboard />
Expand Down
Loading

0 comments on commit 799f44e

Please sign in to comment.