mirror of https://github.com/186526/handlers.js
Publish v0.1.0
This commit is contained in:
parent
65841ce965
commit
f87ab5366e
|
@ -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
|
||||
```
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue