File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 11language : node_js
22node_js :
33 - node
4- after_success : ' npm run test:coveralls'
4+ after_success : ' yarn test:coveralls'
Original file line number Diff line number Diff line change 88A small library that can deep diff two JavaScript Objects, including nested structures of arrays and objects.
99
1010## Installation
11- `` `
12- npm i --save deep-object-diff
13- `` `
11+ ` yarn add deep-object-diff `
12+
13+ ` npm i --save deep-object-diff `
1414
1515## Functions available:
1616 - [ ` diff(originalObj, updatedObj) ` ] ( #diff )
Original file line number Diff line number Diff line change 99 ],
1010 "scripts" : {
1111 "build" : " babel src -d dist --ignore *.spec.js" ,
12- "prepublish" : " npm run build" ,
12+ "prepublish" : " yarn build" ,
1313 "test" : " jest src/**/*.test.js" ,
14- "test:coverage" : " jest --coverage" ,
15- "test:coveralls" : " npm run test:coverage && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls" ,
16- "test:watch" : " npm test -- --watch"
14+ "test:coverage" : " jest src/**/*.test.js --coverage" ,
15+ "test:coveralls" : " yarn test:coverage && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls" ,
16+ "test:watch" : " yarn test -- --watch"
1717 },
1818 "author" : " Matt Phillips" ,
1919 "license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments