-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add typings to package.json files (#230)
- Loading branch information
Showing
3 changed files
with
3 additions
and
101 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,9 +22,11 @@ | |
"files": [ | ||
"dist/chai-http.js", | ||
"lib/*.js", | ||
"index.js" | ||
"index.js", | ||
"types/index.d.ts" | ||
], | ||
"main": "./index", | ||
"types": "./types/index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:chaijs/chai-http.git" | ||
|
@@ -34,7 +36,6 @@ | |
"prebuild:js": "rm -rf dist", | ||
"build:js": "simplifyify lib/http.js --outfile dist/chai-http.js --bundle --minify --debug --standalone chaiHttp", | ||
"build:ts": "cd types && tsc", | ||
"postbuild:ts": "cpr types/index.d.ts dist/chai-http.d.ts --overwrite", | ||
"build:readme": "rm -rf README.md && node ./support/readme", | ||
"start": "npm-run-all --parallel watch server", | ||
"watch": "npm run build:js -- --watch", | ||
|
@@ -60,7 +61,6 @@ | |
"devDependencies": { | ||
"chai": "4", | ||
"coveralls": "^3.0.0", | ||
"cpr": "^3.0.1", | ||
"dox": "^0.9.0", | ||
"es6-shim": "^0.35.1", | ||
"http-server": "^0.10.0", | ||
|