-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
49 lines (49 loc) · 1.61 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
{
"name": "grouptripper",
"version": "1.0.0",
"description": "no content so far",
"main": "index.js",
"scripts": {
"preinstall": "(cd server && npm install); (cd client && npm install)",
"build": "npm run build:client && npm run build:server",
"heroku-postbuild": "npm run build:client && npm run build:server",
"build:client": "cd client && npm i --only=dev && npm run build",
"build:server": "cd server && npm i --only=dev && npm run build",
"postbuild": "if [ -d 'server/dist/build' ]; then rm -Rf server/dist/build; fi && mv client/build server/dist/build",
"heroku-cleanup": "if [ -d 'server/dist/build' ]; then rm -Rf server/dist/build; fi && mv client/build server/dist/build",
"test:client": "cd client && npm run test:coverage",
"test:server": "cd server && npm run test:coverage",
"test": "npm run test:client && npm run test:server",
"start": "node server/dist/index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hucki/grouptripper.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/hucki/grouptripper/issues"
},
"homepage": "https://github.com/hucki/grouptripper#readme",
"prettier": {
"singleQuote": true
},
"devDependencies": {
"husky": "^4.2.5",
"lerna": "^3.22.1",
"prettier": "^2.0.5"
},
"workspaces": [
"client",
"server"
],
"husky": {
"hooks": {
"pre-commit": "lerna run --concurrency 1 --stream precommit --since HEAD --exclude-dependents",
"post-commit": "cd client && npm run postcommit"
}
},
"dependencies": {}
}