mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
* chore: prepare and pack scripts * chore: update @types/node dep * chore: remove prepare-dist command from pack-dist
19 lines
266 B
Bash
Executable File
19 lines
266 B
Bash
Executable File
#!/bin/bash
|
|
set -x
|
|
set -e
|
|
|
|
DIST=dist;
|
|
ROOT_DIR=$(cd `dirname $0` && pwd)/..;
|
|
cd "$ROOT_DIR"
|
|
|
|
(
|
|
cd "$DIST/tns-platform-declarations"
|
|
TGZ="$(npm pack)"
|
|
mv "$TGZ" "../$TGZ"
|
|
)
|
|
|
|
(
|
|
cd "$DIST/tns-core-modules"
|
|
TGZ="$(npm pack)"
|
|
mv "$TGZ" "../$TGZ"
|
|
) |