-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·88 lines (88 loc) · 2.91 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "@marching/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"
}
}