-
-
Notifications
You must be signed in to change notification settings - Fork 104
/
package.json
110 lines (110 loc) 路 3.08 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "@huchenme/github-trending",
"version": "0.0.0-development",
"description": "Get GitHub trending data",
"sideEffects": false,
"main": "dist/github-trending.cjs.js",
"module": "dist/github-trending.esm.js",
"types": "dist/index.d.ts",
"engines": {
"node": ">=8.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/huchenme/github-trending-api.git"
},
"keywords": [
"github",
"trending",
"api",
"node"
],
"author": "Hu Chen <chen@huchen.dev>",
"license": "MIT",
"bugs": {
"url": "https://github.com/huchenme/github-trending-api/issues",
"email": "chen@huchen.dev"
},
"homepage": "https://github.com/huchenme/github-trending-api#readme",
"dependencies": {
"@babel/runtime": "^7.4.5",
"cheerio": "^1.0.0-rc.3",
"cors": "^2.8.5",
"express": "^4.17.1",
"express-cache-controller": "^1.1.0",
"lodash": "^4.17.11",
"memory-cache": "^0.2.0",
"node-fetch": "^2.6.0"
},
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/node": "^7.4.5",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/plugin-proposal-object-rest-spread": "^7.4.4",
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/preset-env": "^7.4.5",
"@babel/preset-typescript": "^7.3.3",
"@types/cors": "^2.8.5",
"@types/express": "^4.17.0",
"@types/jest": "^24.0.17",
"@types/lodash": "^4.14.134",
"@types/memory-cache": "^0.2.0",
"@types/node-fetch": "^2.3.5",
"@typescript-eslint/eslint-plugin": "^1.10.2",
"@typescript-eslint/parser": "^1.10.2",
"babel-jest": "^24.8.0",
"babel-plugin-lodash": "^3.3.4",
"doctoc": "^1.4.0",
"eslint": "^5.16.0",
"eslint-config-kentcdodds": "14.3.4",
"husky": "^2.4.0",
"jest": "^24.8.0",
"lint-staged": "^9.0.0",
"nodemon": "^1.19.1",
"npm-run-all": "^4.1.5",
"prettier": "^1.18.2",
"rimraf": "^2.6.3",
"rollup": "^1.14.6",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-node-resolve": "^5.0.1",
"rollup-plugin-terser": "^5.0.0",
"semantic-release": "^15.13.12",
"travis-deploy-once": "^5.0.11",
"typescript": "^3.5.1"
},
"scripts": {
"dev": "nodemon --exec babel-node --extensions .ts ./src/server.ts",
"test": "jest --coverage",
"eslint": "eslint . --ext .ts,.js",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch",
"validate": "npm-run-all eslint type-check test",
"prebuild": "rimraf dist",
"build": "npm-run-all build:*",
"build:types": "tsc --emitDeclarationOnly",
"build:js": "NODE_ENV=production rollup -c",
"semantic-release": "semantic-release",
"travis-deploy-once": "travis-deploy-once",
"start": "node ./dist/server.cjs.js"
},
"lint-staged": {
"README.md": [
"doctoc",
"prettier --write",
"git add"
],
"**/!(README).+(md|js|json)": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn validate && lint-staged"
}
},
"prettier": {
"singleQuote": true,
"trailingComma": "es5"
}
}