123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603 |
- {
- "name": "make",
- "namespace": "make",
- "version": "1.0.0.0",
- "framework": "ext",
- "toolkit": "classic",
- "theme": "theme-default",
- /**
- * The list of required packages (with optional versions; default is "latest").
- *
- * For example,
- *
- * "requires": [
- * "charts"
- * ]
- */
- "requires": [
- "exporter",
- "font-awesome",
- "ux",
- "modern-locale",
- "font-saas",
- "app-common"
- ],
- "locale": "zh_CN",
- /**
- * The relative path to the application's markup file (html, jsp, asp, etc.).
- */
- "indexHtmlPath": "index.html",
- /**
- * 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"
- ],
- /**
- * Comma-separated string with the paths of directories or files to search. Any classes
- * declared in these locations will be automatically required and included in the build.
- * If any file defines an Ext JS override (using Ext.define with an "override" property),
- * that override will in fact only be included in the build if the target class specified
- * in the "override" property is also included.
- */
- "overrides": [
- "overrides"
- ],
- /**
- * Fashion build configuration properties.
- */
- "fashion": {
- "missingParameters": "error",
- "inliner": {
- /**
- * Disable resource inliner. Production builds enable this by default.
- */
- "enable": false
- }
- },
- /**
- * 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, "make.view.Foo" would
- * map to "sass/src/view/Foo.scss". If we changed this to "make.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
- * "make.view.Foo" to "sass/src/make/view/Foo.scss".
- */
- "namespace": "make",
- /**
- * Generated sass source settings
- *
- * "generated": {
- * // The file used to save sass variables edited via Sencha Inspector and Sencha Themer.
- * // This file will automatically be applied to the end of the scss build.
- * "var": "sass/save.scss",
- *
- * // The directory used to save generated sass sources.
- * // This directory will automatically be applied to the end of the scss build.
- * "src": "sass/save"
- * }
- *
- */
- "generated": {
- "var": "sass/save.scss",
- "src": "sass/save"
- },
- /**
- * Comma-separated list of files or folders containing extra Sass. These
- * files are automatically included in the Sass compilation. By default this
- * is just "etc/all.scss" to allow import directives to control the order
- * other files are included.
- *
- * All "etc" files are included at the top of the Sass compilation in their
- * dependency order:
- *
- * +-------+---------+
- * | | base |
- * | theme +---------+
- * | | derived |
- * +-------+---------+
- * | packages | (in package dependency order)
- * +-----------------+
- * | application |
- * +-----------------+
- */
- "etc": [
- "sass/etc/all.scss"
- ],
- /**
- * Comma-separated list of folders containing Sass variable definitions
- * files. These file can also define Sass mixins for use by components.
- *
- * All "var" files are included after "etc" files in the Sass compilation in
- * dependency order:
- *
- * +-------+---------+
- * | | base |
- * | theme +---------+
- * | | derived |
- * +-------+---------+
- * | packages | (in package dependency order)
- * +-----------------+
- * | application |
- * +-----------------+
- *
- * The "sass/var/all.scss" file is always included at the start of the var
- * block before any files associated with JavaScript classes.
- */
- "var": [
- "sass/var/all.scss",
- "sass/var"
- ],
- /**
- * Comma-separated list of folders containing Sass rule files.
- *
- * All "src" files are included after "var" files in the Sass compilation in
- * dependency order (the same order as "etc"):
- *
- * +-------+---------+
- * | | base |
- * | theme +---------+
- * | | derived |
- * +-------+---------+
- * | packages | (in package dependency order)
- * +-----------------+
- * | application |
- * +-----------------+
- */
- "src": [
- "sass/src"
- ]
- },
- /**
- * 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": "${framework.dir}/build/ext-all-rtl-debug.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": [
- {
- // this entry uses an ant variable that is the calculated
- // value of the generated output css file for the app,
- // defined in .sencha/app/defaults.properties
- "path": "${build.out.css.path}",
- "bundle": true,
- "exclude": ["fashion"]
- }
- ],
- /**
- * This option is used to configure the dynamic loader. At present these options
- * are supported.
- *
- */
- "loader": {
- // This property controls how the loader manages caching for requests:
- //
- // - true: allows requests to receive cached responses
- // - false: disable cached responses by adding a random "cache buster"
- // - other: a string (such as the build.timestamp shown here) to allow
- // requests to be cached for this build.
- //
- "cache": false,
- // When "cache" is not true, this value is the request parameter used
- // to control caching.
- //
- "cacheParam": "_dc"
- },
- "builds": {
- "dev": {
- "server": {
- "mall": "https://test-mall.uuzcc.cn",
- "basePath": {
- "https": "https://saas-api-test.usoftchina.com:5443",
- "http": "http://127.0.0.1:9000"
- },
- "urlPattern": "^\/api\/",
- "sso": "https://test-sso.uuzcc.cn",
- "ssoLogout": "https://ssorest.uuzcc.cn/api/user/logout?appId=sp&targetUrl={RETURN_URL}",
- "feedbackurl":"https://om.uuzcc.cn/"
- },
- "client": {
- "portal": "https://saas-test.usoftchina.com:5443",
- "cloudCenter": "https://www.uuzcc.cn",
- "accountCenter": "https://account.uuzcc.cn",
- "trade-app": "http://localhost:1841/app-trade",
- "make-app": "http://localhost:1841/app-make"
- }
- },
- "test": {
- "server": {
- "mall": "https://test-mall.uuzcc.cn",
- "basePath": {
- "https": "https://saas-api-test.usoftchina.com:5443",
- "http": "http://10.1.81.61:9000"
- },
- "urlPattern": "^\/api\/",
- "sso": "https://test-sso.uuzcc.cn",
- "ssoLogout": "https://ssorest.uuzcc.cn/api/user/logout?appId=sp&targetUrl={RETURN_URL}",
- "feedbackurl":"https://om.uuzcc.cn/"
- },
- "client": {
- "portal": "https://saas-test.usoftchina.com:5443",
- "cloudCenter": "https://www.uuzcc.cn",
- "accountCenter": "https://account.uuzcc.cn",
- "trade-app": "https://saas-test.usoftchina.com:5443/trade",
- "make-app": "https://saas-test.usoftchina.com:5443/make"
- }
- },
- "tencent-dev": {
- "server": {
- "mall": "https://test-mall.uuzcc.cn",
- "basePath": "https://saas-d-api.usoftchina.com",
- "urlPattern": "^\/api\/",
- "sso": "https://test-sso.uuzcc.cn",
- "ssoLogout": "https://ssorest.uuzcc.cn/api/user/logout?appId=sp&targetUrl={RETURN_URL}",
- "feedbackurl":"https://om.uuzcc.cn/"
- },
- "client": {
- "portal": "https://saas-d.usoftchina.com",
- "cloudCenter": "https://www.uuzcc.cn",
- "accountCenter": "https://account.uuzcc.cn",
- "trade-app": "https://saas-d.usoftchina.com/trade",
- "make-app": "https://saas-d.usoftchina.com/make"
- }
- },
- "tencent-test": {
- "server": {
- "mall": "https://test-mall.uuzcc.cn",
- "basePath": "https://saas-api.uuzcc.cn",
- "urlPattern": "^\/api\/",
- "sso": "https://test-sso.uuzcc.cn",
- "ssoLogout": "https://ssorest.uuzcc.cn/api/user/logout?appId=sp&targetUrl={RETURN_URL}",
- "feedbackurl":"https://om.uuzcc.cn/"
- },
- "client": {
- "portal": "https://saas.uuzcc.cn",
- "cloudCenter": "https://www.uuzcc.cn",
- "accountCenter": "https://account.uuzcc.cn",
- "trade-app": "https://saas.uuzcc.cn/trade",
- "make-app": "https://saas.uuzcc.cn/make"
- }
- },
- "prod": {
- "server": {
- "mall": "https://mall2.usoftchina.com/",
- "basePath": "https://saas-api.usoftchina.com",
- "urlPattern": "^\/api\/",
- "sso": "https://sso.ubtob.com",
- "ssoLogout": "https://ssorest.usoftchina.com/api/user/logout?appId=sp&targetUrl={RETURN_URL}",
- "feedbackurl":"https://om.usoftchina.com/"
- },
- "client": {
- "portal": "https://saas.usoftchina.com",
- "cloudCenter": "https://www.usoftchina.com",
- "accountCenter": "https://sso2.usoftchina.com",
- "trade-app": "https://saas.usoftchina.com/trade",
- "make-app": "https://saas.usoftchina.com/make"
- }
- }
- },
- /**
- * Settings specific to production builds.
- */
- "production": {
- "output": {
- "appCache": {
- "enable": true,
- "path": "cache.appcache"
- }
- },
- "loader": {
- "cache": "${build.timestamp}"
- },
- "cache": {
- "enable": true
- },
- "compressor": {
- "type": "yui"
- }
- },
- /**
- * Settings specific to testing builds.
- */
- "testing": {
- },
- /**
- * Settings specific to development builds.
- */
- "development": {
- "watch": {
- "delay": 250
- }
- },
- /**
- * Controls the output structure of development-mode (bootstrap) artifacts. May
- * be specified by a string:
- *
- * "bootstrap": "${app.dir}"
- *
- * This will adjust the base path for all bootstrap objects, or expanded into object
- * form:
- *
- * "bootstrap": {
- * "base": "${app.dir}",
- * "manifest": "bootstrap.json",
- * "microloader": "bootstrap.js",
- * "css": "bootstrap.css"
- * }
- *
- * You can optionally exclude entries from the manifest. For example, to exclude
- * the "loadOrder" (to help development load approximate a build) you can add:
- *
- * "bootstrap": {
- * "manifest": {
- * "path": "bootstrap.json",
- * "exclude": "loadOrder"
- * }
- * }
- *
- */
- "bootstrap": {
- "base": "${app.dir}",
- "microloader": "bootstrap.js",
- "css": "bootstrap.css"
- },
- /**
- * Controls the output directory for build resources. May be set with
- * either a string:
- *
- * "${workspace.build.dir}/${build.environment}/${app.name}"
- *
- * or an object containing values for various types of build artifacts:
- *
- * {
- * "base": "${workspace.build.dir}/${build.environment}/${app.name}",
- * "page": {
- * "path": "../index.html",
- * "enable": false
- * },
- * "css": "${app.output.resources}/${app.name}-all.css",
- * "js": {
- * "path": "app.js",
- * // This setting constrols the output language level. Set to 'ES6' to
- * // disable the transpiler
- * "version": "ES5"
- * },
- * "microloader": {
- * "path": "microloader.js",
- * "embed": true,
- * "enable": true
- * },
- * "manifest": {
- * "path": "app.json",
- * "embed": false,
- * "enable": "${app.output.microloader.enable}"
- * },
- * "resources": "resources",
- * "slicer": {
- * "path": "${app.output.resources}/images",
- * "enable": false
- * },
- * // Setting the "enable" property of this object to a Truthy value will cause a Application Cache
- * // manifest file to be generated based on this files appCache object. This file will then be injected
- * // into the index.html file of the built application
- * "appCache":{
- * "enable": false"
- * }
- * }
- *
- */
- "output": {
- "base": "${workspace.build.dir}/${build.environment}/${app.name}",
- "appCache": {
- "enable": false
- }
- },
- /**
- * Controls for localStorage caching
- * "cache": {
- * // This property controls whether localStorage caching of this manifest file is on or off.
- * // if disabled no deltas will be generated during a build and full updates will be disabled
- * "enable": false,
- *
- * // This property allows for global toggle of deltas.
- * // If set to a string the value will be used as the path to where deltas will be generated relative to you build.
- * // If set to a Truthy Value the default path ok "deltas" will be used
- * // If set to a Falsey value or if this property is not present deltas will be disabled and not generated.
- *
- * "deltas": "deltas"
- * }
- */
- "cache": {
- "enable": false,
- "deltas": 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 into the resource folder as specified in the "resources"
- * property of the "output" object. Folders specified in this list will be deeply copied.
- */
- "resources": [
- {
- "path": "resources",
- "output": "shared"
- },
- {
- "path": "${workspace.dir}/resources",
- "output": "shared"
- }
- ],
- /**
- * 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": "sass/example/custom.js",
- "isWidgetManifest": true
- }
- ],
- "output": {
- "appCache": {
- "enable": false
- }
- },
- "cache": {
- "enable": false
- }
- },
- /**
- * Build Profiles. This object's properties are each a "build profile". You can
- * add as many as you need to produce optimized builds for devices, themes, locales
- * or other criteria. Your "Ext.beforeLoad" hook (see index.html) is responsible for
- * selecting the desired build profile by setting "Ext.manifest" to one of these
- * names.
- *
- */
- /**
- * File / directory name patttern to ignore when copying to the builds. Must be a
- * valid regular expression.
- */
- "ignore": [
- "(^|/)CVS(/?$|/.*?$)"
- ],
- /**
- * Uniquely generated id for this application, used as prefix for localStorage keys.
- * Normally you should never change this value.
- */
- "id": "bd11d686-8d1c-4d7d-a701-b18cd1826439"
- }
|