-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
107 lines (107 loc) · 3.26 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
102
103
104
105
106
107
{
"name": "Tidsreisen Byaaa",
"version": "0.1.0",
"type": "module",
"private": true,
"scripts": {
"start": "cd server && node server.js",
"build": "npm run clean && npm ci --include=dev && npm install && npm run build:parcel",
"build:parcel": "cd client && parcel build src/index.html",
"clean": "rimraf client/dist dist .parcel-cache client/.parcel-cache",
"dev": "concurrently npm:dev:server npm:dev:client",
"dev:client": "cd client && parcel watch src/index.html",
"dev:server": "cd server && nodemon server.js",
"verify": "npm install && npm run format:check && npm run test:coverage",
"format:check": "prettier --check **/*.{js,jsx,json}",
"format": "prettier --write **/*.{jsx,js,json}",
"build:pwa": "cd client/src && pwa-asset-generator images/apple-touch-icon-180x180.png -i index.html -m manifest.webmanifest -o images/",
"test:coverage": "jest --collectCoverage",
"test": "jest"
},
"dependencies": {
"@parcel/config-default": "^2.5.0",
"@parcel/packager-raw-url": "^2.5.0",
"@parcel/service-worker": "^2.5.0",
"@parcel/transformer-raw": "^2.5.0",
"@parcel/transformer-webmanifest": "^2.5.0",
"body-parser": "^1.20.0",
"bootstrap": "^5.1.3",
"cookie-parser": "^1.4.6",
"dotenv": "^16.0.1",
"express": "^4.17.3",
"identity-obj-proxy": "^3.0.0",
"mapbox-gl": "^2.8.2",
"mapbox-gl-animated-popup": "^0.3.0",
"mapbox-gl-markers": "^0.0.1",
"mongodb": "^4.6.0",
"parcel": "^2.3.2",
"prop-types": "^15.8.1",
"qr-scanner": "^1.4.1",
"react": "^17.0.2",
"react-bootstrap": "^2.3.1",
"react-dom": "^17.0.2",
"react-icons": "^4.3.1",
"react-qr-reader": "^3.0.0-beta-1",
"react-router-dom": "^6.3.0",
"react-test-renderer": "^17.0.2",
"swiper": "^6.8.4"
},
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.18.2",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@parcel/transformer-sass": "^2.5.0",
"@shelf/jest-mongodb": "^3.0.1",
"@testing-library/react": "^12.1.5",
"babel-jest": "^27.5.1",
"concurrently": "^7.0.0",
"jest": "^28.1.0",
"jest-environment-jsdom": "^28.1.0",
"nodemon": "^2.0.15",
"prettier": "^2.6.2",
"process": "^0.11.10",
"pwa-asset-generator": "^6.0.8",
"rimraf": "^3.0.2",
"supertest": "^6.2.2"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current",
"esmodules": false
},
"modules": "commonjs"
}
],
[
"@babel/preset-react",
{
"runtime": "automatic"
}
]
]
},
"jest": {
"testEnvironment": "jest-environment-node",
"collectCoverageFrom": [
"**/*.js",
"**/*.jsx",
"!client/src/application.jsx",
"!client/src/helpers/http.jsx",
"!node_modules/**",
"!server/server.js",
"!coverage/**",
"!dist/**",
"!client/build/**",
"!client/src/index.jsx",
"!client/src/service-worker.js"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|sass)$": "identity-obj-proxy"
}
}
}