Unverified Commit c726b3be authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #1117 from ethereum/urlResolverDeclaration

Add module declaration
parents fcaae8cf f9c6f590
......@@ -30,3 +30,8 @@ urlResolver.resolve(fileName, urlHandler)
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,7 +2,8 @@
"name": "remix-url-resolver",
"version": "0.0.2",
"description": "Solidity import url resolver engine",
"main": "./dist/index.js",
"main": "dist",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"lint": "standard",
......
......@@ -5,7 +5,7 @@
"baseUrl": "./src",
"outDir": "./dist",
"sourceMap": true,
"declaration": false,
"declaration": true,
"module": "commonjs",
"strict": true,
"noImplicitAny": false,
......
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