Skip to content

Commit

Permalink
Add files to package.json. (#28)
Browse files Browse the repository at this point in the history
* Add `files` to `package.json`.
* Set `main` to `lib/emoji.js`.
* Fix test.
  • Loading branch information
wtgtybhertgeghgtwtg authored and omnidan committed Dec 2, 2016
1 parent 2a9c94e commit 6b2379d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion index.js

This file was deleted.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"bugs": {
"url": "https://github.com/omnidan/node-emoji/issues"
},
"files": ["lib"],
"dependencies": {
"string.prototype.codepointat": "^0.2.0"
},
Expand All @@ -36,6 +37,6 @@
"test": "./node_modules/.bin/mocha --require should --bail --reporter spec test/*",
"prepublish": "npm run test"
},
"main": "index.js",
"main": "lib/emoji.js",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion test/emoji.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"use strict";

var should = require('should');
var emoji = require('../index');
var emoji = require('../lib/emoji');

describe("emoji.js", function () {
describe("get(emoji)", function () {
Expand Down

0 comments on commit 6b2379d

Please sign in to comment.