UNPKG

@hellotext/hellotext

Version:
101 lines (100 loc) 2.65 kB
{ "name": "@hellotext/hellotext", "version": "2.1.3", "description": "Hellotext JavaScript Client", "source": "src/index.js", "main": "lib/index.cjs", "module": "lib/index.js", "browser": "dist/hellotext.js", "unpkg": "dist/hellotext.js", "types": "index.d.ts", "author": "Hellotext", "license": "MIT", "homepage": "https://github.com/hellotext/hellotext.js", "files": [ "lib", "dist", "src", "styles", "index.d.ts" ], "exports": { ".": { "types": "./index.d.ts", "import": "./lib/index.js", "require": "./lib/index.cjs", "default": "./dist/hellotext.js" }, "./vanilla": { "types": "./index.d.ts", "import": "./lib/vanilla.js", "require": "./lib/vanilla.cjs" }, "./styles/*": "./styles/*", "./styles/index.css": "./styles/index.css", "./package.json": "./package.json" }, "sideEffects": [ "*.css", "./lib/index.js", "./lib/index.cjs" ], "engines": { "node": ">=20.0.0" }, "devDependencies": { "@babel/cli": "^7.20.7", "@babel/core": "^7.20.12", "@babel/plugin-proposal-export-default-from": "^7.20.0", "@babel/plugin-proposal-private-methods": "^7.18.6", "@babel/preset-env": "^7.20.2", "@testing-library/jest-dom": "^5.16.5", "babel-loader": "^9.1.2", "css-loader": "^6.5.0", "jest": "^29.3.1", "jest-environment-jsdom": "^29.3.1", "prettier": "2.8.2", "style-loader": "^3.3.1", "webpack": "^5.75.0", "webpack-cli": "^5.0.1", "whatwg-fetch": "^3.6.20" }, "repository": { "type": "git", "url": "git+https://github.com/hellotext/hellotext.js.git" }, "keywords": [ "hellotext", "javascript", "sms", "whatsapp", "messaging", "chat", "webchat", "customer-engagement", "sdk", "client-library", "typescript", "browser", "node" ], "scripts": { "test": "NODE_ENV=test jest", "build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:bundle", "build:esm": "babel src -d lib --ignore src/index.bundle.js", "build:cjs": "BABEL_ENV=cjs babel src -d lib --out-file-extension .cjs --ignore src/index.bundle.js", "build:bundle": "webpack", "clean": "rm -rf lib dist", "prepublishOnly": "npm test && npm run build" }, "bugs": { "url": "https://github.com/hellotext/hellotext.js/issues" }, "dependencies": { "@emoji-mart/data": "^1.2.1", "@floating-ui/dom": "^1.7.3", "@hotwired/stimulus": "^3.0.0", "emoji-mart": "^5.6.0" }, "packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610" }