Skip to content

Commit 8998f69

Browse files
committed
Add package entrypoint
1 parent 1612959 commit 8998f69

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

package.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,22 @@
11
{
22
"name": "rails-fetch",
3-
"version": "0.0.1",
4-
"description": "A tiny Fetch API wrapper to allow you make http requests without need to handle to send the CSRF Token on every request",
5-
"main": "index.js",
3+
"version": "0.0.0",
4+
"description": "A tiny Fetch API wrapper that allows you to make http requests without need to handle to send the CSRF Token on every request",
5+
"main": "./src/index.js",
6+
"module": "./src/index.js",
67
"repository": "https://github.com/marcelolx/rails-fetch.git",
78
"author": "Marcelo Lauxen <marcelolauxen16@gmail.com>",
89
"license": "MIT",
910
"private": false,
11+
"keywords": [
12+
"rails",
13+
"fetch",
14+
"browser",
15+
"fetch api"
16+
],
17+
"bugs": {
18+
"url": "https://github.com/marcelolx/rails-fetch/issues"
19+
},
1020
"scripts": {
1121
"lint": "standard src"
1222
},

src/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import './request'
2+
import './response'

0 commit comments

Comments
 (0)