/
package.json
148 lines (148 loc) · 5.69 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
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
140
141
142
143
144
145
146
147
148
{
"name": "inventaire",
"type": "module",
"homepage": "https://inventaire.io",
"description": "a libre collaborative resources mapper powered by open-knowledge (server-side)",
"main": "server/server.ts",
"scripts": {
"build": "./scripts/typescript/build.sh",
"check-types": "./scripts/typescript/check_types.sh",
"create-entities-dumps": "./scripts/dumps/create_entities_dumps.sh",
"couchdb:backup-databases": "./scripts/couchdb/backup_databases.sh",
"couchdb:restore-databases": "./scripts/couchdb/restore_databases.sh",
"couchdb:preload-design-docs-changes": "./scripts/couchdb/check_disk_space_and_preload.sh",
"couchdb:cleanup-after-design-docs-changes": "./scripts/couchdb/cleanup_after_design_docs_changes.ts",
"db-actions:increment-user-undelivered-emails-count": "./scripts/db_actions/increment_user_undelivered_emails_count.ts",
"db-actions:update-user-role": "./scripts/db_actions/update_user_role.ts",
"db-actions:stop-emails-to-address": "./scripts/db_actions/stop_emails_to_address.ts",
"db-actions:delete-user": "./scripts/db_actions/delete_user.ts",
"debug": "DEBUG=express:* node server/server.ts",
"delete-tests-databases": "./scripts/tests/api/delete_tests_databases.sh",
"git-pre-commit": "./scripts/githooks/pre-commit.sh",
"git-post-checkout": "./scripts/githooks/post-checkout.sh",
"indexation:load": "./scripts/indexation/load.ts",
"indexation:load-from-couchdb": "./scripts/indexation/load_from_couchdb.sh",
"indexation:wikidata:load-from-dump": "./scripts/indexation/wikidata/load_from_dump.sh",
"inspect": "export NODE_ENV=dev ; node --inspect server/server.ts",
"install-client": "./scripts/install_client.sh",
"kill-tests-server": "./scripts/tests/api/kill_tests_server.sh",
"lint": "./scripts/lint.sh",
"lint-fix": "./scripts/lint_fix.sh",
"lint-staged": "./scripts/lint_staged.sh",
"lint-staged-fix": "./scripts/lint_staged.sh --fix",
"populate-users-fixtures": "./scripts/populate_users_fixtures.ts",
"postinstall": "./scripts/postinstall.sh",
"replicate-tests-db": "./scripts/tests/replicate_tests_db.ts",
"start": "tsx server/server.ts",
"start-built-server": "./scripts/typescript/start_built_server.sh",
"start-tests-server": "./scripts/tests/api/start_tests_server.sh",
"test": "./scripts/tests/run_tests.sh",
"test-api": "./scripts/tests/run_api_slow_tests.sh",
"test-api-quick": "./scripts/tests/run_api_quick_tests.sh",
"test-integration": "./scripts/tests/run_integration_tests.sh",
"test-unit": "./scripts/tests/run_unit_tests.sh",
"update-i18n": "./scripts/update_i18n.sh",
"update-toc": "./scripts/update_toc.sh",
"watch": "./scripts/start_dev_server.sh",
"watch-types": "tsc --project ./tsconfig.build.json --watch"
},
"license": "AGPL-3.0",
"repository": {
"type": "git",
"url": "https://github.com/inventaire/inventaire"
},
"dependencies": {
"@elastic/elasticsearch": "^8.12.2",
"@types/express": "^4.17.21",
"@types/express-serve-static-core": "^4.19.0",
"@types/levelup": "^5.1.5",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.10.1",
"@types/serve-static": "^1.15.7",
"@types/subleveldown": "^4.1.4",
"abort-controller": "^3.0.0",
"abstract-leveldown": "^7.2.0",
"blue-cot": "^9.0.1",
"body-parser": "^1.18.2",
"cloudant-follow": "^0.18.2",
"config": "^3.3.8",
"cookie-parser": "^1.4.0",
"cookie-session": "^1.3.2",
"credential": "^2.0.0",
"email-addresses": "^2.0.1",
"express": "^4.16.3",
"express-oauth-server": "^2.0.0",
"fold-to-ascii": "^5.0.0",
"formidable": "^3.5.1",
"gm": "^1.23.1",
"inventaire-i18n": "github:inventaire/inventaire-i18n",
"isbn-groups": "^2.0.1",
"isbn3": "^1.1.45",
"jiff": "^0.7.3",
"keygrip": "^1.1.0",
"level-jobs": "^2.1.1",
"level-party": "^5.1.1",
"level-ttl": "^3.1.1",
"leven": "^2.1.0",
"lodash-es": "^4.17.21",
"moment": "^2.21.0",
"mv": "^2.1.1",
"ndjson-apply": "^1.4.0",
"node-fetch": "^2.6.1",
"node-polyglot": "^1.0.0",
"nodemailer": "^6.7.1",
"nodemailer-express-handlebars": "^4.0.0",
"oauth-1.0a": "^2.2.6",
"oauth2-server": "^3.0.0",
"p-timeout": "^3.2.0",
"parseurl": "^1.3.3",
"passport": "^0.2.2",
"passport-http": "^0.3.0",
"passport-local": "^1.0.0",
"rss": "^1.2.2",
"serve-favicon": "^2.4.5",
"split": "^1.0.1",
"subleveldown": "^6.0.1",
"through": "^2.3.8",
"tiny-chalk": "^3.0.2",
"turtle-validator": "^1.0.2",
"type-fest": "^4.10.3",
"typescript": "^5.3.3",
"wikibase-edit": "^5.3.2",
"wikibase-sdk": "^10.0.2",
"wikidata-lang": "^4.0.2"
},
"devDependencies": {
"@stylistic/eslint-plugin-ts": "^1.6.3",
"@types/mocha": "^10.0.6",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"eslint": "^8.57.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.6.0",
"eslint-plugin-node-import": "^1.0.4",
"eslint-plugin-promise": "^6.0.0",
"form-data": "^4.0.0",
"mocha": "^10.3.0",
"papaparse": "^5.2.0",
"should": "^13.2.3",
"tsx": "^4.7.1"
},
"engines": {
"node": ">= 18"
},
"imports": {
"#controllers/*": "./server/controllers/*.js",
"#data/*": "./server/data/*.js",
"#db/*": "./server/db/*.js",
"#fixtures/*": "./tests/api/fixtures/*.js",
"#i18nAssets/*": "./inventaire-i18n/assets/*.js",
"#lib/*": "./server/lib/*.js",
"#models/*": "./server/models/*.js",
"#scripts/*": "./scripts/*.js",
"#server/*": "./server/*.js",
"#tests/*": "./tests/*.js",
"#types/*": "./server/types/*.js"
}
}