Commit 8abb5d77 authored by 0mkar's avatar 0mkar

Add module.d.ts

parent fcaae8cf
...@@ -30,3 +30,8 @@ urlResolver.resolve(fileName, urlHandler) ...@@ -30,3 +30,8 @@ urlResolver.resolve(fileName, urlHandler)
throw e throw e
}) })
``` ```
#### References
* [TypeScript Publishing](http://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html)
* [DefinitelyTyped 'Create a new package' guide](https://github.com/DefinitelyTyped/DefinitelyTyped#create-a-new-package)
...@@ -2,9 +2,10 @@ ...@@ -2,9 +2,10 @@
"name": "remix-url-resolver", "name": "remix-url-resolver",
"version": "0.0.2", "version": "0.0.2",
"description": "Solidity import url resolver engine", "description": "Solidity import url resolver engine",
"main": "./dist/index.js", "main": "dist",
"types": "dist/main.d.ts",
"scripts": { "scripts": {
"build": "tsc", "build": "tsc --declaration",
"lint": "standard", "lint": "standard",
"test": "standard && mocha --require ts-node/register tests/*.ts -t 300000" "test": "standard && mocha --require ts-node/register tests/*.ts -t 300000"
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment