UNPKG

@freddydrodev/artyom

Version:

Artyom is a Robust Wrapper of the Google Chrome SpeechSynthesis and SpeechRecognition that allows you to create a virtual assistent

28 lines (26 loc) 784 B
import { defineConfig } from "tsup"; export default defineConfig({ entry: ["src/artyom.ts"], format: ["cjs", "esm"], dts: true, splitting: false, sourcemap: true, clean: true, minify: true, treeshake: true, target: "es2015", outDir: "dist", banner: { js: `/** * Artyom.js is a voice control, speech recognition and speech synthesis JavaScript library. * * @requires {webkitSpeechRecognition && speechSynthesis} * @license MIT * @version 1.0.6 * @copyright 2017 Our Code World (www.ourcodeworld.com) All Rights Reserved. * @author Carlos Delgado (https://github.com/sdkcarlos) and Sema García (https://github.com/semagarcia) * @see https://sdkcarlos.github.io/sites/artyom.html * @see http://docs.ourcodeworld.com/projects/artyom-js */`, }, });