if [ -d "dist" ]; then
  rm -rf dist
fi
npm run format
NODE_OPTIONS="--max-old-space-size=8192" npm run eslint
NODE_OPTIONS="--max-old-space-size=8192" npm run test
NODE_OPTIONS="--max-old-space-size=8192" npm run build