UNPKG

@thoughtspot/visual-embed-sdk

Version:
175 lines (174 loc) 6.58 kB
{ "name": "@thoughtspot/visual-embed-sdk", "version": "1.40.0", "description": "ThoughtSpot Embed SDK", "module": "lib/src/index.js", "main": "dist/tsembed.js", "types": "lib/src/index.d.ts", "files": [ "dist/**", "lib/**", "src/**", "cjs/**" ], "exports": { ".": { "import": "./lib/src/index.js", "require": "./cjs/src/index.js", "types": "./lib/src/index.d.ts" }, "./react": { "import": "./lib/src/react/all-types-export.js", "require": "./cjs/src/react/all-types-export.js", "types": "./lib/src/react/all-types-export.d.ts" }, "./lib/src/react": { "import": "./lib/src/react/all-types-export.js", "require": "./cjs/src/react/all-types-export.js", "types": "./lib/src/react/all-types-export.d.ts" } }, "typesVersions": { "*": { "react": [ "./lib/src/react/all-types-export.d.ts" ] } }, "size-limit": [ { "path": "dist/tsembed.es.js", "limit": "31 kB" } ], "scripts": { "lint": "eslint 'src/**'", "lint:fix": "eslint 'src/**/*.*' --fix", "tsc": "tsc -p . --incremental false; tsc -p . --incremental false --module commonjs --outDir cjs", "build-and-publish": "npm run build:gatsby && npm run publish", "bundle-dts-file": "dts-bundle --name @thoughtspot/visual-embed-sdk --out visual-embed-sdk.d.ts --main lib/src/index.d.ts", "bundle-dts": "dts-bundle --name ../../dist/visual-embed-sdk --main lib/src/index.d.ts --outputAsModuleFolder=true", "bundle-dts-react": "dts-bundle --name ../../../dist/visual-embed-sdk-react --main lib/src/react/index.d.ts --outputAsModuleFolder=true", "bundle-dts-react-full": "dts-bundle --name ../../../dist/visual-embed-sdk-react-full --main lib/src/react/all-types-export.d.ts --outputAsModuleFolder=true", "build": "rollup -c", "watch": "rollup -cw", "docgen": "typedoc --tsconfig tsconfig.json --theme typedoc-theme --json static/typedoc/typedoc.json --disableOutputCheck", "test-sdk": "jest -c jest.config.sdk.js --runInBand", "test": "npm run test-sdk", "posttest": "cat ./coverage/sdk/lcov.info | coveralls", "is-publish-allowed": "node scripts/is-publish-allowed.js", "prepublishOnly": "npm run is-publish-allowed && npm run test && npm run tsc && npm run bundle-dts-file && npm run bundle-dts && npm run bundle-dts-react && npm run bundle-dts-react-full && npm run build", "check-size": "npm run build && size-limit", "publish-dev": "npm publish --tag dev", "publish-prod": "npm publish --tag latest", "dev": "vite -c vite.local.config.ts" }, "peerDependencies": { "react": "> 16.8.0", "react-dom": "> 16.8.0" }, "dependencies": { "classnames": "^2.3.1", "eventemitter3": "^4.0.7", "lodash": "^4.17.21", "mixpanel-browser": "2.47.0", "ts-deepmerge": "^6.0.2", "tslib": "^2.5.3", "use-deep-compare-effect": "^1.8.1", "yaml": "^2.5.1" }, "devDependencies": { "@mdx-js/mdx": "^1.6.22", "@mdx-js/react": "^1.6.22", "@react-icons/all-files": "^4.1.0", "@rollup/plugin-commonjs": "^18.0.0", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^11.2.1", "@rollup/plugin-replace": "^5.0.2", "@size-limit/preset-big-lib": "^8.2.6", "@testing-library/dom": "^7.31.0", "@testing-library/jest-dom": "^5.14.1", "@testing-library/react": "^11.2.7", "@testing-library/user-event": "^13.1.8", "@types/jest": "^22.2.3", "@types/lodash": "^4.17.0", "@types/mixpanel-browser": "^2.35.6", "@types/react-test-renderer": "^17.0.1", "@typescript-eslint/eslint-plugin": "^8.28.0", "@typescript-eslint/parser": "^8.28.0", "asciidoctor": "^2.2.1", "babel-jest": "^26.6.3", "babel-preset-gatsby": "^1.10.0", "command-line-args": "^5.1.1", "coveralls": "^3.1.0", "crypto": "^1.0.1", "current-git-branch": "^1.1.0", "dts-bundle": "^0.7.3", "eslint": "^9.23.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-prettier": "^10.1.1", "eslint-import-resolver-typescript": "^4.2.5", "eslint-plugin-comment-length": "2.2.1", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jsdoc": "^50.6.9", "eslint-plugin-prettier": "^5.2.5", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^5.2.0", "fs-extra": "^10.0.0", "gh-pages": "6.3.0", "globals": "^16.0.0", "highlight.js": "^10.6.0", "html-to-text": "^8.0.0", "identity-obj-proxy": "^3.0.0", "istanbul-merge": "^1.1.1", "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jsdom": "^17.0.0", "prettier": "2.1.2", "react": "^16.14.0", "react-dom": "^16.14.0", "react-resizable": "^1.11.0", "react-resize-detector": "^6.6.0", "react-test-renderer": "^17.0.2", "react-use-flexsearch": "^0.1.1", "rollup": "4.24.0", "rollup-plugin-typescript2": "0.27.3", "ts-jest": "^26.5.5", "ts-loader": "8.0.4", "typedoc": "0.21.6", "typedoc-plugin-toc-group": "thoughtspot/typedoc-plugin-toc-group", "typescript": "^4.9.4", "typescript-eslint": "^8.29.1", "url-search-params-polyfill": "^8.1.0", "util": "^0.12.4", "vite": "^6.3.5" }, "author": "ThoughtSpot", "email": "support@thoughtspot.com", "license": "ThoughtSpot Development Tools End User License Agreement", "directories": { "lib": "lib" }, "repository": { "type": "git", "url": "git+https://github.com/thoughtspot/visual-embed-sdk.git" }, "publishConfig": { "registry": "https://registry.npmjs.org" }, "keywords": [ "thoughtspot", "everywhere", "embedded", "embed", "sdk", "analytics" ], "bugs": { "url": "https://github.com/thoughtspot/visual-embed-sdk/issues" }, "homepage": "https://github.com/thoughtspot/visual-embed-sdk#readme", "globals": { "window": {} } }