Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c7c0b3f

Browse files
Add yarn scripts
1 parent 47dedb8 commit c7c0b3f

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

‎.travis.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
language: node_js
22
node_js:
33
- node
4-
after_success: 'npm run test:coveralls'
4+
after_success: 'yarn test:coveralls'

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
A 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)

‎package.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
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",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /