UNPKG

lunar-lite

Version:

精简版的农历和阳历日期转换库。

58 lines (57 loc) 1.47 kB
{ "name": "lunar-lite", "version": "0.2.7", "description": "精简版的农历和阳历日期转换库。", "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { "build": "tsc", "format": "prettier --write \"src/**/*.ts\"", "lint": "eslint . --ext .ts", "test": "jest --config jestconfig.json --coverage", "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags" }, "files": [ "lib/**/*" ], "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "git+https://github.com/SylarLong/lunar-lite.git" }, "keywords": [ "Solar", "Lunar", "农历", "阳历", "日期转换" ], "author": "SylarLong", "license": "MIT", "bugs": { "url": "https://github.com/SylarLong/lunar-lite/issues", "email": "sylarlong@gmail.com" }, "devDependencies": { "@types/jest": "^29.5.3", "@typescript-eslint/eslint-plugin": "^6.4.1", "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", "ts-jest": "^29.1.1", "typescript": "^5.2.2" }, "dependencies": { "lunar-typescript": "^1.7.5" } }