0.0.6 • Published 5 years ago

vai v0.0.6

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

vai

vai is a toolkit for building web applications with React. Helps you deal with everything, and you can focus on business logic.

Setup

# 1. Create an empty folder, install vai locally.
$ npm i vai
# 2. Init project files.
$ npx vai init

# Start dev server
$ npm start

# Build
$ npm run build

# Test
$ npm test

# Preview of production environment
$ npm run preview

# See bundle size analyse
$ npm run analyse

# Bundle to one file
$ npm run bundle

# Start docs server
$ npm run docs

# Format all sources code
$ npm run format

File Structure

.
├── .temp                     # Gitignored. Temporary file folder.
├── coverage                  # Gitignored. Code coverage folder.
├── dist                      # Gitignored. Dist folder, auto generated by `npm run build`. Can be changed by `distDir` in config.
├── tests                     # Tests folder.
├── src                       # Source files folder.
│   ├── pages                 # Page files.
│   ├── layouts               # Layout files.
│   ├── components            # Component files.
│   └── utils                 # Util files.
│── vai.config.ts             # Config file.
└── ...other-files            # Auto generated by `npx vai init`.

Inspired

Q&A

@babel/core@babel/plugin-proposal-class-properties@babel/plugin-proposal-decorators@babel/plugin-proposal-export-namespace-from@babel/plugin-proposal-function-sent@babel/plugin-proposal-json-strings@babel/plugin-proposal-numeric-separator@babel/plugin-proposal-optional-catch-binding@babel/plugin-proposal-throw-expressions@babel/plugin-syntax-dynamic-import@babel/plugin-syntax-import-meta@babel/plugin-transform-runtime@babel/preset-env@babel/preset-react@babel/runtime@koa/cors@types/chokidar@types/fs-extra@types/highlight.js@types/jest@types/koa@types/koa-route@types/lodash@types/opn@types/ora@types/prettier@types/react-dom@types/react-router-dom@types/rimraf@types/semver@types/socket.io@types/socket.io-client@types/styled-components@types/update-notifier@types/webpack@types/webpack-dev-server@types/webpack-serve@types/yargsantdbabel-corebabel-loaderbabel-plugin-importbody-parserchokidarcodecovcolorscommanderconnect-history-api-fallbackcorscss-loaderdobdob-reactfolder-hashfs-extragulpgulp-babelgulp-sourcemapsgulp-typescripthighlight.jshtml-webpack-plugininquirerisomorphic-fetchjestkoakoa-compresskoa-connectkoa-mountkoa-routekoa-staticlodashmarkdown-itmini-css-extract-pluginnode-forgenormalize-pathopnoraportfinderpre-commitprettierraw-loaderreactreact-domreact-hot-loaderreact-loadablereact-router-domrimrafsemversocket.iosocket.io-clientstyle-loaderstyled-componentsts-jestts-loadertslinttslint-config-prettiertypescriptupdate-notifierurl-joinwalkwebpackwebpack-bundle-analyzerwebpack-dev-serverwebpack-sourceswebpackbaryargs
0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

6 years ago