Obtenha versão do package.json
import {version} from './package.json';
Tired Tapir
import {version} from './package.json';
node -pe "require('./package.json')['version']"