{
    "name": "@antv/color-schema",
    "version": "0.2.3",
    "description": "JSON Schema for Color Palette",
    "main": "lib/src/index.js",
    "types": "lib/src/index.d.ts",
    "unpkg": "dist/index.min.js",
    "module": "esm/src/index.js",
    "files": [
        "src",
        "esm",
        "lib",
        "build"
    ],
    "scripts": {
        "clean": "rimraf lib esm dist",
        "lint-staged": "lint-staged",
        "size": "limit-size",
        "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",
        "test": "jest",
        "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:*",
        "schema": "mkdir -p build && ts-json-schema-generator -f tsconfig.json -p src/index.ts -t ColorSchema --no-type-check --no-ref-encode > build/color-schema.json",
        "ci": "run-s lint test build schema",
        "prepublishOnly": "npm run ci",
        "prepare": "husky install",
        "setup:demo": "cd demo && npm install --package-lock=false",
        "start:demo": "npm run setup:demo && cd demo && npm start",
        "deploy:site": "cd demo && npm run deploy:site",
        "preversion": "npm run lint",
        "version": "npm run format && git add -A src",
        "postversion": "git push && git push --tags",
        "one-stop-setup": "npm install --package-lock=false && run-s build setup:demo"
    },
    "repository": {
        "type": "git",
        "url": "git+https://github.com/antvis/color-schema.git"
    },
    "author": {
        "name": "AntV",
        "url": "https://antv.vision/"
    },
    "license": "MIT",
    "homepage": "https://antvis.github.io/color-schema",
    "publishConfig": {
        "access": "public"
    },
    "bugs": {
        "url": "https://github.com/antvis/color-schema/issues"
    },
    "dependencies": {
        "@types/chroma-js": "^2.1.3"
    },
    "devDependencies": {
        "@babel/runtime": "^7.13.10",
        "@commitlint/cli": "^12.1.4",
        "@commitlint/config-conventional": "^12.1.4",
        "@rollup/plugin-commonjs": "^21.0.1",
        "@rollup/plugin-node-resolve": "^13.0.0",
        "@rollup/plugin-typescript": "^8.2.1",
        "@types/jest": "^26.0.22",
        "@types/jest-json-schema": "^2.1.3",
        "@typescript-eslint/eslint-plugin": "^4.28.3",
        "@typescript-eslint/parser": "^4.28.3",
        "ajv": "^8.0.4",
        "chroma-js": "^2.1.1",
        "eslint": "^7.29.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": "^26.6.3",
        "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.0",
        "rimraf": "^3.0.2",
        "rollup": "^2.53.1",
        "rollup-plugin-terser": "^7.0.2",
        "ts-jest": "^26.5.4",
        "ts-json-schema-generator": "^0.89.2",
        "typescript": "^4.2.4"
    },
    "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": "24 Kb"
        }
    ]
}
