UNPKG

@harryjwang/simplewordcloud

Version:

A simple word cloud generator supporting English and Chinese text

70 lines (69 loc) 1.8 kB
{ "name": "@harryjwang/simplewordcloud", "version": "1.1.0", "description": "A simple word cloud generator supporting English and Chinese text", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc", "build:browser": "webpack", "build:react": "webpack --config webpack.react.config.js", "build:demo": "webpack --config webpack.demo.config.js", "build:all": "pnpm run build && pnpm run build:browser && pnpm run build:react", "start:demo": "node server.js", "test": "jest", "prepare": "pnpm run build:all" }, "repository": { "type": "git", "url": "git+https://github.com/harrywang/simplewordcloud.git" }, "keywords": [ "word cloud", "visualization", "d3", "text analysis", "chinese", "english" ], "author": "Harry Wang", "license": "MIT", "bugs": { "url": "https://github.com/harrywang/simplewordcloud/issues" }, "homepage": "https://github.com/harrywang/simplewordcloud#readme", "files": [ "dist", "react", "LICENSE", "README.md" ], "dependencies": { "@types/d3": "^7.4.3", "@types/d3-cloud": "^1.2.9", "d3": "^7.9.0", "d3-cloud": "^1.2.7", "jieba-wasm": "^2.2.0", "natural": "^8.0.1", "typescript": "^5.8.2" }, "devDependencies": { "@types/react": "^18.2.0", "@types/react-dom": "^18.2.0", "buffer": "^6.0.3", "canvas": "^3.1.0", "css-loader": "^6.8.1", "jsdom": "^26.0.0", "path-browserify": "^1.0.1", "process": "^0.11.10", "react": "^18.2.0", "react-dom": "^18.2.0", "stream-browserify": "^3.0.0", "string_decoder": "^1.3.0", "style-loader": "^3.3.3", "ts-loader": "^9.5.2", "util": "^0.12.5", "webpack": "^5.98.0", "webpack-cli": "^6.0.1" } }