Skip to content

Commit

Permalink
chore(package): switch from lodash.camelcase to lodash (`dependen…
Browse files Browse the repository at this point in the history
…cies`) (#784)
  • Loading branch information
Stephanemw authored and michael-ciniawsky committed Oct 18, 2018
1 parent 21fcddf commit e6cb60e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,3 +1,4 @@
node_modules
coverage
npm-debug.log
.idea
2 changes: 1 addition & 1 deletion lib/compile-exports.js
@@ -1,4 +1,4 @@
var camelCase = require("lodash.camelcase");
var camelCase = require("lodash/camelCase");

function dashesCamelCase(str) {
return str.replace(/-+(\w)/g, function(match, firstLetter) {
Expand Down
12 changes: 3 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -17,7 +17,7 @@
"css-selector-tokenizer": "^0.7.0",
"icss-utils": "^2.1.0",
"loader-utils": "^1.0.2",
"lodash.camelcase": "^4.3.0",
"lodash": "^4.17.11",
"postcss": "^6.0.23",
"postcss-modules-extract-imports": "^1.2.0",
"postcss-modules-local-by-default": "^1.2.0",
Expand Down

0 comments on commit e6cb60e

Please sign in to comment.