diff --git a/build/build-examples.js b/build/build-examples.js
deleted file mode 100644
index a3baf1a58..000000000
--- a/build/build-examples.js
+++ /dev/null
@@ -1,58 +0,0 @@
-const fs = require('fs')
-const mkdirp = require('mkdirp')
-const path = require('path')
-const rimraf = require('rimraf')
-const walkSync = require('./walk-sync.js')
-
-const dataDir = path.join(__dirname, '../data')
-const examplesDir = path.join(__dirname, '../examples')
-
-const prefixes = {
- brand: 'cib-',
- duotone: 'cid-',
- flag: 'cif-',
- free: 'cil-',
- linear: 'cil-',
- solid: 'cis-'
-}
-
-const unique = (array, key) => array.map(e => e[key]).map((e, i, final) => final.indexOf(e) === i && i).filter(e => array[e]).map(e => array[e])
-
-const main = () => {
- rimraf.sync(examplesDir)
- mkdirp(examplesDir).then(() => {
-
- const files = walkSync(dataDir).filter(element => path.extname(element) === '.json')
- files.forEach(file => {
- const rawdata = fs.readFileSync(file)
- const icons = JSON.parse(rawdata).icons.sort((a,b) => (a.name > b.name) ? 1 : ((b.name > a.name) ? -1 : 0))
-
- const type = path.basename(file).replace('.json', '')
- const prefix = prefixes[type.toLowerCase()]
-
- let html = `\n\n
\n \n`
- html += ` CoreUI Icons - ${type}\n`
- html += ` \n`
- html += ` \n`
- html += `\n\n`
-
- html += ` \n`
- unique(icons, 'name').forEach(icon => {
- const name = icon.name
- html += `
\n`
- })
- html += `
\n
\n`
- html += ` \n`
- unique(icons, 'name').forEach(icon => {
- const name = icon.name
- html += `
\n`
- })
- html += `
\n`
- html += `\n`
-
- fs.writeFileSync(path.join(examplesDir, path.basename(file).replace('.json', '.html')), html)
- })
- })
-}
-
-main()
\ No newline at end of file
diff --git a/build/build-fonts.js b/build/build-fonts.js
deleted file mode 100644
index 7b32cc49d..000000000
--- a/build/build-fonts.js
+++ /dev/null
@@ -1,84 +0,0 @@
-const fs = require('fs')
-const mkdirp = require('mkdirp');
-const path = require('path')
-const webfont = require('webfont').default
-
-const argv = require('minimist')(process.argv.slice(2), {
- string: ['src', 'name', 'prefix']
-})
-
-const dataDir = path.join(__dirname, '../data')
-const fontDir = path.join(__dirname, '../fonts')
-const svgDir = path.join(__dirname, '../svg', argv.src.toLowerCase())
-
-webfont({
- files: `${svgDir}/**/*.svg`,
- fontName: argv.name,
- fontHeight: 5000,
- startUnicode: 'ec0f',
- verbose: true,
-}).then(result => {
-
- mkdirp(fontDir).then(() => {
-
- fs.writeFile(`${path.join(fontDir, argv.name)}.eot`, result.eot, (err) => {
- if (err) throw err
- console.log(`The ${path.join(fontDir, argv.name)}.eot file has been saved!`)
- })
-
- fs.writeFile(`${path.join(fontDir, argv.name)}.svg`, result.svg, (err) => {
- if (err) throw err
- console.log(`The ${path.join(fontDir, argv.name)}.eot file has been saved!`)
- })
-
- fs.writeFile(`${path.join(fontDir, argv.name)}.ttf`, result.ttf, (err) => {
- if (err) throw err
- console.log(`The ${path.join(fontDir, argv.name)}.eot file has been saved!`)
- })
-
- fs.writeFile(`${path.join(fontDir, argv.name)}.woff`, result.woff, (err) => {
- if (err) throw err
- console.log(`The ${path.join(fontDir, argv.name)}.eot file has been saved!`)
- })
-
- fs.writeFile(`${path.join(fontDir, argv.name)}.woff2`, result.woff2, (err) => {
- if (err) throw err
- console.log(`The ${path.join(fontDir, argv.name)}.eot file has been saved!`)
- })
- })
-
-
- const iconsList = []
-
- result.glyphsData.forEach(element => {
- const name = element.metadata.name
- const unicode = element.metadata.unicode
-
- iconsList.push({
- name: name.replace(`${argv.prefix}-`,''),
- unicode: `\\${unicode[0].codePointAt(0).toString(16)}`
- })
- })
-
- // Add unicodes to icons lists
- fs.readFile(`${dataDir}/${argv.name.replace('CoreUI-Icons-', '')}.json`, 'utf8', function readFileCallback(err, data){
- if (err) throw err
- obj = JSON.parse(data)
-
- const mergeByName = (a1, a2) => a1.map(itm => ({
- ...a2.find((item) => (item.name === itm.name) && item),
- ...itm
- }))
-
- json = JSON.stringify(mergeByName(obj, iconsList), null, 2)
-
- fs.writeFileSync(`${dataDir}/${argv.name.replace('CoreUI-Icons-', '')}.json`, json)
- })
-})
-.catch(error => {
- throw error
-})
-
-
-// formats: [ 'svg', 'ttf', 'eot', 'woff', 'woff2' ]
-// Bufer ttf, eot, woff
\ No newline at end of file
diff --git a/build/build-js-files.js b/build/build-js-files.js
deleted file mode 100644
index 004418ac7..000000000
--- a/build/build-js-files.js
+++ /dev/null
@@ -1,123 +0,0 @@
-const fs = require('fs')
-const mkdirp = require('mkdirp')
-const path = require('path')
-const { extname } = path
-
-const dirnames = process.mainModule.filename.includes('pro') ?
- ['solid', 'linear', 'duotone', 'brand', 'flag']
- : ['free', 'brand', 'flag']
-
-let allNames = {}
-dirnames.forEach(setName => {
- mkdirp(`js/${setName}/`).then(() => {
- const dirname = `svg/${setName}/`
- let contents = {}
- let names = []
- fs.readdirSync(dirname).forEach(filename => {
- console.log(filename)
- if (extname(filename) === '.svg') {
- const content = fs.readFileSync(dirname + filename, {encoding:'utf8'})
- const variableName = toCamel(filename.replace('.svg', ''))
- const jsFilename = filename.replace('.svg', '.js')
- const tsFilename = filename.replace('.svg', '.d.ts')
- const viewBox = getAttributeValue(content, 'viewBox').split(' ')
- const dimensions = `${viewBox[2]} ${viewBox[3]}`
-
- let iconData = []
- if (dimensions !== '64 64') {
- iconData.push(dimensions)
- }
- const computedContent =
- content
- .replace(/(