Skip to content

Commit

Permalink
fix: add typings to package.json files (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
austince authored and keithamus committed Nov 22, 2018
1 parent d0aa54a commit 30b0f73
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 101 deletions.
61 changes: 0 additions & 61 deletions dist/chai-http.d.ts

This file was deleted.

37 changes: 0 additions & 37 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "git@github.com:chaijs/chai-http.git"
Expand All @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit 30b0f73

Please sign in to comment.