13 lines
208 B
Bash
Executable File
13 lines
208 B
Bash
Executable File
#!/bin/bash
|
|
set -eou pipefail
|
|
script_dirpath="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
args=${1:-}
|
|
|
|
rm -rf "${script_dirpath}/dist"
|
|
|
|
npm install
|
|
npm run build
|
|
npm publish ${args}
|
|
./remove-ts-ext.sh -r
|