File tree 3 files changed +8
-8
lines changed
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
node_js :
3
3
- node
4
- after_success : ' npm run test:coveralls'
4
+ after_success : ' yarn test:coveralls'
Original file line number Diff line number Diff line change 8
8
A small library that can deep diff two JavaScript Objects, including nested structures of arrays and objects.
9
9
10
10
## Installation
11
- `` `
12
- npm i --save deep-object-diff
13
- `` `
11
+ ` yarn add deep-object-diff `
12
+
13
+ ` npm i --save deep-object-diff `
14
14
15
15
## Functions available:
16
16
- [ ` diff(originalObj, updatedObj) ` ] ( #diff )
Original file line number Diff line number Diff line change 9
9
],
10
10
"scripts" : {
11
11
"build" : " babel src -d dist --ignore *.spec.js" ,
12
- "prepublish" : " npm run build" ,
12
+ "prepublish" : " yarn build" ,
13
13
"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"
17
17
},
18
18
"author" : " Matt Phillips" ,
19
19
"license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments