Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @rdlabo/ionic-sub with all npm packages installed. Try it out:

var ionicSub = require("@rdlabo/ionic-sub")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@rdlabo/ionic-sub v0.4.2

operate ionic project

oclif Donate Build Status npm version MIT License

Ionic-sub CLI

This is private command line interface (CLI) for support Ionic CLI. This CLI support for developing Ionic Framework Project.


$ npm i @rdlabo/ionic-sub -g
  • The corresponding version of nodejs is version 8 or higher!


Just run the command!


$ ionic-sub set all
$ ionic-sub set lint
$ ionic-sub set formatter
$ ionic-sub set alias

set all

This command run all set environment. it's recommended;

set lint

This command rewrite tslint.json base of Angular 6.

set formatter

This command set formatter. Import prettier and set package.json.

set alias

You can use @ alias. @ connect src folder. so you can write.

import { HomePage } from '../pages/home/home';
import { HomePage } from '@/pages/home/home';
import { Example } from '../../providers/example/example';
import { HomePage } from '@/providers/example/example';

And you can use environment file. This change --prod or none. (This is ionic-angular(v3) only. angular(v4) have default environment file)

import { environment } from '@app/environment';


Environment file create src/environments. If you add command --prod, environment is environment/ Or nothing, environment is environment/

beta: set mount

This command is angular(v4) only. Add this development file.

  • src/app/components/components.module.ts
  • src/app/directives/directives.module.ts
  • src/app/pipes/pipes.module.ts
  • src/interfaces/index.ts


$ ionic-sub server netlify -d

server netlify

This command create Netlify's build file. This file auto set this.

  1. create robot.txt.
  2. create _redirects for redirect to www.
  3. create _headers for ServerPush.
  4. change styles inline. (v4 only)

You should add Build command node in Netlify's deploy setting.




If this project help you reduce time to develop, you can give me a cup of coffee :)



I'm waiting for you at any time, including code reviews, bug reports, feature additions, questions and more!

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free