-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 2.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
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
{
"name": "sunrise-sunset-api",
"version": "0.2.1",
"description": "Client library for the sunrise-sunset.org API",
"keywords": [
"sunrise",
"sunset"
],
"homepage": "https://github.com/dguo/sunrise-sunset-js",
"repository": {
"type": "git",
"url": "https://github.com/dguo/sunrise-sunset-js.git"
},
"author": {
"name": "Danny Guo",
"email": "danny@dannyguo.com",
"url": "https://dannyguo.com"
},
"files": [
"build"
],
"main": "build/index.js",
"types": "build/index.d.ts",
"sideEffects": false,
"license": "MIT",
"scripts": {
"build": "yarn run clean && tsc",
"build:watch": "yarn run clean && tsc --watch",
"clean": "rimraf build",
"format": "prettier --write \"./**/*.{json,ts}\"",
"format:check": "prettier --list-different \"./**/*.{json,ts}\"",
"example": "node example.js",
"lint": "eslint \"./**/*.ts\"",
"prepublishOnly": "yarn run format && yarn run lint && yarn run test && yarn run build",
"start": "yarn install && yarn run build:watch",
"test": "jest",
"test:watch": "jest --watchAll"
},
"dependencies": {
"camelcase-keys": "^6.2.2",
"ky": "0.25.1",
"ky-universal": "^0.8.2"
},
"devDependencies": {
"@types/jest": "^26.0.23",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.3.0",
"fetch-mock-jest": "^1.5.1",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"ts-jest": "^26.5.5",
"typescript": "^4.2.4"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"env": {
"shared-node-browser": true
}
},
"jest": {
"collectCoverage": true,
"coverageDirectory": "./coverage/",
"preset": "ts-jest",
"testEnvironment": "node"
},
"prettier": {
"bracketSpacing": false,
"tabWidth": 4
}
}