|
8 | 8 | "node": ">=6.0.0" |
9 | 9 | }, |
10 | 10 | "repository": "googleapis/nodejs-logging", |
11 | | - "main": "./src/index.js", |
| 11 | + "main": "./build/src/index.js", |
12 | 12 | "files": [ |
13 | | - "protos", |
14 | | - "src", |
| 13 | + "build", |
15 | 14 | "AUTHORS", |
16 | 15 | "CONTRIBUTORS", |
17 | 16 | "LICENSE" |
|
51 | 50 | "greenkeeper[bot] <greenkeeper[bot]@users.noreply.github.com>" |
52 | 51 | ], |
53 | 52 | "scripts": { |
54 | | - "cover": "nyc --reporter=lcov mocha test/*.js && nyc report", |
55 | | - "test-no-cover": "mocha test/*.js", |
| 53 | + "cover": "nyc --reporter=lcov mocha build/test/*.js && nyc report", |
| 54 | + "test-no-cover": "mocha build/test/*.js", |
56 | 55 | "test": "npm run cover", |
57 | 56 | "docs": "jsdoc -c .jsdoc.js", |
58 | 57 | "prettier": "prettier --write src/*.js src/**/*.js test/*.js test/**/*.js samples/*.js samples/**/*.js system-test/*.js system-test/**/*.js", |
59 | 58 | "publish-module": "node ../../scripts/publish.js logging", |
60 | | - "system-test": "mocha system-test/*.js --timeout 600000", |
| 59 | + "system-test": "mocha build/system-test/*.js --timeout 600000", |
61 | 60 | "samples-test": "cd samples/ && npm test && cd ../", |
62 | 61 | "generate-scaffolding": "repo-tools generate all && repo-tools generate lib_samples_readme -l samples/ --config ../.cloud-repo-tools.json", |
63 | | - "lint": "eslint src/ samples/ system-test/ test/" |
| 62 | + "lint": "eslint samples/", |
| 63 | + "check": "echo \"gts check disabled until ts migration is complete\"", |
| 64 | + "clean": "gts clean", |
| 65 | + "compile": "tsc -p . && cp src/v2/*.json build/src/v2 && cp -r protos build", |
| 66 | + "fix": "gts fix", |
| 67 | + "prepare": "npm run compile", |
| 68 | + "pretest": "npm run compile", |
| 69 | + "posttest": "npm run check" |
64 | 70 | }, |
65 | 71 | "dependencies": { |
66 | 72 | "@google-cloud/common-grpc": "^0.9.0", |
|
105 | 111 | "prettier": "^1.14.2", |
106 | 112 | "propprop": "^0.3.1", |
107 | 113 | "proxyquire": "^2.1.0", |
108 | | - "uuid": "^3.3.2" |
| 114 | + "uuid": "^3.3.2", |
| 115 | + "gts": "^0.8.0", |
| 116 | + "typescript": "~3.1.0" |
109 | 117 | } |
110 | 118 | } |
0 commit comments