Skip to content

Commit 13d7789

Browse files
committed
Add build and publish scripts
1 parent b1b52f4 commit 13d7789

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
node_modules/
2+
dist

package.json

+6
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22
"name": "deep-object-diff",
33
"version": "0.0.1",
44
"description": "Deep diffs two objects, including nested structures of arrays and objects, and return the difference.",
5+
"main": "dist/index.js",
6+
"files": [
7+
"dist/index.js"
8+
],
59
"scripts": {
10+
"build": "babel src -d dist --ignore *.spec.js",
11+
"prepublish": "npm run build",
612
"test": "mocha \"src/**/*spec.js\" --recursive --compilers js:babel-register",
713
"test:coverage": "babel-node ./node_modules/.bin/babel-istanbul cover _mocha -- \"src/**/*spec.js\" --recursive --compilers js:babel-register",
814
"test:watch": "npm test -- -w"

0 commit comments

Comments
 (0)