message: stargate: Update npm build scripts
diff: "format-text": "prettier --write --prose-wrap always --print-width 80 \"./*.md\"",
  "lint": "eslint --max-warnings 0 \"**/*.{js,ts}\"",
  "lint-fix": "eslint --max-warnings 0 \"**/*.{js,ts}\" --fix",
  - "move-types": "shx rm -rf ./types/* && shx mv build/types/* ./types && shx rm -rf ./types/testdata ./types/**/*.spec.d.ts \"./types/codec/**/*[!.d].ts\"",
  + "move-types": "shx rm -rf ./types/* && shx mv build/types/* ./types && shx rm -rf ./types/testdata ./types/*.spec.d.ts ./types/*/*.spec.d.ts \"./types/codec/**/*[!.d].ts\"",
  "format-types": "prettier --write --loglevel warn \"./types/**/*.d.ts\"",
  "prebuild": "shx rm -rf ./build",
  "build": "tsc && shx cp -R ./src/codec ./build/ && shx mkdir -p ./build/types/codec && shx cp -R ./src/codec ./build/types/",
  - "postbuild": "shx mkdir -p ./build/types/codec/generated && shx cp ./src/codec/generated/*.d.ts ./build/types/codec/generated && yarn move-types && yarn format-types",
  + "postbuild": "yarn move-types && yarn format-types",
  "build-or-skip": "[ -n \"$SKIP_BUILD\" ] || yarn build",
  "test-node": "node jasmine-testrunner.js",
  "test-firefox": "yarn pack-web && karma start --single-run --browsers Firefox",
  