Skip to content

Commit

Permalink
another trial
Browse files Browse the repository at this point in the history
  • Loading branch information
izelnakri committed Nov 2, 2017
1 parent d97277e commit a49b239
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
1 change: 1 addition & 0 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export default Model({
}

function openConsole() {
require = require('@std/esm')(module);
const MemServer = require('./lib/index.js');
const repl = require('repl');

Expand Down
1 change: 0 additions & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require('babel-register')({
ignore: false,
presets: ['env']
});

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "memserver",
"version": "0.7.7",
"version": "0.7.8",
"description": "in-memory database/ORM and http mock server you can run in-browser and node environments. Built for large frontend teams, fast tests and rapid prototyping",
"main": "lib/index.js",
"license": "ISC",
Expand All @@ -18,6 +18,7 @@
},
"author": "",
"dependencies": {
"@std/esm": "^0.12.5",
"babel-preset-env": "^1.6.1",
"babel-register": "^6.26.0",
"chalk": "^2.3.0",
Expand Down
20 changes: 12 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# yarn lockfile v1


"@std/esm@^0.12.5":
version "0.12.5"
resolved "https://registry.yarnpkg.com/@std/esm/-/esm-0.12.5.tgz#b38a9bc70462df18a09b16f653141b9ab5557635"

"@types/node@^6.0.46":
version "6.0.90"
resolved "https://registry.yarnpkg.com/@types/node/-/node-6.0.90.tgz#0ed74833fa1b73dcdb9409dcb1c97ec0a8b13b02"
Expand Down Expand Up @@ -717,10 +721,10 @@ browserify-sign@^4.0.0:
parse-asn1 "^5.0.0"

browserslist@^2.1.2:
version "2.6.1"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-2.6.1.tgz#cc65a05ad6131ebda26f076f2822ba1bc826376b"
version "2.7.0"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-2.7.0.tgz#dc375dc70048fec3d989042a35022342902eff00"
dependencies:
caniuse-lite "^1.0.30000755"
caniuse-lite "^1.0.30000757"
electron-to-chromium "^1.3.27"

buffer-es6@^4.9.1, buffer-es6@^4.9.2:
Expand All @@ -739,9 +743,9 @@ bytes@3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048"

caniuse-lite@^1.0.30000755:
version "1.0.30000756"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000756.tgz#3da701c1521b9fab87004c6de7c97fa47dbeaad2"
caniuse-lite@^1.0.30000757:
version "1.0.30000757"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000757.tgz#81e3bc029728a032933501994ef79db1c21159e3"

caseless@~0.12.0:
version "0.12.0"
Expand Down Expand Up @@ -2383,8 +2387,8 @@ sha.js@^2.4.0, sha.js@^2.4.8:
safe-buffer "^5.0.1"

sinon@^4.0.1:
version "4.0.2"
resolved "https://registry.yarnpkg.com/sinon/-/sinon-4.0.2.tgz#c81f62456d37986c84e9f522ddb9ce413bda49d2"
version "4.1.0"
resolved "https://registry.yarnpkg.com/sinon/-/sinon-4.1.0.tgz#cbf7a99165638350019e0faf87658a0c2041c4dc"
dependencies:
diff "^3.1.0"
formatio "1.2.0"
Expand Down

0 comments on commit a49b239

Please sign in to comment.