-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 1.85 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
{
"name": "farso",
"version": "1.4.1",
"description": "Mocking library for NodeJS",
"keywords": [
"mock",
"express",
"HTTP",
"testing",
"nodejs",
"graphql"
],
"main": "./index.js",
"bin": {
"farso-server": "./server.js"
},
"repository": "https://github.com/redpelicans/farso",
"license": "MIT",
"dependencies": {
"@graphql-tools/graphql-file-loader": "^6.0.18",
"@graphql-tools/load": "^6.0.18",
"@graphql-tools/mock": "^6.0.18",
"@graphql-tools/schema": "^6.0.18",
"commander": "^2.15.1",
"cors": "^2.8.4",
"debug": "^3.1.0",
"express": "^4.16.3",
"glob": "^7.1.2",
"graphql": "^15.3.0",
"morgan": "^1.9.0",
"morgan-debug": "^2.0.0",
"ramda": "^0.27.1"
},
"scripts": {
"dist:add": "git add index.js server.js graphql.js",
"dist": "babel src -d . --ignore __tests__/*.js",
"start:server": "DEBUG=farso* nodemon --watch examples --watch ./graphql.js --watch ./index ./server.js",
"test": "DEBUG=Xfarso* jest src/*",
"lint:staged": "lint-staged",
"lint:eslint": "eslint --ignore-pattern '!.eslintrc.js'"
},
"lint-staged": {
"*.js": [
"prettier --write",
"git add",
"yarn lint:eslint"
]
},
"husky":{
"hooks": {
"pre-commit": "lint-staged && yarn dist && yarn dist:add"
}
},
"devDependencies": {
"axios": "^0.18.0",
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/node": "^7.4.5",
"@babel/preset-env": "7.4.5",
"babel-eslint": "10.0.1",
"babel-jest": "24.8.0",
"eslint": "^5.16.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.21.0",
"faker": "^4.1.0",
"husky": "^4.2.5",
"jest": "^24.8.0",
"lint-staged": "^8.0.4",
"nodemon": "^2.0.4",
"prettier": "^2.1.0"
},
"babel": {
"presets": [ "@babel/preset-env"]
}
}