Using ionic build commands for non-ionic project


I want to use ionic build command to create ionic specific binaries on a non-ionic project. For instance. say I have a repo ng-A and ng-A is not an ionic project. It is an angular or can be a web app. Then I want to run ionic build on ng-A so that I can get binary for ionic in a dist folder for ng-A which can be used later by any user of ng-A to start a hybrid mobile app of ng-A powered using ionic.