UNPKG

@antv/narrative-text-vis

Version:

React component of interactive narrative text

77 lines (76 loc) 2.15 kB
{ "name": "@antv/narrative-text-vis", "version": "0.3.16", "description": "React component of interactive narrative text", "keywords": [ "react component", "text visualization", "narrative" ], "author": { "name": "AntV", "url": "https://antv.vision/" }, "license": "MIT", "main": "lib/index.js", "module": "es/index.js", "types": "es/src/index.d.ts", "unpkg": "dist/narrative-text-vis.min.js", "files": [ "dist", "es", "lib" ], "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org" }, "scripts": { "lint": "eslint --ext .ts,.tsx ./src", "test": "jest", "build:esm": "rimraf es && FORMAT=esm rollup -c", "build:cjs": "rimraf lib && FORMAT=cjs rollup -c", "build:umd": "rimraf dist && FORMAT=umd rollup -c", "build": "run-s build:cjs build:esm build:umd", "watch:esm": "rimraf es && FORMAT=esm rollup -c -w", "watch:cjs": "rimraf lib && FORMAT=cjs rollup -c -w", "clean:build": "rimraf dist es lib", "clean:coverage": "rimraf coverage", "clean": "rimraf node_modules && npm run clean:build && npm run clean:coverage" }, "devDependencies": { "@types/enzyme": "^3.10.9", "@types/is-hotkey": "^0.1.7", "@types/jest": "^26.0.24", "@types/lodash": "^4.14.180", "@types/react": "^17.0.15", "@types/react-dom": "^17.0.9", "@types/styled-components": "^5.1.25", "@types/uuid": "^8.3.1", "@wojtekmaj/enzyme-adapter-react-17": "^0.6.3", "antd": "^4.24.1", "enzyme": "^3.11.0", "jest": "^27.0.6", "jest-environment-jsdom": "^27.2.5", "npm-run-all": "^4.1.5", "react": "^17.0.2", "react-dom": "^17.0.2", "rimraf": "^3.0.2", "rollup": "^2.55.1", "typescript": "^4.3.5" }, "dependencies": { "@antv/narrative-text-schema": "^0.3.7", "canvg": "^4.0.1", "is-hotkey": "^0.2.0", "lodash": "^4.17.21", "styled-components": "^5.3.5", "uuid": "^8.3.2" }, "peerDependencies": { "antd": ">=4.16.13", "react": ">=16.9.0", "react-dom": ">=16.9.0" }, "gitHead": "fb1948e5728fb1ecbcd0cac92bd360608ec173a7" }