diff --git a/package.json b/package.json index 141922b..28e2095 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,9 @@ "description": "A wrapper to interact with the Murmur API", "license": "GPL-3.0", "repository": "https://github.com/ideal-lab5/murmur.js", - "main": "src/index.ts", + "main": "dist/index.js", "scripts": { + "build": "tsc", "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Ideal Labs ", diff --git a/src/index.ts b/src/index.ts index 6f694a7..5a5af97 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,6 @@ import axios, { AxiosInstance } from "axios"; -class ApiClient { +class MurmurClient { private client: AxiosInstance; constructor(baseURL: string) { @@ -78,4 +78,4 @@ class ApiClient { } } -export default ApiClient; +export default MurmurClient;