Skip to content

Commit

Permalink
Change entry-point script.
Browse files Browse the repository at this point in the history
Move main entrypoint into `lib/`, this makes it easier to filter with
`files` in `package.json` without worrying about accidentally missing
files when they are added.
  • Loading branch information
rwjblue committed Oct 8, 2019
1 parent 00616ce commit 8b732e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"license": "MIT",
"author": "Robert Jackson",
"files": [
"index.js"
"lib"
],
"main": "index.js",
"main": "lib/index.js",
"scripts": {
"changelog": "lerna-changelog",
"lint:js": "eslint .",
Expand Down
2 changes: 1 addition & 1 deletion tests/inject-live-reload-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const it = QUnit.test;
const express = require('express');
const http = require('http');

const InjectLiveReload = require('../index');
const InjectLiveReload = require('../lib/index');
process.env = {
EMBER_CLI_INJECT_LIVE_RELOAD_BASEURL : 'test/',
EMBER_CLI_INJECT_LIVE_RELOAD_PORT: 4200
Expand Down

0 comments on commit 8b732e0

Please sign in to comment.