UNPKG

@marchingy/lunar

Version:

Chinese calendar with the 24 solar terms.

88 lines 2.89 kB
{ "name": "@marchingy/lunar", "version": "0.1.1", "author": "Marching Gray Young", "license": "MIT", "description": "Chinese calendar with the 24 solar terms.", "keywords": [ "chinese calendar", "solar term", "lunar", "new moon", "sexagesimal", "celestial stem", "terrestrial branch", "ecliptic longitude" ], "exports": { "import": { "path": "./lib/esm2015/index.js", "type": "module" }, "require": { "path": "./lib/cj/index.js", "type": "commonjs" } }, "main": "./lib/cj/index.js", "module": "./lib/index.js", "type": "module", "types": "./lib/index.d.ts", "typings": "./lib/index.d.ts", "directories": { "lib": "./lib" }, "files": [ "./lib/**/*" ], "esm2020": "./lib/index.js", "esm2015": "./lib/esm2015/index.js", "umd": "./lib/umd/index.js", "scripts": { "lint": "eslint -c .eslintrc.json --ext .ts ./src", "format": "prettier --write \"src/**/*.ts\"", "test": "jest --runInBand --config jestconfig.json", "test-watch": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --config jestconfig.json", "build": "tsc --build --clean && npm run build:curr && npm run build:es6 && npm run build:commonjs && npm run build:umd", "build:curr": "tsc --project tsconfig.src.json", "build:es6": "tsc --project tsconfig.src.json --declaration false --module es6 --target es6 --outDir lib/esm2015", "build:commonjs": "tsc --project tsconfig.src.json --declaration false --module commonjs --target es6 --outDir lib/cj", "build:umd": "tsc --project tsconfig.src.json --declaration false --module umd --target es6 --outDir lib/umd", "prepare": "npm run build", "prepublishOnly": "npm run lint", "preversion": "npm run lint", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags", "prettier:write": "npx prettier --write ./src", "prettier:check": "npx prettier --check ./src", "modifyScope": "ts-node --project tsconfig.node.json ./modify-scope.ts" }, "repository": { "type": "git", "url": "https://github.com/Marching/Lunar.git" }, "bugs": { "url": "https://github.com/Marching/Lunar/issues" }, "homepage": "https://github.com/Marching/Lunar#readme", "devDependencies": { "@types/jest": "^29.4.0", "@typescript-eslint/eslint-plugin": "^5.52.0", "@typescript-eslint/parser": "^5.52.0", "eslint": "^8.34.0", "eslint-config-prettier": "^8.6.0", "eslint-config-standard-with-typescript": "^34.0.0", "eslint-plugin-prettier": "^4.2.1", "husky": "^8.0.3", "jest": "^29.4.2", "lint-staged": "^13.1.2", "prettier": "^2.8.4", "ts-jest": "^29.0.5", "ts-node": "~10.9.1", "typescript": "^4.9.5" }, "peerDependencies": { "@types/geojson": "^7946.0.10", "ephemeris": "^2.0.0" } }