UNPKG

@enjin/ionic1

Version:

A comprehensive build system for Ionic 1 apps by Madness Labs as part of the Madness Enjin

408 lines 11.4 kB
{ "buildDir": "build/", "root": "www/", "mobile": false, "local": true, "debug": true, "version": "1.0.0", "defaultRoute": false, "plugins": [ "ionic" ], "html": { "dir": "html/", "file": "index.html", "srcDir": "app/pug/", "srcFile": "app.pug", "watch": [ "app/pug/**/*.pug", "!app/pug/favicon.pug" ] }, "css": { "dir": "css/", "file": "build.css", "srcDir": "app/scss/", "watch": [ "app/scss/**/*.scss", "!app/scss/libraries.scss", "!app/scss/_variables.scss" ], "vars": { "theme": { "primary": "#0F78B9", "secondary": "#0090ED", "warning": "#EF473A", "dark-gray": "#666666", "light-gray": "#BDBDBD" }, "light": "#ffffff !default", "stable": "#eeeeee !default", "positive": "$theme-primary !default", "calm": "$theme-secondary !default", "balanced": "#17A05E !default", "energized": "#ffc900 !default", "assertive": "$theme-warning !default", "royal": "#886aea !default", "dark": "$theme-dark-gray !default", "ionicons-font-path": "'../fonts' !default", "screen": { "xl": "1500px", "lg": "1200px", "md": "992px", "sm": "768px", "xs": "480px" }, "grid": { "responsive": { "sm-break": "$screen-sm", "md-break": "$screen-md", "lg-break": "$screen-lg" } }, "main-color": "$theme-secondary !default", "icons-font-size": "24px !default" } }, "js": { "dir": "js/", "file": "build.js", "srcDir": "app/ts/", "watch": [ "app/ts/**/*.ts", "!app/ts/router.ts", "!app/ts/app.ts" ] }, "font": { "dir": "fonts/", "copy": ["node_modules/ionic-sdk/release/fonts/**"] }, "img": { "dir": "img/", "srcDir": "resources/", "favicon": "resources/icon.png", "conifg": {}, "watch": [ "resources/**" ] }, "workboxIgnores": [ "js/build.js", "css/build.css" ], "deploy": { "type": "ssh" }, "commands": { "add": { "subcommands": { "controller": { "description": "Adding controller to your project", "questions": [{ "type": "input", "message": "What is the name of the controller?", "name": "name", "alias": "n" }, { "type": "input", "message": "What dependencies need to be injected? (Comma Separated List)", "name": "dependencies", "alias": "d" }] }, "directive": { "description": "Adding directive to your project", "questions": [{ "type": "input", "message": "What is the name of the directive?", "name": "name", "alias": "n" }, { "type": "input", "message": "What attributes will you be binding? (Comma separated)", "name": "attrs", "alias": "a" }] }, "filter": { "description": "Adding filter to your project", "questions": [{ "type": "input", "message": "What is the name of the filter?", "name": "name", "alias": "n" }] }, "modal": { "description": "Adding modal to your project", "questions": [{ "type": "input", "message": "What is the name of the modal?", "name": "name", "alias": "n" }] }, "model": { "description": "Adding a model to your project", "questions": [{ "type": "input", "message": "What is the name of the model?", "name": "name", "alias": "n" }] }, "page": { "description": "Adding page to your project", "questions": [{ "type": "input", "message": "What is the name of the page?", "name": "name", "alias": "n" }, { "type": "input", "message": "What resolves will the page need?", "name": "resolves", "alias": "r" }] }, "popover": { "description": "Adding popover to your project", "questions": [{ "type": "input", "message": "What is the name of the popover?", "name": "name", "alias": "n" }] }, "resolver": { "description": "Adding a resolver to your project", "questions": [{ "type": "input", "message": "What is the name of the resolver?", "name": "name", "alias": "n" }, { "type": "input", "message": "What do you need to resolve? (Comma Separated List)", "name": "resolves", "alias": "n" }] }, "route": { "description": "Adding a route to your project", "questions": [{ "type": "input", "message": "What is the state name?", "name": "name", "alias": "n" },{ "type": "input", "message": "What is the url? ( Beginning with / )", "name": "url", "alias": "u" },{ "type": "input", "message": "What is the path to the template?", "name": "template", "alias": "t" },{ "type": "input", "message": "What is the name of the controller?", "name": "controller", "alias": "c" },{ "type": "input", "message": "What is the name of the resolver?", "name": "resolver", "alias": "r" }] }, "service": { "description": "Adding a service to your project", "questions": [{ "type": "input", "message": "What is the name of the service?", "name": "name", "alias": "n" }] }, "state": { "description": "Adding a state to your project", "questions": [{ "type": "input", "message": "What is the name of the state?", "name": "name", "alias": "n" }, { "type": "input", "message": "What is the name of the view?", "name": "view", "default": "tab", "alias": "v" }, { "type": "input", "message": "What are the resolves needed? (Comma Separated List)", "name": "resolves", "alias": "r" }] } } }, "build": { "include": true, "subcommands": { "clean": {}, "config": {}, "css": {}, "js": {}, "html": {}, "watch": {} } }, "css": { "subcommands": { "compile": {}, "concat": {}, "config": {}, "import": {}, "libraries": {}, "minify": {} } }, "default": {"direct": true}, "deploy": {}, "favicons": {}, "fonts": {}, "git": { "subcommands": { "reset": {} } }, "html": { "subcommands": { "compile": {}, "inject": {}, "inline": {} } }, "images": {}, "js": { "subcommands": { "app": {}, "compile": {}, "concat": {}, "config": {}, "copy": {}, "minify": {}, "router": {} } }, "stencil": {}, "sync": {}, "remove": { "subcommands": { "controller": { "description": "Removing controller from your project", "questions": [{ "type": "input", "message": "What is the name of the controller you would like to remove?", "name": "name", "alias": "n" }] }, "directive": { "description": "Removing directive from your project", "questions": [{ "type": "input", "message": "What is the name of the directive you would like to remove?", "name": "name", "alias": "n" }] }, "filter": { "description": "Removing filter from your project", "questions": [{ "type": "input", "message": "What is the name of the filter you would like to remove?", "name": "name", "alias": "n" }] }, "modal": { "description": "Removing modal from your project", "questions": [{ "type": "input", "message": "What is the name of the modal you would like to remove?", "name": "name", "alias": "n" }] }, "model": { "description": "Removing model from your project", "questions": [{ "type": "input", "message": "What is the name of the model you would like to remove?", "name": "name", "alias": "n" }] }, "page": { "description": "Removing page from your project", "questions": [{ "type": "input", "message": "What is the name of the page you would like to remove?", "name": "name", "alias": "n" }] }, "popover": { "description": "Removing popover from your project", "questions": [{ "type": "input", "message": "What is the name of the popover you would like to remove?", "name": "name", "alias": "n" }] }, "resolver": { "description": "Removing resolver from your project", "questions": [{ "type": "input", "message": "What is the name of the resolver you would like to remove?", "name": "name", "alias": "n" }] }, "route": { "description": "Removing route from your project", "questions": [{ "type": "input", "message": "What is the name of the route you would like to remove?", "name": "name", "alias": "n" }] }, "service": { "description": "Removing service from your project", "questions": [{ "type": "input", "message": "What is the name of the service you would like to remove?", "name": "name", "alias": "n" }] }, "state": { "description": "Removing state from your project", "questions": [{ "type": "input", "message": "What is the name of the state you would like to remove?", "name": "name", "alias": "n" }] } } }, "workbox": {} } }