Skip to content

Commit

Permalink
feat(typescript): ship typescript declaration files (#498)
Browse files Browse the repository at this point in the history
  • Loading branch information
callmehiphop authored Feb 26, 2019
1 parent 4b1cd16 commit 355d8d7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@
"main": "./build/src/index.js",
"types": "./build/src/index.d.ts",
"files": [
"build/proto",
"build/protos",
"build/src",
"!**/*.d.ts",
"!**/*.js.map",
"AUTHORS",
"CONTRIBUTORS",
"LICENSE"
Expand Down Expand Up @@ -42,7 +41,7 @@
"fix": "eslint --fix '**/*.js' && gts fix",
"generate-scaffolding": "repo-tools generate all && repo-tools generate lib_samples_readme -l samples/ --config ../.cloud-repo-tools.json",
"clean": "gts clean",
"compile": "tsc -p . && cp -r src/v1 build/src/ && cp -r protos build/ && cp smoke-test/*.js build/system-test && cp test/*.js build/test",
"compile": "tsc -p . && cp -r src/v1 build/src/ && cp -r protos build/ && cp -r proto build/ && cp smoke-test/*.js build/system-test && cp test/*.js build/test",
"prepare": "npm run compile",
"pretest": "npm run compile",
"proto": "npm run proto:pubsub",
Expand Down

0 comments on commit 355d8d7

Please sign in to comment.