Skip to content

Commit 02a2e68

Browse files
JeromeFitzForbesLindesay
authored andcommitted
Update dependencies (#39)
* [fix] #38 dehumanize-date, +packages, +npm@5 🚧️ #38 dehumanize-date This broke the buuild (seemingly) due to the package.json needing to be updated to the latest. At least, that is what had all the tests pass and the build pass. 🐻️ npm@5 + package-lock.json + change `prepublish` to `prepare` -- 📓️ Note: `prepublishOnly` = `upload-only` if that is desired behaviour 📦️ package.json + Removed `peerDependencies` and put `react` into `dependencies` -- 📓️ Note: It was messing up the pretest + test 📦️ Packages Updated [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] -- 📓️ Note: peerDependencies for testing the latest version as well. -- Or does this need to stay @15.4.1 * [refactor] Updated package.json per @ForbesLindesay 📦️ package.json + Added back `^` for semver to packages - package-lock.json removed + package-lock.json added to .gitignore + moved `react-dom` and `react-test-renderer` to `devDependencies` * [chore] #40 📦️ Package Updated: [email protected] This continues to fix the build issue being identified.
1 parent c914a07 commit 02a2e68

File tree

2 files changed

+16
-13
lines changed

2 files changed

+16
-13
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ logs
1111
results
1212
npm-debug.log
1313
node_modules
14+
package-lock.json
1415
coverage
1516
lib

package.json

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,32 @@
1111
"react-component"
1212
],
1313
"dependencies": {
14-
"dehumanize-date": "^2.0.1",
15-
"occasion": "^1.0.0",
16-
"prop-types": "^15.5.8"
14+
"dehumanize-date": "^2.4.0",
15+
"occasion": "^2.0.0",
16+
"prop-types": "^15.5.10"
1717
},
1818
"peerDependencies": {
19-
"react": "^0.13.3 || ^0.14.8 || ^15.5.4"
19+
"react": "^0.13.3 || ^0.14.8 || ^15.6.1"
2020
},
2121
"devDependencies": {
2222
"babel-cli": "^6.24.1",
23-
"babel-jest": "^19.0.0",
23+
"babel-jest": "^20.0.0",
2424
"babel-preset-forbeslindesay": "^2.1.0",
2525
"browserify-middleware": "^7.1.0",
2626
"cross-spawn": "^5.1.0",
27-
"enzyme": "^2.8.2",
28-
"express": "^4.10.6",
29-
"jest": "^19.0.2",
30-
"mocha": "^3.2.0",
31-
"peer-tester": "^1.0.5",
32-
"react": "^15.5.4",
27+
"enzyme": "^2.9.1",
28+
"express": "^4.15.3",
29+
"jest": "^20.0.4",
30+
"mocha": "^3.4.2",
31+
"peer-tester": "^1.0.6",
32+
"react": "^15.6.1",
33+
"react-dom": "^15.6.1",
34+
"react-test-renderer": "^15.6.1",
3335
"semver": "^5.3.0"
3436
},
3537
"scripts": {
3638
"pretest": "node pretest",
37-
"prepublish": "npm run build",
39+
"prepare": "npm run build",
3840
"build": "babel src --out-dir lib",
3941
"test": "jest ./src/** --coverage && peer-tester",
4042
"watch": "jest ./src/** --coverage --watch"
@@ -45,4 +47,4 @@
4547
},
4648
"author": "ForbesLindesay",
4749
"license": "MIT"
48-
}
50+
}

0 commit comments

Comments
 (0)