formvalidation/
|
├── // Consists of TypeScript definition types
|
|
|
└── formvalidation
|
└── global.d.ts // Uses with the global UMD package
(
dist/js
)
|
└── index.d.ts // Uses with the ES6 package
(
dist/es6
)
|
└── dist // Consists of generated files from src
|
├── amd // AMD package
|
├── css // Can be used
in
browser
│ └── formValidation
(
.min
)
.css
|
├── es6 // Generated from src/js and can be used with ES6 module
│ ├──
..
.
│ ├── core
│ ├── locales
│ ├── plugins
│ ├── validators
│ └── index.js
|
└── js // Can be used
in
browser
|
├── locales // The translation packages
│ ├── de_DE
(
.min
)
.js
│ ├── en_US
(
.min
)
.js
│ └──
..
.
|
├── plugins
│ ├── Bootstrap
(
.min
)
.js
│ ├── Bootstrap3
(
.min
)
.js
│ └──
..
.
|
├── FormValidation.full
(
.min
)
.js
└── FormValidation
(
.min
)
.js
dist/css
and
dist/js
folders to the server.
dist/es6
folders.
dist/css
and
dist/js
folders has two versions: the normal code in the
.css, .js
files, and the minified code in the
.min.css, .min.js
files.
.min.css, .min.js
files in the production website.
.min
part to debug the code more easy.
dist/js
folder contains two verions of the core library:
FormValidation(.min).js
: Contains most popular validators
FormValidation.full(.min).js
: Contains all validators
FormValidation(.min).js
file to your page. Since it is smaller than the full version in term of the file size, it will reduce the page loading time.Take a look at the
validators
page to see which validator belongs to the default and full versions.