Skip to content

Commit

Permalink
Merge pull request #13 from marpme/master
Browse files Browse the repository at this point in the history
[WIP] Converting to Typescript library for better communication and clean types
  • Loading branch information
justinvforvendetta committed Apr 27, 2018
2 parents e6b1002 + 878aaef commit ad33015
Show file tree
Hide file tree
Showing 20 changed files with 917 additions and 317 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
node_modules
lib
dist
4 changes: 4 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tsconfig.json
src
lib
node_modules
63 changes: 0 additions & 63 deletions lib/commands.js

This file was deleted.

32 changes: 0 additions & 32 deletions lib/errors.js

This file was deleted.

195 changes: 0 additions & 195 deletions lib/verge.js

This file was deleted.

37 changes: 26 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,28 @@
{
"name": "node-verge",
"version": "0.3.9",
"description": "nodejs VERGE client",
"keywords": ["verge"],
"repository": "git://github.com/vergecurrency/node-verge.git",
"author": "VERGE <vergecurrency@hushmail.com>",
"main": "lib/verge.js",
"engines": { "node": ">= 0.4.0" },
"devDependencies": {
"nodeunit": "*"
}
"name": "verge-node-typescript",
"version": "0.0.4",
"description": "NodeJS typescript RPC client for VERGE currency",
"keywords": ["verge"],
"repository": "git://github.com/marpme/verge-node-typescript.git",
"author": "VERGE",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": ">= 8.4.0"
},
"dependencies": {
"@types/node": "^9.6.5",
"global": "^4.3.2",
"typescript": "^2.8.1"
},
"scripts": {
"dist": "tsc",
"watch": "tsc -w",
"start": "tsc && node ./dist/index.js",
"lint": "tslint 'src/**/*.ts'"
},
"devDependencies": {
"codelyzer": "^4.2.1",
"tslint": "^5.9.1"
}
}
Loading

0 comments on commit ad33015

Please sign in to comment.