-
-
Notifications
You must be signed in to change notification settings - Fork 133
/
package.json
110 lines (110 loc) · 2.59 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": "apollo-upload-server",
"version": "4.0.2",
"description": "Enhances Apollo GraphQL Server for intuitive file uploads via GraphQL mutations.",
"license": "MIT",
"author": {
"name": "Jayden Seric",
"email": "[email protected]",
"url": "http://jaydenseric.com"
},
"repository": {
"type": "git",
"url": "https://github.com/jaydenseric/apollo-upload-server.git"
},
"homepage": "https://github.com/jaydenseric/apollo-upload-server#readme",
"bugs": "https://github.com/jaydenseric/apollo-upload-server/issues",
"keywords": [
"apollo",
"server",
"graphql",
"file",
"upload",
"multipart",
"koa",
"express"
],
"files": [
"lib",
"!lib/test.*"
],
"main": "lib",
"module": "lib/index.mjs",
"engines": {
"node": ">=6.10"
},
"dependencies": {
"@babel/runtime": "^7.0.0-beta.38",
"busboy": "^0.2.14",
"object-path": "^0.11.4"
},
"peerDependencies": {
"graphql": "0.11 - 0.12"
},
"devDependencies": {
"@babel/cli": "^7.0.0-beta.38",
"@babel/core": "^7.0.0-beta.38",
"@babel/plugin-transform-runtime": "^7.0.0-beta.38",
"@babel/preset-env": "^7.0.0-beta.38",
"ava": "^0.25.0",
"eslint": "^4.16.0",
"eslint-plugin-prettier": "^2.5.0",
"form-data": "^2.3.1",
"get-port": "^3.2.0",
"graphql": "^0.12.3",
"husky": "^0.14.3",
"koa": "^2.4.1",
"lint-staged": "^6.1.0",
"prettier": "^1.10.2",
"rimraf": "^2.6.2"
},
"scripts": {
"build": "rimraf lib && npm run build:js && npm run build:mjs && prettier --write 'lib/**/*.{js,mjs}'",
"build:js": "babel src --out-dir lib",
"build:mjs": "MODULE=true babel src --out-dir lib --keep-file-extension",
"lint": "eslint . --ext js,mjs",
"fix": "npm run lint -- --fix && prettier --write '**/*.md'",
"pretest": "npm run lint && npm run build",
"test": "ava lib/test.js --serial --verbose",
"precommit": "lint-staged",
"prepublishOnly": "npm run test"
},
"lint-staged": {
"*.mjs": "eslint"
},
"eslintIgnore": [
"!.babelrc.js",
"lib"
],
"eslintConfig": {
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2017,
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"env": {
"es6": true,
"node": true
},
"extends": [
"eslint:recommended"
],
"plugins": [
"prettier"
],
"rules": {
"curly": [
"error",
"multi"
],
"prettier/prettier": "error"
}
},
"prettier": {
"proseWrap": "never",
"semi": false,
"singleQuote": true
}
}