-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 1.75 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
{
"name": "true-badge-web",
"version": "1.0.0",
"description": "\"Express server for TrueBadge\"",
"main": "src/index.js",
"dependencies": {
"@babel/cli": "^7.8.4",
"body-parser": "^1.19.0",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"mongodb": "^3.5.3",
"morgan": "^1.10.0",
"multer": "^1.4.2",
"rimraf": "^3.0.2"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/node": "^7.8.4",
"@babel/polyfill": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@shelf/jest-mongodb": "^1.1.5",
"babel-jest": "^25.1.0",
"babel-loader": "^8.0.6",
"jest": "^25.1.0",
"nodemon": "^2.0.2",
"supertest": "^4.0.2"
},
"scripts": {
"clean": "rm -rf build uploads/* && mkdir build build/uploads",
"build-babel": "babel src --out-dir ./build/src --source-maps",
"build": "npm run clean && npm run build-babel",
"start": "npm run build && node ./build/src/index.js",
"dev": "nodemon src/index.js --exec babel-node",
"prod": "npm run build && node ./build/src/index.js",
"test": "jest",
"test -debug": "jest --detectOpenHandles"
},
"babel": {
"presets": [
"@babel/preset-env"
]
},
"jest": {
"testEnvironment": "node",
"coveragePathIgnorePatterns": [
"/node_modules/"
],
"testRegex": "./test/.*test.js$",
"transform": {
"^.+\\.(js|jsx)?$": "babel-jest"
},
"setupFiles": [
"./test/setup.js"
],
"preset": "@shelf/jest-mongodb"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Michielu/true-badge-web.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/Michielu/true-badge-web/issues"
},
"homepage": "https://github.com/Michielu/true-badge-web#readme"
}