How to upload files to nexus (Type: Hosted and File: Raw)?

I am trying to upload npm artifact from my computer to nexus server. I successfully uploaded a file to repository (Type: hosted, File: npm). But using same command of npm publish I am unable to upload same file to repository (Type: hosted, File: raw).

Also, I am not sure where and how to structure the folder hierarchy. I am using this command to upload file to Nexus server: npm publish --registry http://xx.xx.xx.xx:8081/repository/hello-world/

The result that I want in Nexus dashboard is

- ProjectName
  - component-version (Eg: 1.1.0)
  - component-version (Eg: 1.2.0)