SylarLong/iztro

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "iztro",
  "version": "2.4.4",
  "description": "轻量级紫微斗数星盘生成库。可以通过出生年月日获取到紫微斗数星盘信息、生肖、星座等信息。A lightweight kit to astrolabe generator of The Purple Star Astrology (Zi Wei Dou Shu). The Purple Star Astrology(Zi Wei Dou Shu) is a Chinese ancient astrology. You're able to get your horoscope and personality from the astrolabe",
  "main": "lib/index.js",
  "types": "lib/index.d.ts",
  "unpkg": "dist/iztro.min.js",
  "jsdelivr": "dist/iztro.min.js",
  "scripts": {
    "build": "tsc",
    "build:umd": "webpack",
    "format": "prettier --write \"src/**/*.ts\"",
    "lint": "eslint . --ext .ts",
    "test": "jest --config jestconfig.json --coverage",
    "prepare": "yarn build",
    "prepublishOnly": "npm test && yarn lint && yarn build:umd",
    "preversion": "yarn lint",
    "version": "yarn format && git add -A src",
    "postversion": "git push && git push --tags"
  },
  "files": [
    "lib/**/*",
    "dist/**/*"
  ],
  "publishConfig": {
    "access": "public"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/SylarLong/iztro.git"
  },
  "keywords": [
    "紫微斗數",
    "紫微斗数",
    "紫微斗数排盘",
    "紫微斗數排盤",
    "ziweidoushu",
    "astrology",
    "horoscope",
    "ephemeris",
    "zodiac",
    "sign"
  ],
  "author": "SylarLong",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/SylarLong/iztro/issues",
    "email": "sylarlong@gmail.com"
  },
  "homepage": "https://docs.iztro.com",
  "devDependencies": {
    "@babel/core": "^7.23.2",
    "@babel/preset-env": "^7.23.2",
    "@babel/preset-typescript": "^7.23.2",
    "@types/jest": "^29.5.3",
    "@typescript-eslint/eslint-plugin": "^6.4.1",
    "babel-loader": "^9.1.3",
    "eslint": "^8.47.0",
    "eslint-config-standard-with-typescript": "^38.0.0",
    "eslint-plugin-import": "^2.28.1",
    "eslint-plugin-n": "^16.0.2",
    "eslint-plugin-promise": "^6.1.1",
    "jest": "^29.6.2",
    "prettier": "^3.0.0",
    "terser-webpack-plugin": "^5.3.9",
    "ts-jest": "^29.1.1",
    "typescript": "^5.2.2",
    "webpack": "^5.94.0",
    "webpack-cli": "^5.1.4"
  },
  "dependencies": {
    "dayjs": "^1.11.10",
    "i18next": "^23.5.1",
    "lunar-lite": "^0.2.3"
  }
}