Skip to content

Commit

Permalink
fix: upgrade all dependencies (and fix UMD build) (#653)
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Apr 30, 2020
1 parent 6446739 commit a75fa35
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .bundle.main.env
@@ -0,0 +1,2 @@
BUILD_GLOBALS={"react-dom/test-utils":"ReactTestUtils","react":"React","react-dom":"ReactDOM"}

3 changes: 3 additions & 0 deletions .bundle.pure.env
@@ -0,0 +1,3 @@
BUILD_FILENAME_SUFFIX=.pure
BUILD_INPUT=src/pure.js

16 changes: 8 additions & 8 deletions package.json
Expand Up @@ -10,8 +10,8 @@
"scripts": {
"prebuild": "rimraf dist",
"build": "npm-run-all --parallel build:main build:bundle:main build:bundle:pure",
"build:bundle:main": "kcd-scripts build --bundle --no-clean",
"build:bundle:pure": "cross-env BUILD_FILENAME_SUFFIX=.pure BUILD_INPUT=src/pure.js kcd-scripts build --bundle --no-clean",
"build:bundle:main": "dotenv -e .bundle.main.env kcd-scripts build -- --bundle --no-clean",
"build:bundle:pure": "dotenv -e .bundle.main.env -e .bundle.pure.env kcd-scripts build -- --bundle --no-clean",
"build:main": "kcd-scripts build --no-clean",
"lint": "kcd-scripts lint",
"setup": "npm install && npm run validate -s",
Expand Down Expand Up @@ -39,15 +39,15 @@
"author": "Kent C. Dodds <me@kentcdodds.com> (https://kentcdodds.com)",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.9.2",
"@testing-library/dom": "^7.1.0",
"@types/testing-library__react": "^10.0.0"
"@babel/runtime": "^7.9.6",
"@testing-library/dom": "^7.2.2",
"@types/testing-library__react": "^10.0.1"
},
"devDependencies": {
"@reach/router": "^1.3.3",
"@testing-library/jest-dom": "^5.1.1",
"cross-env": "^7.0.2",
"kcd-scripts": "^5.6.0",
"@testing-library/jest-dom": "^5.5.0",
"dotenv-cli": "^3.1.0",
"kcd-scripts": "^5.11.1",
"npm-run-all": "^4.1.5",
"react": "^16.13.1",
"react-dom": "^16.13.1",
Expand Down

0 comments on commit a75fa35

Please sign in to comment.