@quickbi/qbi-dev-tools
v1.0.4
Published
Command line tool for developing component for Quick BI
Keywords
Readme
@quickbi/qbi-dev-tools
This is a building tool for Quick BI custom components.
Usage
Install
with npm:
npm i -D qbi-dev-toolswith pnpm:
pnpm add -D qbi-dev-toolswith yarn:
yarn add -D qbi-dev-toolsconfiguration
add a file named qbi.config.ts to your project root directory.
// qbi.config.ts
import { defineConfig } from '@quickbi/qbi-dev-tools';
export default defineConfig({
entry: {
BIComponentMeta: './src/meta.ts',
BIComponent: './src/index.ts',
},
devServer: {
port: 3000,
host: '127.0.0.1',
server: {
type: 'https',
},
},
});
starting dev server
qdt startbuilding the project
qdt buildbundle the project
qdt bundleDebugging
Install the dependencies:
pnpm iBuild the library:
pnpm buildBuild the library in watch mode:
pnpm dev