-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
97 lines (97 loc) · 2.86 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
{
"name": "fauna-shell",
"description": "faunadb shell",
"version": "4.0.0-beta",
"author": "Fauna",
"type": "module",
"bin": {
"fauna": "dist/cli.cjs"
},
"bugs": "https://github.com/fauna/fauna-shell/issues",
"dependencies": {
"@inquirer/prompts": "^7.0.0",
"@shikijs/cli": "^1.24.0",
"awilix": "^12.0.2",
"chalk": "^5.3.0",
"dockerode": "^4.0.2",
"eslint": "^9.12.0",
"esprima": "^4.0.1",
"fauna": "^2.4.1",
"faunadb": "^4.8.2",
"has-ansi": "^6.0.0",
"inquirer": "^12.0.0",
"luxon": "^3.5.0",
"open": "10.1.0",
"shiki": "^1.15.2",
"update-notifier": "^7.3.1",
"yaml": "^2.6.1",
"yargs": "^17.7.2"
},
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.16.0",
"@fauna/typescript": "^0.0.12",
"@inquirer/testing": "^2.1.7",
"@types/chai": "^5.0.0",
"@types/mocha": "^10.0.1",
"@types/node": "^22.7.5",
"@types/sinon": "^17.0.3",
"@types/yargs": "^17.0.33",
"chai": "^5.1.1",
"esbuild": "^0.24.0",
"eslint-config-prettier": "^9.1.0",
"globals": "^15.10.0",
"husky": "^9.1.7",
"mocha": "^10.7.3",
"mocha-junit-reporter": "^2.2.1",
"mocha-multi-reporters": "^1.5.1",
"not-allowed": "^1.0.1",
"postject": "^1.0.0-alpha.6",
"prettier": "^3.3.3",
"sinon": "^19.0.2",
"sinon-called-with-diff": "^3.1.1",
"sinon-chai": "^4.0.0",
"strip-ansi": "^7.1.0",
"try-to-catch": "^3.0.1",
"typescript": "^5.6.3"
},
"engines": {
"node": ">=20.0.0"
},
"files": [
"/dist"
],
"homepage": "https://github.com/fauna/fauna-shell",
"keywords": [
"fauna",
"faunadb",
"shell",
"database",
"nosql",
"cli"
],
"license": "MPL-2.0",
"main": "./src/user-entrypoint.mjs",
"repository": {
"type": "git",
"url": "git+https://github.com/fauna/fauna-shell.git"
},
"scripts": {
"lint": "eslint . --fix",
"test": "npm run test:local",
"test:local": "mocha --recursive ./test --require ./test/mocha-root-hooks.mjs --reporter mocha-multi-reporters --reporter-options configFile=./test/config/reporter.json",
"pretest:ci": "npm run build:app",
"test:ci": "mocha --forbid-only --recursive ./test --require ./test/mocha-root-hooks.mjs --reporter mocha-multi-reporters --reporter-options configFile=./test/config/reporter.json",
"build": "npm run build:app && npm run build:sea",
"build:app": "esbuild --loader:.node=file --bundle ./src/user-entrypoint.mjs --platform=node --outfile=./dist/cli.cjs --format=cjs --inject:./sea/import-meta-url.js --define:import.meta.url=importMetaUrl --define:process.env.NODE_ENV=\\\"production\\\"",
"build:sea": "node ./sea/build.cjs",
"format": "prettier -w --log-level silent .",
"format:check": "prettier -c .",
"prepare": "husky"
},
"husky": {
"hooks": {
"pre-commit": "npm run pretest"
}
}
}