UNPKG

@antv/t8

Version:

T8 is a text visualization solution for unstructured data within the AntV technology stack, and it is a declarative JSON Schema syntax that can be used to describe the content of data interpretation reports.

104 lines (103 loc) 3.09 kB
{ "name": "@antv/t8", "version": "0.2.0", "description": "T8 is a text visualization solution for unstructured data within the AntV technology stack, and it is a declarative JSON Schema syntax that can be used to describe the content of data interpretation reports.", "main": "lib/index.js", "module": "es/index.js", "types": "types/index.d.ts", "unpkg": "dist/index.min.js", "files": [ "dist", "es", "lib", "types" ], "author": { "name": "AntV", "url": "https://antv.antgroup.com/" }, "scripts": { "test": "vitest --coverage", "prepare": "husky", "lint": "eslint .", "format": "prettier --write .", "dev": "vite -c vite.config.dev.mjs", "size": "limit-size", "build": "rm -rf dist es lib types && NODE_ENV=production rollup -c ./rollup.config.mjs && npm run build:schema && npm run build:types && npm run size", "build:dev": "concurrently \"rollup -c ./rollup.config.mjs -w\" \"tsc --watch --project tsconfig.build.json\"", "build:types": "tsc --project tsconfig.build.json", "build:schema": "mkdir -p dist && rm -rf dist/schema.json && ts-json-schema-generator -f tsconfig.json -p src/index.ts -t NarrativeTextSpec --no-type-check --no-ref-encode > dist/schema.json", "site:dev": "vitepress dev site", "site:build": "vitepress build site", "site:preview": "vitepress preview site" }, "lint-staged": { "**/*": [ "prettier --write --ignore-unknown", "eslint --fix" ] }, "limit-size": [ { "path": "dist/t8.min.js", "limit": "75 Kb" }, { "path": "dist/t8.min.js", "limit": "25 Kb", "gzip": true } ], "keywords": [ "antv", "t8", "ai", "text", "narrative", "visualization" ], "license": "MIT", "devDependencies": { "@eslint/js": "^9.24.0", "@preact/preset-vite": "^2.10.1", "@rollup/plugin-commonjs": "^28.0.3", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.2", "@types/clarinet": "^0.12.3", "@types/node": "^24.0.8", "@vitest/coverage-istanbul": "^3.2.4", "byte-size": "^9.0.1", "concurrently": "^9.2.0", "eslint": "^9.24.0", "globals": "^16.0.0", "husky": "^9.1.7", "jsdom": "^26.1.0", "limit-size": "^0.1.4", "lint-staged": "^15.5.1", "markdown-it-container": "^4.0.0", "markdown-title": "^1.0.2", "path-to-regexp": "^8.2.0", "prettier": "3.5.3", "rollup": "^4.40.0", "ts-json-schema-generator": "^2.4.0", "typescript": "^5.8.3", "typescript-eslint": "^8.30.1", "vite": "^6.3.0", "vitepress": "^1.6.3", "vitepress-plugin-llms": "^1.7.0", "vitepress-plugin-sandpack": "^1.1.4", "vitest": "^3.2.4", "vue": "^3.5.17" }, "dependencies": { "@antv/event-emitter": "^0.1.3", "clarinet": "^0.12.6", "preact": "^10.26.5", "stream": "^0.0.3", "tslib": "^2.8.1", "uuid": "^11.1.0" }, "repository": "git@github.com:antvis/T8.git" }