stargate: Update scripts to add type definitions back into VCS
This commit is contained in:
parent
084affebc8
commit
8f3d317855
3
packages/stargate/.gitignore
vendored
3
packages/stargate/.gitignore
vendored
@ -1,4 +1,5 @@
|
||||
build/
|
||||
build/**/*.js
|
||||
build/**/*.js.map
|
||||
dist/
|
||||
docs/
|
||||
|
||||
|
||||
@ -28,11 +28,11 @@
|
||||
"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/*/*.spec.d.ts \"./types/codec/**/*[!.d].ts\"",
|
||||
"remove-test-types": "shx rm -rf build/*.spec.d.ts build/*/*.spec.d.ts",
|
||||
"format-types": "prettier --write --loglevel warn \"./build/**/*.d.ts\"",
|
||||
"prebuild": "shx rm -rf ./build",
|
||||
"build": "tsc",
|
||||
"postbuild": "yarn format-types",
|
||||
"postbuild": "yarn remove-test-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",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user