change imports to npm from local paths

tls
David Kebler 2018-02-17 18:26:17 -08:00
parent 5ada8cd43a
commit 8dd5f05582
4 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@uci/socket",
"version": "0.1.0",
"version": "0.1.1",
"description": "JSON packet intra(named)/inter(TCP) host communication over socket",
"main": "src",
"scripts": {

View File

@ -2,7 +2,9 @@ import { Socket } from 'net'
import btc from 'better-try-catch'
import JsonStream from './json-stream'
import logger from '../../uci-logger/src/logger'
// import logger from '../../uci-logger/src/logger'
import logger from '@uci/logger'
let log = {}
const LOG_OPTS = {
repo:'uci-socket',

View File

@ -1,6 +1,6 @@
import Socket from './socket'
import Consumer from './consumer'
export {Socket as Socket}
export { Socket as Socket }
export { Consumer as Consumer }
export default { Socket, Consumer }

View File

@ -5,7 +5,8 @@ import _ON_DEATH from 'death' //this is intentionally ugly
import JSONStream from './json-stream'
import clone from 'clone'
import logger from '../../uci-logger/src/logger'
// import logger from '../../uci-logger/src/logger'
import logger from '@uci/logger'
let log = {}
const LOG_OPTS = {
repo:'uci-socket',