UNPKG

@antv/thumbnails-component

Version:

React Component for Thumbnails of Chart Types.

85 lines (84 loc) 2.06 kB
{ "name": "@antv/thumbnails-component", "version": "2.0.0", "description": "React Component for Thumbnails of Chart Types.", "main": "lib/src/index.js", "types": "lib/src/index.d.ts", "unpkg": "dist/index.min.js", "module": "esm/src/index.js", "files": [ "esm", "dist", "lib" ], "scripts": { "lint": "eslint --ext .js,.jsx,.ts,.tsx './'", "lint-fix": "npm run lint -- --fix", "prettier": " prettier --check '**/*' --ignore-path=../../.prettierignore", "prettier-fix": "npm run prettier -- --write", "format": "npm run prettier-fix && npm run lint-fix", "lint-staged": "lint-staged", "size": "limit-size", "clean": "rimraf lib esm dist", "build:umd": "rimraf ./dist && rollup -c && npm run size", "build:cjs": "rimraf ./lib && tsc --module commonjs --outDir lib", "build:esm": "rimraf ./esm && tsc --module ESNext --outDir esm", "build": "run-p build:*", "test": "jest" }, "repository": { "type": "git", "url": "git@github.com:antvis/thumbnails.git" }, "keywords": [ "AntV", "Chart", "Visualization", "Thumbnails", "Design" ], "author": { "name": "AntV", "url": "https://antv.vision/" }, "publishConfig": { "access": "public" }, "license": "MIT", "devDependencies": { "@types/react": "^17.0.18", "eslint": "^7.32.0", "limit-size": "^0.1.4", "lint-staged": "^11.1.2", "npm-run-all": "^4.1.5", "prettier": "^2.3.2", "rimraf": "^3.0.2", "tslib": "^2.3.0", "typescript": "^4.3.5" }, "dependencies": { "@antv/thumbnails": "^2.0.0", "@babel/runtime": "^7.15.3", "react": "^17.0.2", "react-dom": "^17.0.2" }, "lint-staged": { "*.{ts,tsx}": [ "eslint --fix", "prettier --write", "git add" ] }, "limit-size": [ { "path": "dist/index.min.js", "limit": "8 Kb", "gzip": true }, { "path": "dist/index.min.js", "limit": "56 Kb" } ], "gitHead": "f6704ecf64048343e747e68c42b06f34b45635d5" }