forked from crutchcorn/firebase-react-typescript-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
61 lines (61 loc) · 1.83 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
{
"name": "react-alkandev-template",
"version": "0.0.2",
"description": "A baseline React template with Firebase functions, database rules, simple auth, and general project structure",
"private": true,
"workspaces": [
"client-src",
"functions"
],
"author": "Alkan Vatansever <contact@alkan.dev>",
"license": "MIT",
"homepage": "alkan.dev",
"scripts": {
"serve": "run-s build \"firebase serve\"",
"deploy": "run-p build:* && firebase deploy --only hosting",
"serve:functions": "cd functions && npx -p node@6.11.5 -- npm run serve",
"serve:client": "npm --prefix ./client-src run start",
"build": "run-p build:*",
"build:client": "run-s runbuild:client copy:client",
"build:functions": "npm --prefix ./functions run build",
"runbuild:client": "npm --prefix ./client-src run build",
"copy:client": "cd client-src/build && copyfiles -a \"**/*\" ../../public/ && cd ../..",
"lint": "run-s lint:*",
"lint:client": "cd client-src && npm run lint",
"lint:functions": "cd functions && npm run lint",
"format": "run-s format:*",
"format:client": "cd client-src && npm run format",
"format:functions": "cd functions && npm run format",
"prepare": "husky install"
},
"dependencies": {
"copyfiles": "^2.4.1"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.28.3",
"@typescript-eslint/parser": "^4.28.3",
"eslint": "^7.30.0",
"husky": "^7.0.0",
"lint-staged": "^11.0.1",
"npm-run-all": "^4.1.5",
"typescript": "^4.4.3"
},
"lint-staged": {
"*.{ts,tsx}": [
"npm run format:client",
"npm run format:functions"
]
},
"repository": {
"type": "git",
"url": "https://github.com/AlkanV/respeech-web"
},
"keywords": [
"firebase",
"react",
"template",
"functions",
"hosting",
"auth"
]
}