Last active
January 6, 2018 11:03
-
-
Save zsims/904dcb7d7fcc2543776740be65b171c0 to your computer and use it in GitHub Desktop.
Reproduction of pact-js missing type definitions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Pact } from "@pact-foundation/pact"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "pact-js-peer-types", | |
"version": "1.0.0", | |
"description": "Reproduction of missing typescript peer types", | |
"private": true, | |
"license": "UNLICENCED", | |
"author": "Zachary Sims", | |
"keywords": [], | |
"dependencies": { | |
}, | |
"devDependencies": { | |
"@pact-foundation/pact": "^5.3.1", | |
"@types/node": "^8.5.7", | |
"typescript": "^2.4.2" | |
}, | |
"scripts": { | |
"pretest": "tsc", | |
"test": "rimraf ./obj && tsc && mocha \"obj/**/*.js\"" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compilerOptions": { | |
"outDir": "./obj", | |
"sourceMap": true, | |
"noImplicitAny": false, | |
"allowJs": false, | |
"module": "commonjs", | |
"moduleResolution": "node", | |
"target": "es6", | |
"experimentalDecorators": false, | |
"types": [ | |
"node" | |
] | |
}, | |
"include": [ | |
"mytest.spec.ts" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment