UNPKG

extjs-gpl

Version:

GPL licensed version of Sencha Ext JS

269 lines (247 loc) 8.35 kB
{ /** * The application's namespace. */ "name": "ResponsiveApp", /** * Comma-separated string with the paths of directories or files to search. Any classes * declared in these locations will be available in your class "requires" or in calls * to "Ext.require". The "app.dir" variable below is expanded to the path where the * application resides (the same folder in which this file is located). */ "classpath": "${app.dir}/app", /** * The Sencha Framework for this application: "ext" or "touch". */ "framework": "ext", "toolkit": "classic", /** * The name of the theme for this application. */ "theme": "theme-crisp-touch", /** * The list of required packages (with optional versions; default is "latest"). * * For example, * * "requires": [ * "charts" * ] */ "requires": [ ], /** * Sass configuration properties. */ "sass": { /** * The root namespace to use when mapping *.scss files to classes in the * sass/src and sass/var directories. For example, "ResponsiveApp.view.Foo" would * map to "sass/src/view/Foo.scss". If we changed this to "ResponsiveApp.view" then * it would map to "sass/src/Foo.scss". To style classes outside the app's * root namespace, change this to "". Doing so would change the mapping of * "ResponsiveApp.view.Foo" to "sass/src/ResponsiveApp/view/Foo.scss". */ "namespace": "ResponsiveApp" }, /** * The file path to this application's front HTML document. This is relative * to this app.json file. */ "indexHtmlPath": "index.html", /** * The absolute URL to this application in development environment, i.e: the URL to run * this application on your web browser, e.g: "http://localhost/ResponsiveApp/index.html". * * This value is needed when build to resolve your application's dependencies if it * requires server-side resources. This setting is only used if you enable dynamic * resolution by setting "skip.resolve=0" (in .sencha/app/sencha.cfg) or if you * invoke "sencha app resolve". */ "url": null, /** * List of all JavaScript assets in the right execution order. * * Each item is an object with the following format: * * { * // Path to file. If the file is local this must be a relative path from * // this app.json file. * // * "path": "path/to/script.js", // REQUIRED * * // Set to true on one file to indicate that it should become the container * // for the concatenated classes. * // * "bundle": false, // OPTIONAL * * // Set to true to include this file in the concatenated classes. * // * "includeInBundle": false, // OPTIONAL * * // Specify as true if this file is remote and should not be copied into the * // build folder. Defaults to false for a local file which will be copied. * // * "remote": false, // OPTIONAL * * // If not specified, this file will only be loaded once, and cached inside * // localStorage until this value is changed. You can specify: * // * // - "delta" to enable over-the-air delta update for this file * // - "full" means full update will be made when this file changes * // * "update": "", // OPTIONAL * * // A value of true indicates that is a development mode only dependency. * // These files will not be copied into the build directory or referenced * // in the generate app.json manifest for the micro loader. * // * "bootstrap": false // OPTIONAL * } */ "js": [ { "path": "app.js", "bundle": true } ], /** * List of all CSS assets in the right inclusion order. * * Each item is an object with the following format: * * { * // Path to file. If the file is local this must be a relative path from * // this app.json file. * // * "path": "path/to/stylesheet.css", // REQUIRED * * // Specify as true if this file is remote and should not be copied into the * // build folder. Defaults to false for a local file which will be copied. * // * "remote": false, // OPTIONAL * * // If not specified, this file will only be loaded once, and cached inside * // localStorage until this value is changed. You can specify: * // * // - "delta" to enable over-the-air delta update for this file * // - "full" means full update will be made when this file changes * // * "update": "" // OPTIONAL * } */ "css": [ { "path": "bootstrap.css", "bootstrap": true } ], /** * Used to automatically generate cache.manifest (HTML 5 application cache manifest) file when you build */ "appCache": { /** * List of items in the CACHE MANIFEST section */ "cache": [ "index.html" ], /** * List of items in the NETWORK section */ "network": [ "*" ], /** * List of items in the FALLBACK section */ "fallback": [] }, /** * Extra resources to be copied along when build */ "resources": [ { "path": "resources" } ], /** * File / directory name matchers to ignore when copying to the builds, must be valid regular expressions */ "ignore": [ "^\\.svn$", "^\\.git$" ], /** * Directory path to store all previous production builds. Note that the content generated inside this directory * must be kept intact for proper generation of deltas between updates */ "archivePath": "archive", /** * Additional resources used during theme slicing operations */ "slicer": { "js": [ { "path": "${app.dir}/sass/example/custom.js", "isWidgetManifest": true } ] }, /** * override objects for setting build environment specific * settings. */ "production": { }, "testing": { }, "development": { }, /** * Controls the name of the manifest file used by the microloader for * dev and build modes */ "manifest": { "name": "app.json", "bootstrap": "bootstrap.json" }, /** * Controls the output directory for build resources. May be set with * either a string: * * outputDir: "" * * or an object containing 5 possible values for various types of * build artifacts: * * outputDir: { * // this is the base of the output directory. all other paths * // are relative to this * base: "" * * // output dir for the index.html and manifest.json files. * // defaults to base * page:".", * * // output dir for compile js files. * // defaults to base * js: ".", * * // output dir for compiled app css content. * // defaults to "resources" under the base location * css: "./resources", * * // output dir for all other page resources (images, etc.) * // defaults to the css location * resources: "" * } * */ "output": "${ext.dir}/build/examples/classic/responsive-app", /** * Uniquely generated id for this application, used as prefix for localStorage keys. * Normally you should never change this value. */ "id": "94470794-59b3-441d-b6af-53bed3ff2f60" }