{
  "name": "@antv/antv-spec",
  "version": "0.1.0-alpha.18",
  "description": "A declarative grammar that supports various technology stacks of AntV.",
  "main": "lib/src/index.js",
  "types": "lib/src/index.d.ts",
  "unpkg": "dist/index.min.js",
  "module": "esm/src/index.js",
  "files": [
    "esm",
    "lib",
    "dist",
    "build"
  ],
  "scripts": {
    "prepare": "husky install",
    "format": "prettier --write \"src/**/*.ts\" \"__tests__/**/*.ts\" \"demo/**/*.{ts,tsx}\"",
    "format-check": " prettier ./src/**/*.ts ./__tests__/**/*.ts ./demo/**/*.{ts,tsx} --check",
    "lint": "eslint ./src/**/*.ts ./__tests__/**/*.ts ./demo/**/*.{ts,tsx} && npm run format-check",
    "fix": "eslint ./src/**/*.ts ./__tests__/**/*.ts ./demo/**/*.{ts,tsx} --fix && npm run format",
    "lint-staged": "lint-staged",
    "size": "limit-size",
    "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:* && npm run size",
    "clean": "rimraf lib esm dist",
    "schema": "mkdir -p build && ts-json-schema-generator -f tsconfig.json -p src/index.ts -t AntVSpec --no-type-check --no-ref-encode > build/antv-spec.json",
    "test": "jest",
    "ci": "run-s schema lint test build",
    "setup:demo": "cd demo && npm install --package-lock=false",
    "start:demo": "npm run setup:demo && cd demo && npm start",
    "deploy:demo": "cd demo && npm run deploy:site",
    "one-stop-setup": "npm install --package-lock=false && run-s setup:demo ci",
    "prepublishOnly": "npm run ci",
    "preversion": "npm run lint",
    "version": "npm run format && git add -A src",
    "postversion": "git push && git push --tags"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/antvis/antv-spec.git"
  },
  "author": {
    "name": "AntV",
    "url": "https://antv.vision/"
  },
  "license": "MIT",
  "publishConfig": {
    "access": "public"
  },
  "bugs": {
    "url": "https://github.com/antvis/antv-spec/issues"
  },
  "homepage": "https://github.com/antvis/antv-spec#readme",
  "devDependencies": {
    "@antv/g2plot": "^2.3.27",
    "@antv/g6": "^4.3.11",
    "@babel/runtime": "^7.14.6",
    "@commitlint/cli": "^13.2.1",
    "@commitlint/config-conventional": "^13.2.0",
    "@rollup/plugin-commonjs": "^20.0.0",
    "@rollup/plugin-json": "^4.1.0",
    "@rollup/plugin-node-resolve": "^13.0.4",
    "@rollup/plugin-typescript": "^8.2.5",
    "@types/jest": "^27.0.2",
    "@types/jest-json-schema": "^2.1.3",
    "@typescript-eslint/eslint-plugin": "^4.28.3",
    "@typescript-eslint/parser": "^4.28.3",
    "eslint": "^7.30.0",
    "eslint-config-airbnb": "^18.2.1",
    "eslint-config-prettier": "^8.3.0",
    "eslint-import-resolver-typescript": "^2.4.0",
    "eslint-plugin-import": "^2.23.4",
    "eslint-plugin-prettier": "^3.4.0",
    "eslint-plugin-react": "^7.24.0",
    "husky": "^7.0.1",
    "jest": "^27.3.1",
    "jest-json-schema": "^5.0.0",
    "limit-size": "^0.1.4",
    "lint-staged": "^11.0.1",
    "npm-run-all": "^4.1.5",
    "prettier": "^2.3.2",
    "rimraf": "^3.0.2",
    "rollup": "^2.59.0",
    "rollup-plugin-terser": "^7.0.2",
    "ts-jest": "^27.0.7",
    "ts-json-schema-generator": "^0.94.1",
    "typescript": "^4.4.4"
  },
  "peerDependencies": {
    "@antv/g2plot": "^2.3.27",
    "@antv/g6": "^4.3.11"
  },
  "lint-staged": {
    "*.{ts,tsx}": [
      "eslint --fix",
      "prettier --write",
      "git add"
    ]
  },
  "limit-size": [
    {
      "path": "dist/index.min.js",
      "limit": "10 Kb",
      "gzip": true
    },
    {
      "path": "dist/index.min.js",
      "limit": "24 Kb"
    }
  ]
}
