Skip to content

Commit

Permalink
chore: update npm scripts and synth.py (#163)
Browse files Browse the repository at this point in the history
Update npm scripts: add clean, prelint, prefix; make sure that lint and fix are set properly. Use post-process feature of synthtool.
  • Loading branch information
alexander-fenster committed Apr 24, 2020
1 parent 2373a7c commit f7e279e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -19,7 +19,8 @@
"predocs-test": "npm run docs",
"docs-test": "linkinator docs",
"samples-test": "echo no sample tests!",
"system-test": "echo no system tests!"
"system-test": "echo no system tests!",
"precompile": "gts clean"
},
"files": [
"build/src"
Expand Down
3 changes: 3 additions & 0 deletions synth.py
@@ -1,5 +1,6 @@
import synthtool as s
import synthtool.gcp as gcp
import synthtool.languages.node as node
import logging
logging.basicConfig(level=logging.DEBUG)

Expand All @@ -8,3 +9,5 @@
common_templates = gcp.CommonTemplates()
templates = common_templates.node_library()
s.copy(templates)
node.install()
node.fix()

0 comments on commit f7e279e

Please sign in to comment.