Skip to content

TypeScript for SuiteCommerce: Typings and developer tools.

License

Notifications You must be signed in to change notification settings

cancerberoSgx/suitecommerce-types

Repository files navigation

TypeScript for SuiteCommerce.

Write your SuiteCommerce Advanced modules and SuiteCommerce extensions using TypeScript.

  • Supports SCA: gulp deploy, gulp local, gulp unit-test
  • Supports SC Extensions: gulp extension:deploy, gulp extension:local
  • Write latest TypeScript JavaScript language version code, use classes, interfaces, async/await for promises, arrow functions, string templates, etc
  • TypeChecking for views, routers, models, collections, extension components, and high level SCA APIs.
  • Using TSX you can type check your templates too! See sample project
  • Output JS code is clean, no performance impact, and ES5 support

This repository is mostly divided in two parts, projects implementing SuiteCommerce API type descriptions (Typings) and Developer tools to transform TypeScript projects, into SuiteCommerce extensions or SCA modules:

sc-tsc: TypeScript compiler and Developer tools for SuiteCommerce Front-End modules

Special developer tools convert a TS project into a SC / SCA module. See docs in:

Typings projects

TypeScript to SuiteCommerce code transformation and developer tools: https://github.com/cancerberoSgx/suitecommerce-types/tree/master/ts-devtools

SuiteCommerce types, globals, SCA, components:

Code examples:

Backbone module

With views, router, models, collections. Using SC standard technologies like Handlebars, Sass. Supports SCA gulp gulp local and gulp unit-test command:

https://github.com/cancerberoSgx/suitecommerce-types/blob/master/sample-projects/backbone-simple

Using TSX / JSX (react like syntax but no framework) to write view's templates

About

TypeScript for SuiteCommerce: Typings and developer tools.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published