{
    "name": "thu-info-lib",
    "version": "7.1.5",
    "description": "The JavaScript library that provides a program-friendly interface to Tsinghua web portal",
    "main": "dist/index.js",
    "files": [
        "dist/**/*",
        "src/**/*"
    ],
    "scripts": {
        "build": "tsc",
        "test": "OPENSSL_CONF=${PWD}/openssl.cnf jest",
        "play": "OPENSSL_CONF=${PWD}/openssl.cnf node -r esm --experimental-repl-await",
        "demo": "OPENSSL_CONF=${PWD}/openssl.cnf node -r esm demo.js",
        "lint": "eslint src --ext .js,.jsx,.ts,.tsx",
        "fix": "eslint src --ext .js,.jsx,.ts,.tsx --fix",
        "preversion": "git pull --rebase && node -e \"require('editor')('release')\" && git add release && yarn lint && yarn test",
        "build-dist": "webpack --config webpack.config.js",
        "watch-dist": "webpack -w --config webpack.config.js"
    },
    "keywords": [
        "tsinghua",
        "thu",
        "info",
        "thuinfo",
        "thu-info",
        "thu info"
    ],
    "maintainers": [
        {
            "name": "UNIDY2002",
            "email": "UNIDY2002@outlook.com"
        },
        {
            "name": "Ashitemaru",
            "email": "qhd19@mails.tsinghua.edu.cn"
        }
    ],
    "license": "MIT",
    "repository": {
        "type": "git",
        "url": "https://github.com/thu-info-community/thu-info-lib.git"
    },
    "dependencies": {
        "abort-controller": "3.0.0",
        "cheerio": "1.0.0-rc.12",
        "cross-fetch": "4.0.0",
        "crypto-js": "4.1.1",
        "dayjs": "1.11.9",
        "he": "^1.2.0",
        "iconv-lite": "0.6.3",
        "image-size": "^1.0.1",
        "jspdf": "^2.5.1"
    },
    "devDependencies": {
        "@types/cheerio": "0.22.32",
        "@types/crypto-js": "4.1.2",
        "@types/he": "1.2.1",
        "@typescript-eslint/eslint-plugin": "6.7.0",
        "@typescript-eslint/parser": "6.7.0",
        "editor": "1.0.0",
        "eslint": "8.49.0",
        "esm": "3.2.25",
        "jest": "29.7.0",
        "node-polyfill-webpack-plugin": "2.0.1",
        "pre-commit": "1.2.2",
        "readline-sync": "1.4.10",
        "semver": "7.5.4",
        "ts-jest": "29.1.1",
        "ts-loader": "9.4.4",
        "typescript": "5.2.2",
        "webpack": "5.88.2",
        "webpack-cli": "5.1.4"
    },
    "pre-commit": [
        "lint"
    ],
    "jest": {
        "preset": "ts-jest",
        "testEnvironment": "node"
    }
}
