Obtener versión de paquete.json
import {version} from './package.json';
Tired Tapir
import {version} from './package.json';
node -pe "require('./package.json')['version']"