Skip to content

Commit

Permalink
[feat] - adding npmignore and adjusting package.json and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
JooLuiz committed Jul 5, 2024
1 parent 7beeb21 commit b7686fd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ tests/
*.spec.ts

# Pastas e arquivos de build
dist/
build/
lib/
*.log
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Simpler
# Simpler Server

![Node.js](https://img.shields.io/badge/Node.js-v14.17.3-green)
![License](https://img.shields.io/badge/license-MIT-blue)
Expand All @@ -10,7 +10,7 @@ Simpler is a lightweight, customizable Node.js server framework. It allows you t
To install Simpler, you can use npm:

```bash
npm install simpler
npm install simpler-server
```

## Usage
Expand All @@ -20,7 +20,7 @@ npm install simpler
You can create an instance of Simpler by importing it and optionally enabling verbose logging:

```typescript
import Simpler from "simpler";
import Simpler from "simpler-server";

const simpler = new Simpler(true); // Enable verbose logging
```
Expand Down Expand Up @@ -133,7 +133,7 @@ Here is an example of a full setup using Simpler:

```typescript
import { readFile } from "fs";
import Simpler from "simpler";
import Simpler from "simpler-server";
import path from "path";

const simpler = new Simpler(true);
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simpler",
"version": "0.1.0",
"name": "simpler-server",
"version": "0.1.1",
"description": "Simpler is a simple Node.js server, designed to rapidly provide a base to start your server projects.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit b7686fd

Please sign in to comment.