UNPKG

phonic

Version:

[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2FPhonic-Co%2Fphonic-node) [![npm shield](htt

70 lines (69 loc) 2.03 kB
{ "name": "phonic", "version": "0.30.27", "private": false, "repository": "github:Phonic-Co/phonic-node", "type": "commonjs", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.mjs", "types": "./dist/cjs/index.d.ts", "exports": { ".": { "types": "./dist/cjs/index.d.ts", "import": { "types": "./dist/esm/index.d.mts", "default": "./dist/esm/index.mjs" }, "require": { "types": "./dist/cjs/index.d.ts", "default": "./dist/cjs/index.js" }, "default": "./dist/cjs/index.js" }, "./package.json": "./package.json" }, "files": [ "dist", "reference.md", "README.md", "LICENSE" ], "scripts": { "format": "prettier . --write --ignore-unknown", "build": "yarn build:cjs && yarn build:esm", "build:cjs": "tsc --project ./tsconfig.cjs.json", "build:esm": "tsc --project ./tsconfig.esm.json && node scripts/rename-to-esm-files.js dist/esm", "test": "jest --config jest.config.mjs", "test:unit": "jest --selectProjects unit", "test:browser": "jest --selectProjects browser", "test:wire": "jest --selectProjects wire" }, "dependencies": { "ws": "^8.16.0" }, "devDependencies": { "webpack": "^5.97.1", "ts-loader": "^9.5.1", "@types/ws": "^8.5.10", "jest": "^29.7.0", "@jest/globals": "^29.7.0", "@types/jest": "^29.5.14", "ts-jest": "^29.3.4", "jest-environment-jsdom": "^29.7.0", "msw": "2.11.2", "@types/node": "^18.19.70", "prettier": "^3.4.2", "typescript": "~5.7.2" }, "browser": { "fs": false, "os": false, "path": false, "stream": false }, "packageManager": "yarn@1.22.22", "engines": { "node": ">=18.0.0" }, "sideEffects": false }