-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathpackage.json
101 lines (101 loc) · 3.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
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"devDependencies": {
"@pyoner/svelte-types": "^3.4.4-2",
"@testing-library/react-hooks": "^1.0.4",
"@types/algoliasearch": "^3.34.3",
"@types/cli-progress": "^1.8.1",
"@types/connect-mongo": "0.0.43",
"@types/debounce": "^1.2.0",
"@types/enzyme": "^3.9.1",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/google-map-react": "^0.23.11",
"@types/jest": "^24.0.20",
"@types/material-ui": "^0.21.6",
"@types/mongodb": "^3.3.1",
"@types/mongoose": "^5.5.17",
"@types/node": "^11.12.0",
"@types/react": "^16.9.2",
"@types/react-dom": "^16.8.3",
"@types/react-gtm-module": "^2.0.0",
"@types/react-native": "^0.57.65",
"@types/react-native-material-ui": "^1.32.0",
"@types/react-router-dom": "^5.1.0",
"@types/react-router-native": "^4.2.4",
"@types/simple-oauth2": "^2.2.1",
"@typescript-eslint/eslint-plugin": "^2.6.0",
"@typescript-eslint/parser": "^2.6.0",
"concurrently": "^5.2.0",
"cross-env": "^7.0.3",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.16.0",
"eslint-plugin-react-native": "^3.8.1",
"eslint-plugin-svelte3": "^2.7.3",
"glob": "^7.1.6",
"husky": "^1.3.1",
"import-sort-parser-typescript": "^6.0.0",
"jest": "^24.9.0",
"lint-staged": "^8.1.4",
"prettier": "^1.17.1",
"prettier-plugin-svelte": "^0.7.0",
"svelte": "^3.12.1",
"ts-jest": "^24.2.0",
"typescript": "^3.7.3"
},
"engines": {
"node": "^14.3.x",
"yarn": "^1.22.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"importSort": {
".js, .jsx, .es6, .es": {
"options": {},
"parser": "babylon",
"style": "eslint"
},
".ts, .tsx": {
"options": {},
"parser": "typescript",
"style": "eslint"
}
},
"license": "MIT",
"lint-staged": {
"packages/*/src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"yarn lint",
"git add"
]
},
"name": "upswyng",
"private": true,
"scripts": {
"build:local-packages": "yarn workspace @upswyng/types build && yarn workspace @upswyng/common build",
"build:server": "yarn build:local-packages && yarn workspace @upswyng/server build",
"build:web": "yarn build:local-packages && yarn workspace @upswyng/web build",
"build:local-db": "docker-compose up --build -d && npm run restore:db",
"restore:db": "mongorestore --port 27018 --username upswyng-dev-user --password upswyng123 -d upswyng-dev ./packages/server/localdb/mongodump",
"clean": "node clean.js",
"reset": "node clean.js --reset && docker compose down -v",
"heroku-postbuild": "yarn build:web && yarn build:server",
"lint": "tsc --noEmit && eslint \"packages/**/src/**/*.{js,jsx,ts,tsx}\" --fix",
"lint:ci": "tsc --noEmit && eslint \"packages/**/src/**/*.{js,jsx,ts,tsx}\" --quiet",
"test": "concurrently -n common,server -c yellow,blue \"yarn workspace @upswyng/common test:unit\" \"yarn workspace @upswyng/server test\" && yarn workspace @upswyng/web test",
"test:ci": "concurrently -n common,server -c yellow,blue \"yarn workspace @upswyng/common test:unit\" \"yarn workspace @upswyng/server test\" --kill-others-on-fail && yarn workspace @upswyng/web test",
"start:local": "./start_local.sh"
},
"version": "0.1.0",
"workspaces": [
"packages/*"
]
}