|
8 | 8 | "node": ">=6.0.0" |
9 | 9 | }, |
10 | 10 | "repository": "googleapis/nodejs-bigtable", |
11 | | - "main": "./src/index.js", |
| 11 | + "main": "build/src/index.js", |
12 | 12 | "files": [ |
13 | | - "protos", |
14 | | - "src", |
15 | | - "AUTHORS", |
16 | | - "CONTRIBUTORS", |
17 | | - "LICENSE" |
| 13 | + "build/protos", |
| 14 | + "build/proto", |
| 15 | + "build/src", |
| 16 | + "!**/*.d.ts", |
| 17 | + "!**/*.map" |
18 | 18 | ], |
19 | 19 | "keywords": [ |
20 | 20 | "google apis client", |
|
29 | 29 | "bigtable" |
30 | 30 | ], |
31 | 31 | "scripts": { |
32 | | - "cover": "nyc --reporter=lcov mocha test/*.js && nyc report", |
33 | 32 | "docs": "jsdoc -c .jsdoc.js", |
34 | 33 | "samples-test": "cd samples/ && npm link ../ && npm test && cd ../", |
35 | | - "test-no-cover": "mocha test/*.js", |
36 | | - "test": "npm run cover", |
| 34 | + "test": "nyc mocha build/test", |
37 | 35 | "generate-scaffolding": "repo-tools generate all && repo-tools generate lib_samples_readme -l samples/ --config ../.cloud-repo-tools.json", |
38 | 36 | "lint": "eslint '**/*.js'", |
39 | | - "system-test": "mocha system-test/*.js --timeout 600000", |
| 37 | + "presystem-test": "npm run compile", |
| 38 | + "system-test": "mocha build/system-test --timeout 600000", |
40 | 39 | "snippet-test": "mocha samples/document-snippets/tests/*.js --timeout 600000", |
41 | 40 | "fix": "eslint --fix '**/*.js'", |
42 | 41 | "docs-test": "linkinator docs -r --skip www.googleapis.com", |
43 | | - "predocs-test": "npm run docs" |
| 42 | + "predocs-test": "npm run docs", |
| 43 | + "clean": "gts clean", |
| 44 | + "compile": "tsc -p . && cp -r src/v2 build/src/ && cp -r proto* build/ && cp test/*.js build/test", |
| 45 | + "prepare": "npm run compile", |
| 46 | + "pretest": "npm run compile", |
| 47 | + "proto": "mkdir -p proto && pbjs -t static-module -w commonjs -p protos google/bigtable/v2/bigtable.proto | pbts -o proto/bigtable.d.ts -" |
44 | 48 | }, |
45 | 49 | "dependencies": { |
46 | 50 | "@google-cloud/common-grpc": "^0.10.0", |
|
67 | 71 | }, |
68 | 72 | "devDependencies": { |
69 | 73 | "@google-cloud/nodejs-repo-tools": "^3.0.0", |
| 74 | + "@types/arrify": "^1.0.4", |
| 75 | + "@types/extend": "^3.0.1", |
| 76 | + "@types/is": "0.0.21", |
| 77 | + "@types/mocha": "^5.2.6", |
| 78 | + "@types/p-queue": "^3.0.0", |
| 79 | + "@types/proxyquire": "^1.3.28", |
| 80 | + "@types/sinon": "^7.0.7", |
| 81 | + "@types/through2": "^2.0.34", |
| 82 | + "@types/uuid": "^3.4.4", |
70 | 83 | "codecov": "^3.0.0", |
71 | 84 | "eslint": "^5.0.0", |
72 | 85 | "eslint-config-prettier": "^4.0.0", |
73 | 86 | "eslint-plugin-node": "^8.0.0", |
74 | 87 | "eslint-plugin-prettier": "^3.0.0", |
75 | | - "jsdoc-baseline": "git+https://github.com/hegemonic/jsdoc-baseline.git", |
| 88 | + "gts": "^0.9.0", |
76 | 89 | "intelli-espower-loader": "^1.0.1", |
77 | 90 | "jsdoc": "^3.5.5", |
| 91 | + "jsdoc-baseline": "git+https://github.com/hegemonic/jsdoc-baseline.git", |
| 92 | + "linkinator": "^1.1.2", |
78 | 93 | "mocha": "^6.0.0", |
79 | 94 | "nyc": "^13.0.0", |
80 | 95 | "p-queue": "^3.0.0", |
81 | 96 | "power-assert": "^1.4.4", |
82 | 97 | "prettier": "^1.7.4", |
83 | 98 | "proxyquire": "^2.0.0", |
84 | 99 | "sinon": "^7.0.0", |
85 | | - "uuid": "^3.0.1", |
86 | | - "linkinator": "^1.1.2" |
| 100 | + "source-map-support": "^0.5.10", |
| 101 | + "typescript": "~3.1.0", |
| 102 | + "uuid": "^3.0.1" |
87 | 103 | } |
88 | 104 | } |
0 commit comments