We propose a scheme for generating squeezed states in solid state circuits which consist a superconducting transmission line resonator (STLR), a superconducting Cooper-pair box (CPB) and a nanoelectromechanical resonator (NMR). The nonlinear interaction between the STLR