-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
package.json
72 lines (72 loc) · 2.11 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
{
"name": "openfoodfacts-nodejs",
"version": "2.0.0",
"description": "Open Food Facts API NodeJS Wrapper",
"exports": [
"./dist/main.js"
],
"types": "dist/main.d.ts",
"scripts": {
"build": "yarn openapi && tsc",
"lint": "standard",
"commitmsg": "commitlint -quiet=0 --extends=@commitlint/config-conventional -e",
"precommit": "standard `git diff --name-only --staged --relative | grep '.js$'`",
"openapi": "yarn openapi:server && yarn openapi:robotoff",
"openapi:server": "openapi-typescript './server/docs/api/ref/**/*.{yml,yaml}' --output schemas/",
"openapi:robotoff": "openapi-typescript './robotoff/doc/references/api.yml' --output 'schemas/robotoff.ts'",
"fix": "standard --fix",
"test": "mocha --require ts-node/register test/**/*.ts",
"build:docs": "typedoc main.ts",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate"
},
"standard": {
"env": [
"mocha"
],
"ignore": [
"/docs/**/*.js"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/openfoodfacts/openfoodfacts-nodejs.git"
},
"keywords": [
"OFF",
"OpenFoodFacts",
"NodeJS",
"Wrapper"
],
"author": "openfoodfacts",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/openfoodfacts/openfoodfacts-nodejs/issues"
},
"homepage": "https://github.com/openfoodfacts/openfoodfacts-nodejs#readme",
"dependencies": {
"axios": "^1.4.0",
"node-fetch": "^3.3.1",
"openapi-fetch": "^0.6.1"
},
"devDependencies": {
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.1.0",
"@types/chai": "^4.3.5",
"@types/mocha": "^10.0.1",
"@types/mockery": "^1.4.30",
"@types/node-fetch": "^2.6.4",
"all-contributors-cli": "^6.24.0",
"boxy-jsdoc-template": "^2.0.2",
"chai": "^4.3.6",
"formdata-node": "^5.0.0",
"jsdoc": "^4.0.2",
"mocha": "^9.2.2",
"mockery": "^2.1.0",
"openapi-typescript": "^6.2.4",
"standard": "^17.0.0",
"typedoc": "^0.24.7",
"typescript": "^5.0.4"
},
"packageManager": "yarn@3.5.1"
}