Flexmonster Software License Agreement (“Agreement”) has been significantly revised and is effective as of September 30, 2024.
The following modifications were made:
The modified version of Flexmonster Software License Agreement is available here.
Downloading, installing, and/or continuing to use Flexmonster Software after September 30, 2024, constitutes Licensee’s acceptance of the terms and conditions of the modified version of Flexmonster Software License Agreement. If Licensee does not agree to any of these terms and conditions, they must cease using Flexmonster Software and must not download, install, use, access, or continue to access Flexmonster Software. By continuing to use Flexmonster Software or renewing the license under License Model or Maintenance after the effective date of any modifications to Agreement, Licensee accepts and agrees to be bound by the terms and conditions of the modified Agreement.
This tutorial will help you integrate Flexmonster with TypeScript.
npm install -g flexmonster-cli
Create the sample project with the following CLI command:
flexmonster create typescript -r
The flexmonster create typescript
command does the following:
.zip
archive with the sample TypeScript project from GitHub.flexmonster-typescript-project/
folder will appear in your working directory.The -r
option, which is short for --run
, completes the following tasks:
package.json
.index.html
file from a browser.When the contents of the main.ts
file are changed, use the following command to recompile main.js
:
tsc main.ts
Create the sample project with the following CLI command:
flexmonster create typescript webpack -r
The flexmonster create typescript webpack
command does the following:
.zip
archive with the sample TypeScript + webpack project from GitHub.flexmonster-typescript-webpack-project/
folder will appear in your working directory.The -r
option, which is short for --run
, completes the following tasks:
package.json
.TypeScript type definitions for Flexmonster can be found inside the node_modules/flexmonster/types/flexmonster.d.ts
file.
To install the flexmonster
npm package to the node_modules/
directory, run the following command inside your project:
flexmonster add js-flexmonster
You may be interested in the following articles: