{ "name": "hs-cti", "version": "1.0.9", "description": "红杉外呼", "main": "dist/hs-cti.es6.umd.js", "module": "dist/hs-cti.es6.esm.js", "types": "dist/hs-cti.d.ts", "exports": { "./zt": { "types": "./dist/cs-cti.d.ts", "node": { "import": { "production": "./dist/cs-cti.es6.esm.prod.js", "development": "./dist/cs-cti.es6.esm.js", "default": "./dist/cs-cti.es6.esm.js" }, "require": { "production": "./dist/cs-cti.es6.umd.prod.js", "development": "./dist/cs-cti.es6.umd.js", "default": "./dist/cs-cti.es6.umd.js" } }, "import": "./dist/cs-cti.es6.esm.js", "require": "./dist/cs-cti.es6.umd.js" }, ".": { "types": "./dist/hs-cti.d.ts", "node": { "import": { "production": "./dist/hs-cti.es6.esm.prod.js", "development": "./dist/hs-cti.es6.esm.js", "default": "./dist/hs-cti.es6.esm.js" }, "require": { "production": "./dist/hs-cti.es6.umd.prod.js", "development": "./dist/hs-cti.es6.umd.js", "default": "./dist/hs-cti.es6.umd.js" } }, "import": "./dist/hs-cti.es6.esm.js", "require": "./dist/hs-cti.es6.umd.js" } }, "files": [ "dist/" ], "type": "module", "scripts": { "dev": "rollup -c -w", "test": "jest --config ./jest.config.ts", "build": "rimraf dist && rollup -c", "build:map": "rimraf dist && rollup -c --environment sourcemap:true", "build:hs": "rimraf dist && rollup -c --environment model:hs", "build:zt": "rimraf dist && rollup -c --environment model:zt", "release": "node scripts/release.js", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", "lint:eslint": "eslint --max-warnings 0 \"src/**/*.{vue,ts,tsx,js,json,cjs,mjs,cts,mts}\" --fix", "lint:stylelint": "stylelint \"**/*.{vue,less,postcss,css,scss}\" --fix", "lint:lint-staged": "lint-staged", "prepare": "husky install" }, "repository": { "type": "git", "url": "" }, "keywords": [ "hs", "call", "cti", "sip" ], "author": "platformfe", "license": "ISC", "dependencies": { "sip.js": "^0.21.2", "socket.io-client": "2" }, "devDependencies": { "@babel/core": "^7.22.11", "@babel/preset-env": "^7.22.10", "@babel/preset-typescript": "^7.22.15", "@commitlint/cli": "^17.7.1", "@commitlint/config-conventional": "^17.7.0", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-commonjs": "^25.0.4", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.2.1", "@rollup/plugin-terser": "^0.4.3", "@rollup/plugin-typescript": "^11.1.3", "@types/node": "^20.5.7", "@types/socket.io-client": "1.4.36", "@typescript-eslint/eslint-plugin": "^6.4.1", "@typescript-eslint/parser": "^6.4.1", "@vue/eslint-config-prettier": "^8.0.0", "@vue/eslint-config-typescript": "^11.0.3", "conventional-changelog-cli": "^2.2.2", "enquirer": "^2.4.1", "eslint": "^8.48.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.0", "husky": "^8.0.3", "jsdom": "^22.1.0", "lint-staged": "^14.0.1", "prettier": "^3.0.2", "rimraf": "^5.0.1", "rollup": "^3.28.1", "rollup-plugin-auto-external": "^2.0.0", "rollup-plugin-dts": "^5.3.1", "rollup-plugin-serve": "^1.1.1", "ts-node": "^10.9.1", "tslib": "^2.6.2", "typescript": "5.1.6" }, "lint-staged": { "*.{js,jsx,ts,tsx,json}": [ "eslint --fix", "prettier --write" ], "*.vue": [ "eslint --fix", "prettier --write" ], "*.{scss,less,html}": [ "stylelint --fix", "prettier --write" ], "*.md": [ "prettier --write" ] }, "browserslist": [ "> 1%", "last 2 versions", "not dead" ] }