UNPKG

@nethesis/phone-island

Version:
140 lines (139 loc) 5.11 kB
{ "name": "@nethesis/phone-island", "author": "Nethesis", "version": "1.0.13", "description": "NethVoice CTI Phone Island", "keywords": [ "nethserver", "nethesis", "nethvoice", "phone", "island" ], "homepage": "https://github.com/nethesis/phone-island#readme", "bugs": "https://github.com/nethesis/dev/issues", "repository": { "type": "git", "url": "https://github.com/nethesis/phone-island.git" }, "private": false, "files": [ "dist" ], "main": "dist/index.js", "types": "dist/index.d.ts", "publishConfig": { "access": "public" }, "targets": { "main": false, "types": false, "default": { "distDir": "./dist-widget" } }, "dependencies": { "@fortawesome/fontawesome-svg-core": "6.7.2", "@fortawesome/free-solid-svg-icons": "6.7.2", "@fortawesome/react-fontawesome": "0.2.6", "@headlessui/react": "^2.2.8", "@nethesis/nethesis-solid-svg-icons": "github:nethesis/Font-Awesome#ns-solid", "@rematch/core": "^2.2.0", "@rematch/immer": "^2.1.3", "@rematch/select": "^3.1.2", "@testing-library/jest-dom": "^5.11.4", "@testing-library/user-event": "^12.1.10", "framer-motion": "^12.0.0", "i18next": "^22.4.9", "i18next-browser-languagedetector": "^7.0.1", "js-base64": "^3.7.3", "lodash": "^4.17.21", "mic-check": "^1.1.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-i18next": "^12.1.5", "react-moment": "^1.1.2", "react-redux": "^8.0.5", "react-tooltip": "^5.28.0", "socket.io-client": "^4.5.3", "styled-components": "^5.3.6", "webrtc-adapter": "^9.0.1" }, "scripts": { "start": "npm run dev", "dev": "node scripts/generate-dev-host.js && parcel .dev/phone-island-dev.html --port 6006 --open", "test": "tsc --noEmit", "watch": "rollup -w -c", "watch:css": "BROWSERSLIST_IGNORE_OLD_DATA=1 npx tailwindcss -o ./dist/index.css --watch", "build": "rm -rf ./dist && npm run build:css && rollup -c", "build:css": "BROWSERSLIST_IGNORE_OLD_DATA=1 NODE_ENV=production npx tailwindcss -o ./dist/index.css --minify", "build:win": "del /s /q dist && npm run build:wincss && rollup -c --configPlugin typescript", "build:wincss": "set BROWSERSLIST_IGNORE_OLD_DATA=1 && set NODE_ENV=production && npx tailwindcss -o ./dist/index.css --minify", "build:widget": "rm -rf ./dist-widget && parcel build ./src/index.widget.tsx --no-source-maps", "serve:widget": "rm -rf ./widget-example/static/* && cp -rf ./dist-widget/* ./widget-example/static && npx http-server ./widget-example -o -c-1", "release": "npm publish", "release:widget": "node check-publish.js patch && npm version patch -m v%s", "format": "prettier --write './**/*.{js,jsx,ts,tsx,css,md,json}' --config ./.prettierrc", "bump": "node bump-version.js", "build-pack": "npm run bump && npm run build && npm pack", "build-pack:win": "npm run bump && npm run build:win && npm pack", "publish:minor": "node check-publish.js minor && npm version minor --allow-same-version -m v%s --force", "publish:major": "node check-publish.js major && npm version major --allow-same-version -m v%s --force", "publish:patch": "node check-publish.js patch && npm version patch --allow-same-version -m v%s --force", "publish:dev": "node publish-dev.js", "preversion": "rm -rf dist-widget && npm run build:widget && git add dist-widget/index.widget.js dist-widget/index.widget.css && git commit -m 'chore(widget): release for jsDelivr'", "postversion": "git push origin main --tags", "revert-bump": "node revert-bump.js" }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] }, "devDependencies": { "@babel/core": "^7.20.2", "@babel/preset-env": "^7.20.2", "@parcel/transformer-typescript-types": "^2.8.0", "@rollup/plugin-babel": "^6.0.2", "@rollup/plugin-commonjs": "^23.0.2", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^15.0.1", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^9.0.2", "@testing-library/react": "^13.4.0", "@types/audioworklet": "^0.0.100", "@types/jest": "^29.2.2", "@types/react": "^18.0.26", "@types/react-dom": "^18.0.9", "@types/styled-components": "^5.1.26", "babel": "^6.23.0", "buffer": "^5.7.1", "parcel": "^2.0.0", "postcss": "^8.4.49", "prettier": "^2.8.0", "prop-types": "^15.8.1", "rollup": "^2.79.1", "rollup-plugin-generate-package-json": "^3.2.0", "rollup-plugin-postcss": "^4.0.2", "tailwind-scrollbar": "^3.1.0", "tailwindcss": "^3.4.16", "typescript": "^4.8.4", "webm-duration-fix": "^1.0.4", "webpack": "^5.74.0" }, "overrides": { "@tootallnate/once": "^3.0.0", "esbuild": "^0.28.0", "nth-check": "^2.0.1", "serialize-javascript": "^7.0.0", "tar": "^7.5.1" }, "license": "GPL-3.0-or-later" }