From 25966d8d54e0e18df0b336e45cbf8a10ef040f85 Mon Sep 17 00:00:00 2001 From: Maxvien Date: Sat, 1 Aug 2020 19:27:00 +0700 Subject: [PATCH] 2.0.12 --- README.md | 2 +- package.json | 7 ++++--- src/index.ts | 4 ---- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index f648566..06942d3 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ npm install --save supermemo ``` ``` -const supermemo = require('supermemo'); +const { supermemo } = require('supermemo'); ``` ### For Deno diff --git a/package.json b/package.json index f186064..1d2ccf3 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "typescript" ], "author": "Vien Dinh", - "version": "2.0.11", + "version": "2.0.12", "license": "MIT", "main": "dist/index.js", "typings": "dist/index.d.ts", @@ -24,12 +24,13 @@ "prepare": "npm run build", "lint": "tsdx lint" }, - "dependencies": {}, + "dependencies": { + "tslib": "^1.10.0" + }, "devDependencies": { "@types/jest": "^25.1.1", "husky": "^4.2.1", "tsdx": "^0.12.3", - "tslib": "^1.10.0", "typescript": "^3.7.5" }, "husky": { diff --git a/src/index.ts b/src/index.ts index 861520f..e297943 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1 @@ -import { supermemo } from './supermemo'; - -export default supermemo; - export * from './supermemo';