11 lines
116 B
Bash
Executable File
11 lines
116 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cd $(dirname "${0}")
|
|
|
|
if [ ! -f build/index.js ]; then
|
|
npm i
|
|
npm run build
|
|
fi
|
|
|
|
node build/index.js
|