| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- {
- "name": "@antv/gui",
- "version": "0.5.0-alpha.24",
- "description": "UI components for AntV G.",
- "license": "MIT",
- "main": "lib/index.js",
- "module": "esm/index.js",
- "unpkg": "dist/gui.min.js",
- "types": "lib/index.d.ts",
- "files": [
- "src",
- "lib",
- "esm",
- "dist"
- ],
- "sideEffects": false,
- "scripts": {
- "dev": "vite",
- "clean": "rimraf lib esm dist",
- "lint-staged": "lint-staged",
- "size": "limit-size",
- "lint": "NODE_ENV=test && eslint ./src/**/*.ts ./__tests__/**/*.ts && prettier ./src ./__tests__ --check ",
- "fix": "eslint ./src/**/*.ts ./__tests__/**/*.ts --fix && prettier ./src ./__tests__ --write ",
- "coverage": "jest -w 16 --coverage",
- "test": "run-s test:i",
- "test-live": "cross-env DEBUG_MODE=1 jest --watch",
- "test:u": "NODE_ENV=test && jest --config jest.config.js --coverage",
- "test:i": "NODE_ENV=test && jest --config jest.node.config.js --coverage",
- "build": "run-s clean build:* size",
- "build:umd": "webpack",
- "build:cjs": "tsc -p tsconfig.json --target ES5 --module commonjs --outDir lib",
- "build:esm": "tsc -p tsconfig.json --target ES5 --module ESNext --outDir esm",
- "ci": "run-s lint test build",
- "prepublishOnly": "npm run ci",
- "prepare": "husky install",
- "upload": "node scripts/uploadSnapshot.js"
- },
- "keywords": [
- "antv",
- "visualization",
- "ui",
- "GUI"
- ],
- "dependencies": {
- "@antv/dom-util": "^2.0.3",
- "@antv/g": "^5.15.15",
- "@antv/scale": "^0.4.3",
- "@antv/util": "^3.3.1",
- "d3-array": "^3.2.0",
- "svg-path-parser": "^1.1.0"
- },
- "peerDependencies": {
- "@antv/g": "^5.14.1"
- },
- "devDependencies": {
- "@antv/g": "^5.14.1",
- "@antv/g-canvas": "^1.9.18",
- "@antv/g-svg": "^1.8.27",
- "@babel/plugin-proposal-decorators": "^7.20.5",
- "@babel/plugin-transform-runtime": "^7.17.0",
- "@babel/preset-env": "^7.16.11",
- "@commitlint/cli": "^11.0.0",
- "@commitlint/config-conventional": "^12.0.1",
- "@types/d3-array": "^3.0.3",
- "@types/jest": "^26.0.1",
- "@types/jsdom": "^20.0.1",
- "@types/pixelmatch": "^5.2.4",
- "@types/pngjs": "^6.0.1",
- "@types/react": "^16.14.34",
- "@types/react-dom": "^18.0.9",
- "@types/svg-path-parser": "^1.1.2",
- "@types/xmlserializer": "^0.6.3",
- "@typescript-eslint/eslint-plugin": "^4.18.0",
- "@typescript-eslint/parser": "^4.19.0",
- "@vitejs/plugin-react": "^2.2.0",
- "ali-oss": "^6.17.1",
- "archiver": "^5.3.1",
- "antd": "^5.0.2",
- "babel-loader": "^8.2.3",
- "canvas": "2.11.0",
- "core-js": "^3.14.0",
- "cross-env": "^7.0.3",
- "eslint": "^7.22.0",
- "eslint-config-airbnb": "^18.2.1",
- "eslint-config-prettier": "^8.1.0",
- "eslint-import-resolver-typescript": "^2.4.0",
- "eslint-plugin-import": "^2.22.1",
- "eslint-plugin-prettier": "^3.3.1",
- "gh-pages": "^3.2.3",
- "husky": "^5.0.9",
- "jest": "^26.0.1",
- "jsdom": "^19.0.0",
- "limit-size": "^0.1.4",
- "lint-staged": "^10.5.4",
- "npm-run-all": "^4.1.5",
- "pixelmatch": "^5.3.0",
- "pngjs": "^6.0.0",
- "prettier": "^2.2.1",
- "react": "^16.14.0",
- "react-dom": "^16.11.0",
- "react-i18next": "^11.7.0",
- "regenerator-runtime": "^0.13.7",
- "rimraf": "^3.0.2",
- "ts-jest": "^26.5.1",
- "ts-loader": "^7.0.0",
- "tslib": "^2.0.3",
- "typescript": "^4.3.4",
- "vite": "^3.1.8",
- "webpack": "^4.44.2",
- "webpack-cli": "^4.9.1",
- "xmlserializer": "^0.6.1"
- },
- "lint-staged": {
- "*.{ts,tsx}": [
- "eslint --fix",
- "prettier --write",
- "git add"
- ]
- },
- "limit-size": [
- {
- "path": "dist/gui.min.js",
- "limit": "128 Kb",
- "gzip": true
- },
- {
- "path": "dist/gui.min.js",
- "limit": "480 Kb"
- }
- ],
- "author": {
- "name": "AntV",
- "url": "https://antv.vision/"
- },
- "repository": {
- "type": "git",
- "url": "https://github.com/antvis/gui"
- },
- "bugs": {
- "url": "https://github.com/antvis/gui/issues"
- }
- }
|