Skip to content

Commit

Permalink
chore: move lib to src
Browse files Browse the repository at this point in the history
  • Loading branch information
inwaar committed Feb 27, 2023
1 parent 5dccb5e commit 88434ee
Show file tree
Hide file tree
Showing 12 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require('./lib/client');
module.exports = require('./src/client');
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"lint": "eslint ./",
"test": "mocha",
"docs": "jsdoc2md -t README.hbs lib/*.js > README.md; echo",
"docs": "jsdoc2md -t README.hbs src/*.js > README.md; echo",
"semantic-release": "semantic-release"
},
"keywords": [],
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions test/client.spec.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
const assert = require('assert');

const { Client } = require('../lib/client');
const { Client } = require('../src/client');
const {
ClientSocketSendError,
ClientNotConnectedError,
ClientConnectTimeoutError,
ClientCancelConnectError,
} = require('../lib/errors');
} = require('../src/errors');

function once(emitter, event) {
return new Promise(resolve => {
Expand Down
2 changes: 1 addition & 1 deletion test/property-transformer.spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const assert = require('assert');
const { PropertyTransformer } = require('../lib/property-transformer');
const { PropertyTransformer } = require('../src/property-transformer');

describe('PropertyTransformer', function () {
describe('#fromVendor()', function () {
Expand Down

0 comments on commit 88434ee

Please sign in to comment.