-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 1.31 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
{
"name": "@postlight/seasons",
"version": "1.0.0",
"description": "Calculates the astronomical season for a given date or year",
"exports": {
".": {
"import": {
"types": "./lib/esm/types/index.d.ts",
"default": "./lib/esm/index.mjs"
},
"require": {
"types": "./lib/cjs/types/index.d.ts",
"default": "./lib/cjs/index.js"
}
}
},
"types": "./lib/cjs/types/index.d.ts",
"main": "./lib/cjs/index.js",
"files": [
"lib/**/*"
],
"scripts": {
"clean": "rm -rf ./lib",
"build": "npm run clean && npm run build:esm && npm run build:cjs",
"build:esm": "tsc -p ./tsconfig.esm.json && mv lib/esm/index.js lib/esm/index.mjs",
"build:cjs": "tsc -p ./tsconfig.cjs.json",
"prepack": "npm run build",
"test": "TZ=EST jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/postlight/seasons.git"
},
"keywords": [
"season",
"astronomical",
"calculations",
"equinox",
"solstice"
],
"author": "Postlight",
"license": "MIT",
"bugs": {
"url": "https://github.com/postlight/seasons/issues"
},
"homepage": "https://github.com/postlight/seasons#readme",
"devDependencies": {
"@types/jest": "^29.4.0",
"jest": "^29.5.0",
"ts-jest": "^29.0.5",
"typescript": "^4.9.5"
}
}