-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
67 lines (67 loc) · 2.54 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
{
"name": "fauna",
"version": "2.3.0",
"description": "A driver to query Fauna databases in browsers, Node.js, and other Javascript runtimes",
"homepage": "https://fauna.com",
"bugs": {
"url": "https://github.com/fauna/fauna-js/issues"
},
"files": [
"src/",
"dist/"
],
"main": "./dist/node/index.js",
"browser": "./dist/browser/index.js",
"types": "./dist/index.d.ts",
"repository": "https://github.com/fauna/fauna-js.git",
"license": "MPL-2.0",
"author": "Fauna",
"devDependencies": {
"@tsconfig/node18": "^1.0.1",
"@types/jest": "^29.5.12",
"@types/node": "^18.13.0",
"@types/serviceworker": "^0.0.67",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"esbuild": "^0.15.12",
"eslint": "^8.57.0",
"eslint-plugin-tsdoc": "^0.2.17",
"husky": "^8.0.1",
"jest": "^29.7.0",
"jest-fetch-mock": "^3.0.3",
"jest-junit": "^16.0.0",
"prettier": "^3.2.5",
"pretty-quick": "^4.0.0",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typedoc": "^0.26.5",
"typescript": "^5.4.3"
},
"scripts": {
"build": "rm -rf dist; yarn build:node; yarn build:browser; yarn build:types",
"build:browser": "esbuild src/index.ts --bundle --platform=browser --minify --sourcemap --format=esm --outfile=dist/browser/index.js",
"build:node": "esbuild src/index.ts --bundle --sourcemap --platform=node --outfile=dist/node/index.js",
"build:types": "tsc -emitDeclarationOnly --declaration true",
"doc": "typedoc",
"lint": "eslint -f unix \"src/**/*.{ts,tsx}\"",
"fauna-local": "docker start faunadb-local || docker run --rm -d --name faunadb-local -p 8443:8443 -p 8084:8084 fauna/faunadb",
"fauna-local-alt-port": "docker start faunadb-local-alt-port || docker run --rm -d --name faunadb-local-alt-port -p 7443:8443 -p 7084:8084 fauna/faunadb",
"prepare": "husky install",
"test": "yarn fauna-local; yarn fauna-local-alt-port; ./prepare-test-env.sh; jest",
"test:ci": "yarn install; jest --ci --reporters=default --reporters=jest-junit",
"test:integration": "yarn install; jest --run-in-band ./__tests__/integration",
"test:query-limits": "yarn install; jest ./__tests__/integration/query-limits.test.ts"
},
"jest-junit": {
"outputDirectory": "reports",
"outputName": "jest-junit.xml",
"ancestorSeparator": " › ",
"uniqueOutputName": "false",
"suiteNameTemplate": "{filepath}",
"classNameTemplate": "{classname}",
"titleTemplate": "{title}"
},
"dependencies": {
"base64-js": "^1.5.1"
}
}