Skip to content

Commit

Permalink
Move connect.ts to src. Move build files to lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitrii Kaledin committed Nov 19, 2018
1 parent 7bd0fb4 commit 8b31093
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "connect-ts-api",
"version": "4.5.1",
"version": "4.6.1",
"main": "lib/connect.js",
"typings": "lib/connect",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion spec/connect.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use strict";
exports.__esModule = true;
var connect_1 = require("../lib/connect");
var connect_1 = require("../src/connect");
describe('Connect ts API test', function () {
var adapter;
var encodeDecode = {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/connect.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {AdapterConnectionStates, IConnectionAdapter, IMessageWithId} from 'connection-adapter';

import {Connect, IMessage, ISendCommand} from '../lib/connect';
import {Connect, IMessage, ISendCommand} from '../src/connect';
import {BehaviorSubject, ReplaySubject} from 'rxjs';
import {isNull, isUndefined} from 'util';

Expand Down
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@
"es2015",
"es2015.promise"
],
"skipLibCheck": true
"skipLibCheck": true,
"outDir": "lib"
},
"include": [
"lib/*"
"src/*"
]
}

0 comments on commit 8b31093

Please sign in to comment.