This repository has been archived by the owner on May 20, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpackage.json
43 lines (43 loc) · 1.41 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
{
"name": "firebase-functions-graphql-example",
"version": "2.0.0",
"description": "GraphQL server running on Cloud Functions for Firebase",
"homepage":
"https://github.com/jthegedus/firebase-functions-graphql-example#readme",
"bugs": {
"url":
"https://github.com/jthegedus/firebase-functions-graphql-example/issues"
},
"license": "MIT",
"author": "James Hegedus",
"repository": {
"type": "git",
"url": "https://github.com/jthegedus/firebase-functions-graphql-example.git"
},
"scripts": {
"precommit": "lint-staged",
"predeploy": "yarn package:functions",
"deploy": "firebase deploy",
"format":
"prettier --write \"firebaseFunctions/**/*{.js, .json}\" && sort-package-json",
"postinstall": "cd firebaseFunctions && yarn",
"prepackage:functions": "rimraf \"dist/functions\"",
"package:functions":
"babel \"firebaseFunctions\" --out-dir \"dist/functions\" --copy-files --ignore \"node_modules\"",
"postpackage:functions": "cd \"dist/functions\" && yarn",
"preserve": "yarn package:functions",
"serve": "firebase serve --only functions"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.6.0",
"husky": "^0.14.3",
"lint-staged": "^4.2.3",
"prettier": "^1.7.4",
"rimraf": "^2.6.2",
"sort-package-json": "^1.7.1"
},
"lint-staged": {
"*.{js,json,css}": ["prettier --write", "git add"]
}
}