/
package.json
81 lines (81 loc) · 2.72 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
{
"name": "@becode/trouvkach",
"version": "0.0.1",
"description": "A simple react/node app, locating the ATMs nearby.",
"author": "leny <leny@becode.org>",
"license": "MIT",
"private": true,
"scripts": {
"mongo:import:banks": "docker-compose exec mongo mongoimport --authenticationDatabase admin -u dev -p dev -c banks -d trouvkash --file /usr/dump/banks.json --jsonArray",
"mongo:import:terminals": "docker-compose exec mongo mongoimport --authenticationDatabase admin -u dev -p dev -c terminals -d trouvkash --file /usr/dump/terminals.json --jsonArray",
"lint": "npx eslint --fix --cache --ignore-pattern 'docs/*' src",
"build:server": "npx babel src/server -s --out-dir bin/server",
"work:server": "npx babel src/server -s --watch --verbose --out-dir bin/server",
"build:client": "npx webpack --progress --profile --colors",
"work:client": "npx webpack --env=dev --progress",
"build": "npm run build:server && npm run build:client",
"heroku-postbuild": "npm run mongo:verify && npm run build",
"start": "node bin/server/index.js"
},
"main": "bin/server/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/MorganeBeCode/trouvkach.git"
},
"keywords": [],
"bugs": {
"url": "https://github.com/MorganeBeCode/trouvkach/issues"
},
"homepage": "https://github.com/MorganeBeCode/trouvkach#readme",
"lint-staged": {
"*.js": [
"npx eslint --fix --cache",
"git add"
]
},
"devDependencies": {
"@babel/cli": "^7.1.0",
"@babel/core": "^7.1.0",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-proposal-decorators": "^7.1.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.1.0",
"@babel/preset-react": "^7.0.0",
"@becode/eslint-config": "^0.6.0",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.2",
"css-loader": "^3.2.1",
"eslint": "^6.3.0",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-unicorn": "^10.0.0",
"file-loader": "^4.2.0",
"html-webpack-plugin": "^3.2.0",
"husky": "^3.0.5",
"lint-staged": "^9.2.5",
"node-sass": "^4.13.0",
"prettier": "^1.18.2",
"sass-loader": "^8.0.0",
"style-loader": "^1.0.1",
"uglifyjs-webpack-plugin": "^2.0.1",
"webpack": "^4.20.2",
"webpack-cli": "^3.1.2"
},
"dependencies": {
"body-parser": "^1.19.0",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"leaflet": "^1.6.0",
"mongodb": "^3.3.5",
"mongoose": "^5.7.13",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-leaflet": "^2.6.0"
},
"husky": {
"hooks": {
"pre-commit": "npx lint-staged"
}
}
}