JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 22
  • Score
    100M100P100Q74818F
  • License MIT

This Sencha ExtJS NPM package contains mock data for development of @conjoon/extjs-app-webmail]

Package Exports

  • @conjoon/extjs-dev-webmailsim

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@conjoon/extjs-dev-webmailsim) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

# @conjoon/extjs-dev-webmailsim

This Sencha ExtJS NPM package contains mock data for development of conjoon/extjs-app-webmail. When using this package, all backend requests of extjs-app-webmail will be replaced with mocks.

Installation

npm install --save-dev @conjoon/extjs-dev-webmailsim  

If you want to develop with this package, run the build:dev-script afterwards:

npm run build:dev

Testing environment will then be available via

npm test

Usage

Simply update the app.json of the conjoon-application by specifying this package in the uses-property in either the development and/or prodution section:

Example:

"development": {
        "uses" : [
            "extjs-app-webmail",
            "extjs-app-imapuser",
            "extjs-dev-webmailsim"
        ]
},
"production": {
        "uses" : [
            "extjs-app-webmail",
            "extjs-app-imapuser"
        ]
}

Notice how in the example above all backend requests made by the extjs-app-webmail package will be intercepted by the backend-mocks of the extjs-dev-webmailsim package when using the development-version.

Dev

Naming

The following naming conventions apply:

Namespace

conjoon.dev.cn_mailsim.*

Package name

extjs-dev-webmailsim

Shorthand to be used with providing aliases

cn_mailsim