File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
packages/google-cloud-monitoring Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 28
28
],
29
29
"scripts" : {
30
30
"docs" : " jsdoc -c .jsdoc.js" ,
31
- "lint" : " gts fix " ,
31
+ "lint" : " gts check " ,
32
32
"samples-test" : " cd samples/ && npm link ../ && npm install && npm test && cd ../" ,
33
33
"system-test" : " mocha build/system-test" ,
34
34
"test" : " c8 mocha build/test" ,
39
39
"clean" : " gts clean" ,
40
40
"compile" : " tsc -p . && cp -r protos build/" ,
41
41
"compile-protos" : " compileProtos src" ,
42
- "prepare" : " npm run compile"
42
+ "prepare" : " npm run compile" ,
43
+ "precompile" : " gts clean"
43
44
},
44
45
"dependencies" : {
45
46
"google-gax" : " ^2.1.0"
Original file line number Diff line number Diff line change 16
16
17
17
import synthtool as s
18
18
import synthtool .gcp as gcp
19
- import subprocess
19
+ import synthtool . languages . node as node
20
20
import logging
21
21
logging .basicConfig (level = logging .DEBUG )
22
22
43
43
templates = common_templates .node_library (source_location = 'build/src' )
44
44
s .copy (templates )
45
45
46
- subprocess .run (["npm" , "install" ])
47
- subprocess .run (["npm" , "run" , "lint" ])
48
- subprocess .run (['npx' , 'compileProtos' , 'src' ])
46
+ node .postprocess_gapic_library ()
You can’t perform that action at this time.
0 commit comments