-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
127 lines (127 loc) · 3.14 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "micro-medium-api",
"version": "2.1.0",
"description": "Microservice for fetching the latest posts of Medium.",
"license": "MIT",
"repository": "evenchange4/micro-medium-api",
"author": "Michael Hsu <[email protected]>",
"bugs": {
"url": "https://github.com/evenchange4/micro-medium-api/issues",
"email": "[email protected]"
},
"homepage": "https://github.com/evenchange4/micro-medium-api#readme",
"bin": "bin/server.js",
"files": [
"src",
"bin"
],
"engineStrict": true,
"engines": {
"node": ">=8.0.0"
},
"scripts": {
"start": "micro src/index.js",
"dev": "micro-dev src/index.js",
"pkg": "rm -rf pkg && pkg . --out-path pkg",
"eslint": "eslint ./",
"format": "prettier --trailing-comma all --single-quote --write '{src,bin}/**/*.js'",
"test": "NODE_ENV='test' TZ='UTC' jest --coverage --runInBand --forceExit",
"test:watch": "npm run test -- --watch"
},
"now": {
"alias": "micro-medium-api",
"type": "npm",
"env": {
"NODE_ENV": "production"
}
},
"jest": {
"testEnvironment": "node",
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!src/**/*.test.{js,jsx}"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/coverage/",
"<rootDir>/pkg/"
]
},
"dependencies": {
"dataloader": "^1.3.0",
"graphql": "^0.11.3",
"graphql-server-micro": "^1.1.0",
"graphql-tools": "^1.2.2",
"micro": "^9.0.0",
"micro-compress": "^1.0.0",
"micro-cors": "^0.0.4",
"micro-ratelimit": "^0.2.0",
"microrouter": "^2.2.2",
"query-string": "^5.0.0",
"ramda": "^0.24.1",
"request-promise": "^4.2.1",
"update-notifier": "^2.2.0",
"yargs": "^8.0.2"
},
"devDependencies": {
"await-url": "^0.3.0",
"babel-eslint": "^8.0.0",
"codecov": "^2.3.0",
"eslint": "^4.6.1",
"eslint-config-airbnb": "^15.1.0",
"eslint-config-prettier": "^2.4.0",
"eslint-config-react-app": "^2.0.0",
"eslint-plugin-flowtype": "^2.35.1",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jest": "^21.1.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-prettier": "^2.2.0",
"eslint-plugin-react": "^7.3.0",
"jest": "^21.1.0",
"micro-dev": "^1.2.3",
"nock": "^9.0.14",
"now": "^8.3.1",
"pkg": "^4.2.4",
"prettier": "^1.7.0",
"test-listen": "^1.0.2"
},
"eslintConfig": {
"parser": "babel-eslint",
"extends": [
"react-app",
"airbnb",
"prettier",
"prettier/flowtype",
"prettier/react",
"plugin:jest/recommended"
],
"plugins": [
"prettier",
"jest"
],
"env": {
"jest/globals": true
},
"rules": {
"react/jsx-filename-extension": [
1,
{
"extensions": [
".js"
]
}
],
"import/no-extraneous-dependencies": 0,
"jsx-a11y/no-static-element-interactions": 0,
"react/forbid-prop-types": 0,
"react/require-default-props": 0,
"prettier/prettier": [
"error",
{
"singleQuote": true,
"trailingComma": "all"
}
]
}
}
}