|
11 | 11 | "main": "./build/src/index.js", |
12 | 12 | "types": "./build/src/index.d.ts", |
13 | 13 | "files": [ |
14 | | - "build/proto", |
15 | 14 | "build/protos", |
16 | 15 | "build/src" |
17 | 16 | ], |
|
30 | 29 | "scripts": { |
31 | 30 | "presystem-test": "npm run compile", |
32 | 31 | "system-test": "mocha build/system-test --timeout 600000", |
33 | | - "samples-test": "cd samples/ && npm link ../ && npm test && cd ../", |
34 | | - "test": "c8 mocha build/test/*{,/*}.js", |
35 | | - "lint": "eslint '**/*.js' && gts check", |
| 32 | + "samples-test": "cd samples/ && npm link ../ && npm install && npm test && cd ../", |
| 33 | + "test": "c8 mocha build/test", |
| 34 | + "lint": "gts check", |
36 | 35 | "predocs": "npm run compile", |
37 | 36 | "docs": "jsdoc -c .jsdoc.js", |
38 | | - "fix": "eslint --fix '**/*.js' && gts fix", |
| 37 | + "fix": "gts fix", |
39 | 38 | "clean": "gts clean", |
40 | | - "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", |
41 | | - "prepare": "npm run compile", |
| 39 | + "compile": "tsc -p . && cp -r protos build/", |
| 40 | + "compile-protos": "compileProtos src", |
| 41 | + "prepare": "npm run compile-protos && npm run compile", |
42 | 42 | "pretest": "npm run compile", |
43 | | - "proto": "mkdirp proto && npm run proto:pubsub && npm run proto:iam", |
44 | | - "proto:pubsub": "pbjs -t static-module -w commonjs -p protos google/pubsub/v1/pubsub.proto | pbts -o proto/pubsub.d.ts -", |
45 | | - "proto:iam": "pbjs -t static-module -w commonjs -p protos google/iam/v1/iam_policy.proto | pbts -o proto/iam.d.ts -", |
46 | 43 | "docs-test": "linkinator docs", |
47 | 44 | "predocs-test": "npm run docs", |
48 | 45 | "benchwrapper": "node bin/benchwrapper.js" |
|
58 | 55 | "async-each": "^1.0.1", |
59 | 56 | "extend": "^3.0.2", |
60 | 57 | "google-auth-library": "^6.0.0", |
61 | | - "google-gax": "^1.14.2", |
| 58 | + "google-gax": "^2.0.0", |
62 | 59 | "is-stream-ended": "^0.1.4", |
63 | 60 | "lodash.snakecase": "^4.1.1", |
64 | 61 | "p-defer": "^3.0.0", |
|
72 | 69 | "@types/mocha": "^7.0.0", |
73 | 70 | "@types/mv": "^2.1.0", |
74 | 71 | "@types/ncp": "^2.0.1", |
| 72 | + "@types/node": "^12.12.30", |
75 | 73 | "@types/proxyquire": "^1.3.28", |
76 | 74 | "@types/sinon": "^9.0.0", |
77 | 75 | "@types/tmp": "^0.1.0", |
|
92 | 90 | "mocha": "^7.0.0", |
93 | 91 | "mv": "^2.1.1", |
94 | 92 | "ncp": "^2.0.0", |
| 93 | + "null-loader": "^3.0.0", |
95 | 94 | "prettier": "^1.18.2", |
96 | 95 | "proxyquire": "^2.0.0", |
97 | 96 | "sinon": "^9.0.0", |
98 | 97 | "source-map-support": "^0.5.9", |
| 98 | + "ts-loader": "^6.2.1", |
99 | 99 | "typescript": "3.6.4", |
100 | 100 | "uuid": "^7.0.0", |
| 101 | + "webpack": "^4.42.0", |
| 102 | + "webpack-cli": "^3.3.11", |
101 | 103 | "yargs": "^15.0.0" |
102 | 104 | } |
103 | 105 | } |
0 commit comments