0.4.0-alpha.13 • Published 2 years ago
@atom-iq/cli v0.4.0-alpha.13
Atom-iQ iQ CLI
@atom-iq/cli
The main build & development tool for Atom-iQ
Installing
- npm -
npm install --save-dev @atom-iq/cli
/npm install -G @atom-iq/cli
- yarn -
yarn add -D @atom-iq/cli
/yarn global add @atom-iq/cli
It could run without a config or with (recommended) config file:
iq.cli.json
/.iq.cli.json
iq.cli.js
/.iq.cli.js
Config file interface
interface IQCliConfig {
entryFile: string // main application file - default './src/index.tsx'
stylesType: 'css' | 'scss' | 'sass' // stylesheets extensions - default 'scss'
typescript: boolean // using typescript - default true
htmlTemplate: string // html template - compiler generate main app html file based on this template - default `./public/index.html`
environments: {
development: EnvironmentConfig // DEV environment config
production: EnvironmentConfig // PROD environment config
[key: string]: EnvironmentConfig // Custom environment config
}
}
interface EnvironmentConfig {
outputDirectory?: string; // default './dist' for production, null for development
appBaseUrl?: string // default '/'
}
Commands
iq start [-p --port <port>]
- compile the app in development mode, run development server and watch for file changes. Optionally port can be specified, default is7777
iq build [-e --env <environment>]
- compile the app in production mode (default) and save the output in a directory specified in a config (/dist
is default for production environment). Optionally other environment can be specified.
0.4.0-alpha.1
2 years ago
0.4.0-alpha.11
2 years ago
0.4.0-alpha.12
2 years ago
0.4.0-alpha.13
2 years ago
0.4.0-alpha.8
2 years ago
0.4.0-alpha.5
2 years ago
0.3.1
2 years ago
0.3.0-alpha
2 years ago
0.3.4
2 years ago
0.3.0-alpha.0
2 years ago
0.2.0-alpha.4
3 years ago
0.2.0-alpha.3
3 years ago
0.2.0-alpha.5
3 years ago
0.2.0-alph.4
3 years ago
0.2.0-alpha.2
3 years ago
0.2.0-alpha
4 years ago
0.1.0
4 years ago
0.1.0-beta.0
4 years ago
0.1.0-alpha.9
4 years ago
0.1.0-alpha.7
4 years ago
0.1.0-alpha.8
4 years ago
0.1.0-alpha.6
4 years ago
0.1.0-alpha.5
4 years ago
0.1.0-alpha.4
4 years ago
0.1.0-alpha.3
4 years ago
0.1.0-alpha.2
4 years ago