Skip to content
This repository has been archived by the owner on Nov 27, 2019. It is now read-only.

Commit

Permalink
feat(ts): add definition files to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
kenshyx committed Sep 26, 2016
1 parent b9ef02e commit 35c1c20
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 7 deletions.
1 change: 1 addition & 0 deletions .npmignore
@@ -1,5 +1,6 @@
typings
*.ts
!*.d.ts
.idea
coverage
tests
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -3,6 +3,7 @@ node_js:
- "6.3"
before_script:
- tsc -p tsconfig.json
- tsc -p tests/tsconfig.json
after_script:
- npm run coveralls
env:
Expand Down
14 changes: 7 additions & 7 deletions package.json
Expand Up @@ -31,18 +31,18 @@
},
"homepage": "https://github.com/AkashaProject/geth-connector#readme",
"dependencies": {
"@types/bluebird": "3.0.33",
"@types/chai": "3.4.33",
"@types/debug": "0.0.29",
"@types/mocha": "2.2.32",
"@types/node": "6.0.41",
"@types/rimraf": "0.0.28",
"@types/sinon": "1.16.31",
"bin-wrapper": "3.0.2",
"bluebird": "3.4.6",
"web3": "0.17.0-beta"
},
"devDependencies": {
"@types/bluebird": "^3.0.33",
"@types/chai": "^3.4.33",
"@types/debug": "0.0.29",
"@types/mocha": "^2.2.32",
"@types/node": "^6.0.41",
"@types/rimraf": "0.0.28",
"@types/sinon": "^1.16.31",
"chai": "3.5.0",
"coveralls": "2.11.14",
"ethereumjs-testrpc": "2.2.7",
Expand Down
12 changes: 12 additions & 0 deletions tests/tsconfig.json
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"noImplicitAny": true,
"removeComments": true,
"moduleResolution": "node",
"noLib": false,
"preserveConstEnums": true,
"suppressImplicitAnyIndexErrors": true
}
}

0 comments on commit 35c1c20

Please sign in to comment.