forked from MediaComem/smapshot-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
139 lines (139 loc) · 5.32 KB
/
Copy pathpackage.json
File metadata and controls
139 lines (139 loc) · 5.32 KB
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "smapshot",
"version": "1.0.0",
"description": "The participative time machine",
"main": "app/server.js",
"author": "Timothée Produit",
"bin": "./bin/www",
"scripts": {
"compose:app": "docker compose up -d --build app",
"compose:migrate": "docker compose build base app && docker compose run --rm app npm run migrate:wait",
"compose:sequelize-cli": "docker compose build base app && docker compose run --rm app npx sequelize-cli",
"compose:test": "docker compose build base test_app && docker compose run --rm test_app",
"compose:test:coverage": "docker compose build base test_app && npx cross-env SHOW_OPENAPI_COVERAGE=true docker compose run --rm test_app npm run test:coverage",
"compose:test:debug": "npx cross-env LOG_LEVEL=silly SHOW_OPENAPI_COVERAGE=true npm run compose:test",
"dev": "concurrently \"npm run lint:watch\" \"npm run nodemon\"",
"dev:docker": "concurrently \"npm run lint:watch\" \"npm run nodemon:docker\"",
"doctoc": "doctoc --notitle --gitlab CHEATSHEET.md DEVELOPMENT.md README.md TODO.md",
"lint": "eslint app/**/*.js bin/www commands/**/*.js config/**/*.js db/**/*.js spec/**/*.js --fix",
"lint:watch": "onchange -p 1000 \"app/**/*.js\" \"bin/www\" \"commands/**/*.js\" \"config/**/*.js\" \"db/**/*.js\" \"spec/**/*.js\" -- npm run lint",
"migrate": "sequelize-cli db:migrate",
"migrate:wait": "npm run wait:db && npm run migrate",
"nodemon": "nodemon",
"nodemon:docker": "nodemon --legacy-watch --polling-interval 1000",
"openapi": "node commands/openapi",
"populate-dev-database": "node commands/populate-dev-database.js",
"precompile": "concurrently \"npm run openapi\" \"npm run schemas\"",
"schemas": "node commands/schemas",
"start": "npm run precompile && node ./bin/www",
"test": "npm run test:init && cross-env NODE_ENV=test mocha",
"test:ci": "npm run test:init && cross-env NODE_ENV=test mocha --forbid-only",
"test:coverage": "npm run test:init && cross-env NODE_ENV=test SHOW_OPENAPI_COVERAGE=true nyc mocha",
"test:coverage:watch": "onchange --delay 500 --exclude \"app/generated/**/*\" --initial --kill \"app/**/*.{js,json,yml}\" \"bin/www\" \"commands/**/*.js\" \"config/**/*.js\" \"locales/*.json\" \"spec/**/*.js\" -- npm run test:coverage",
"test:debug": "cross-env LOG_LEVEL=silly SHOW_OPENAPI_COVERAGE=true npm test",
"test:init": "concurrently \"npm run precompile\" \"npm run test:migrate\"",
"test:migrate": "cross-env NODE_ENV=test npm run migrate:wait",
"test:watch": "onchange --delay 500 --exclude \"app/generated/**/*\" --initial --kill \"app/**/*.{js,json,yml}\" \"bin/www\" \"commands/**/*.js\" \"config/**/*.js\" \"locales/*.json\" \"spec/**/*.js\" -- npm test",
"wait:db": "node commands/wait-for-the-database.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix"
]
},
"engines": {
"node": ">=12.0.0 <19.0.0"
},
"dependencies": {
"@aws-sdk/client-ses": "^3.658.1",
"@aws-sdk/credential-provider-node": "^3.658.1",
"@small-tech/express-ws": "^1.0.1",
"@techstark/opencv-js": "^4.10.0-release.1",
"@turf/bbox": "^6.5.0",
"@turf/helpers": "^6.5.0",
"@turf/turf": "^5.1.6",
"ajv": "^6.12.4",
"ajv-errors": "^1.0.1",
"axios": "^1.7.7",
"bcrypt": "^5.1.1",
"body-parser": "^1.20.3",
"bufferutil": "4.0.1",
"collada2gltf": "0.0.0",
"cors": "^2.8.5",
"crypto-promise": "^2.1.0",
"ecef-projector": "1.0.1",
"express": "^4.21.0",
"express-session": "^1.17.1",
"fs-extra": "^9.1.0",
"geojson": "^0.5.0",
"glob": "^7.2.3",
"group-array": "^1.0.0",
"helmet": "^3.23.3",
"http-status-codes": "^1.4.0",
"i18n": "^0.9.1",
"jimp": "^0.22.12",
"jsonwebtoken": "^9.0.2",
"lodash": "^4.17.21",
"mathjs": "^7.6.0",
"memorystore": "^1.6.7",
"morgan": "^1.10.0",
"node-fetch": "^2.7.0",
"nodemailer": "^6.9.15",
"passport": "~0.7.0",
"passport-facebook": "^3.0.0",
"passport-google-oauth": "^2.0.0",
"passport-jwt": "^4.0.1",
"passport-local": "^1.0.0",
"path": "^0.12.7",
"pg": "^8.11.3",
"proj4": "^2.9.2",
"sequelize": "^6.35.1",
"sequelize-cli": "^6.6.2",
"swagger-ui-express": "^4.6.3",
"utf-8-validate": "5.0.2",
"winston": "^3.11.0",
"ws": "^7.5.10"
},
"devDependencies": {
"@apidevtools/swagger-parser": "^10.0.1",
"chai": "^4.3.10",
"chalk": "^4.1.2",
"chance": "^1.1.11",
"concurrently": "^5.3.0",
"cross-env": "^7.0.3",
"doctoc": "^2.2.1",
"dotenv": "^8.6.0",
"eslint": "^7.32.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.3.1",
"he": "^1.2.0",
"http-proxy-middleware": "^1.3.1",
"husky": "^4.3.8",
"js-yaml": "^3.14.1",
"json-pointer": "^0.6.2",
"lint-staged": "^10.5.4",
"mocha": "^10.2.0",
"nodemon": "^3.0.2",
"nyc": "^15.1.0",
"onchange": "^7.1.0",
"sinon": "^9.2.4",
"sinon-chai": "^3.7.0",
"supertest": "^4.0.2",
"wait-port": "^0.2.14"
},
"repository": {
"type": "git",
"url": "git+ssh://git@gitlab.com/sysin/smapshot/back-end.git"
},
"license": "ISC",
"bugs": {
"url": "https://gitlab.com/sysin/smapshot/issues"
},
"homepage": "https://gitlab.com/sysin/smapshot#README"
}