@keen.io/query-creator v1.13.3
Query Creator
The Query Creator is an open source point-and-click interface used to create Keen Query structure. It's maintained by the team at Keen IO.
Install
npm install query-creator --saveor
yarn add query-creatorIntegration
<QueryCreator
modalContainer={modalContainer}
projectId={projectId}
readKey={readKey}
masterKey={masterKey}
host={host}
onUpdateQuery={(query) => {}}
onUpdateChartSettings={(chartSettings) => {}}
httpProtocol={httpProtocol}
/>Build
The @keen.io/query-creator use two step build to address issues with CSS specificity.
Typescript
First stage is responsible for transpilation Typescript code to esnext and emiting type declarations.
Babel
Second stage is responsible for code transpilation based on supported browserlist defined in package.json file and increasing styled-components css specificity by using plugins from .babelrc file.
Generator functions transformations are disabled so applications that use this package should take care of it on their own.
Project Setup
prerequisites
- yarn - package manager
node- make sure it's minimum 10.x.x
steps
- checkout repository
- run
yarn- to install project dependencies - create a
config.jsfile (useconfig.template.js) and provideKeencredentials - run application in development mode
yarn start
npm scripts
List of useful commands that could be used by developers. Execution in the command-line interface should be prefixed with yarn package manager.
| Command | Description |
|---|---|
lint | run linter against current application codebase. |
test | run unit tests. |
build | builds application distribution. |
prettier | run code formatter process against current codebase. |
commit
This project uses Conventional Commits to enforce common commit standards.
| Command | Description |
|---|---|
npx git-cz | run commit command line interface. |
2 years ago
4 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago