Skip to content

Commit

Permalink
declaration file
Browse files Browse the repository at this point in the history
  • Loading branch information
Woonchan Cho committed May 11, 2022
1 parent 199c5a2 commit 0c7824b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules/
.DS_Store
yarn-error.log
test.js
3 changes: 3 additions & 0 deletions main.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default class JsXnat {
constructor(authMothod: string, basePath: string, options: any = {});
}
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jsxnat",
"description": "An isomorphic XNAT API Wrapper for JavaScript",
"version": "0.1.3-development",
"version": "1.1.1",
"homepage": "https://github.com/WoonchanCho/jsxnat/#readme",
"license": "MIT",
"keywords": [
Expand All @@ -13,6 +13,7 @@
"module": "dist/node/jsxnat.module.js",
"unpkg": "dist/node/jsxnat.umd.js",
"browser": "dist/web/jsxnat.umd.js",
"typings": "main.d.ts",
"scripts": {
"dev": "nodemon -r esm src/dev.js",
"build": "yarn build:web && yarn build:node && yarn build:docs",
Expand Down Expand Up @@ -53,6 +54,8 @@
"url": "https://github.com/WoonchanCho/jsxnat.git"
},
"release": {
"branches": ["master"]
"branches": [
"master"
]
}
}

0 comments on commit 0c7824b

Please sign in to comment.