Skip to content

Commit

Permalink
build: create build script for types
Browse files Browse the repository at this point in the history
  • Loading branch information
mediv0 committed May 22, 2021
1 parent 7198f2f commit 08ee3c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/components.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ const chalk = require("chalk");
const execa = require("execa");
const { gzipSync } = require("zlib");
const { compress } = require("brotli");
const copyTypes = require("./postInstall");

const files = ["dist/persianTools.esm-browser.js", "dist/persianTools.esm-browser.prod.js", "dist/persianTools.esm-bundler.js", "dist/persianTools.global.js", "dist/persianTools.global.prod.js", "dist/persianTools.cjs.js"];

async function run() {
await build();
await copyTypes();
checkAllSizes();
}

Expand Down

0 comments on commit 08ee3c0

Please sign in to comment.