diff --git a/README.md b/README.md index 4502ed9..fed365a 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ > Handlers.js is a unified and lightweight web application framework for multiple platforms. ```ts -import handlerJS from "./"; +import handlerJS from "handlers.js"; const App = new handlerJS(); @@ -20,7 +20,7 @@ App.listen(8080); ```bash # Use Yarn -yarn add sw2express +yarn add handlers.js # Use NPM -npm install sw2express +npm install handlers.js ``` diff --git a/package.json b/package.json index 627162e..0627157 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,11 @@ { "name": "handlers.js", "description": "Handlers.js is a unified and lightweight web application framework for multiple platforms.", - "version": "0.0.1", - "main": "./dit/main.node.js", + "version": "0.1.0", + "main": "./dist/main.node.js", "webpack": "./dist/index.js", "browser": "./dist/main.serviceworker.js", + "module": "./dist/index.js", "files": [ "dist", "LICENSE"