Skip to content
This repository was archived by the owner on Mar 6, 2018. It is now read-only.

Commit 7cdcbfd

Browse files
committed
replace webify with bundle
1 parent 1ed23bd commit 7cdcbfd

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,3 @@ node_js:
1212
before_install:
1313
- npm install mocha browserify
1414

15-
script:
16-
- npm run unit
17-
- npm run lint
18-
- npm run webify

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
"bugs": "https://github.com/JSON8/patch/issues",
1313
"main": "index.js",
1414
"scripts": {
15-
"preversion": "npm run webify && npm test",
16-
"webify": "browserify -s JSON8Patch index.js -o JSON8Patch.js",
15+
"preversion": "npm run bundle && npm test",
16+
"bundle": "browserify -s JSON8Patch index.js -o JSON8Patch.js",
1717
"lint": "eslint .",
1818
"unit": "mocha --compilers js:babel-core/register --recursive test/",
19-
"test": "npm run unit && npm run lint && npm run webify"
19+
"test": "npm run unit && npm run lint && npm run bundle"
2020
},
2121
"author": "Sonny Piers <sonny@fastmail.net>",
2222
"license": "ISC",

0 commit comments

Comments
 (0)