Skip to content

Commit

Permalink
Upgrade example app to create-react-app v3
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-soft committed Apr 24, 2019
1 parent 614ca93 commit 9f5824b
Show file tree
Hide file tree
Showing 5 changed files with 2,205 additions and 2,432 deletions.
2 changes: 1 addition & 1 deletion example/__tests__/FullApp.test.js
Expand Up @@ -22,7 +22,7 @@ describe('app', () => {

await page.goto('http://localhost:3000');

expect(logs.includes('THREE.WebGLRenderer 102')).toBe(true);
expect(logs.includes('THREE.WebGLRenderer 103')).toBe(true);
}, 10000);

test('No page errors', async () => {
Expand Down
24 changes: 15 additions & 9 deletions example/package.json
Expand Up @@ -11,7 +11,7 @@
"react-dom": "link:../node_modules/reac-dom",
"react-highlight": "^0.12.0",
"react-particles-webgl": "link:..",
"react-scripts": "^2.1.8",
"react-scripts": "^3.0.0",
"react-scrollbars-custom": "3",
"react-spring": "^8.0.19",
"stringify-object": "^3.3.0",
Expand All @@ -28,15 +28,21 @@
"jest": {
"preset": "jest-puppeteer"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"jest": "23.6.0",
"jest-puppeteer": "3.9.0",
"jest": "24.7.1",
"jest-puppeteer": "4.1.1",
"puppeteer": "^1.14.0"
}
}

0 comments on commit 9f5824b

Please sign in to comment.