-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
41 lines (41 loc) · 1.45 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
{
"name": "immoarchive",
"version": "1.0.0",
"description": "",
"scripts": {
"prepare": "husky install",
"lint": "eslint",
"format": "npx prettier --write",
"dev": "concurrently \"npm run start --prefix back\" \"npm run dev --prefix front\"",
"test-e2e": "cd front && npx cypress run",
"dev:test-e2e": "start-server-and-test dev http://localhost:3000 test-e2e",
"pre-commit": "npx lint-staged",
"pre-push": "cd front && npx cypress run --component && cd ../ && npm run dev:test-e2e",
"dev:function": "CLOUD_FUNCTION=true concurrently \"npm run dev --prefix front\" \" cd back && npm run compile && cd dist && npx functions-framework --target=app --port=5001 [--signature-type=http] \"",
"deploy:function": "cd back && npm run compile && cp package.json ./dist && cd dist && sh deployFunction.sh"
},
"lint-staged": {
"*.{ts,tsx}": [
"npm run lint",
"npm run format"
]
},
"author": "",
"license": "ISC",
"devDependencies": {
"concurrently": "^8.2.0",
"eslint": "^8.44.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"nodemon": "^2.0.22",
"prettier": "^2.8.8",
"start-server-and-test": "^2.0.0"
},
"prettier": {
"trailingComma": "none",
"tabWidth": 4,
"semi": false,
"singleQuote": true,
"jsxSingleQuote": true
}
}