-
Notifications
You must be signed in to change notification settings - Fork 585
/
Copy pathpackage.json
97 lines (97 loc) · 2.22 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": "realm-web",
"version": "2.0.1",
"description": "Authenticate and communicate with the Atlas App Services, from your web-browser",
"main": "./dist/bundle.cjs.js",
"module": "./dist/bundle.es.js",
"types": "./dist/bundle.d.ts",
"unpkg": "./dist/bundle.iife.js",
"browser": {
"./dist/bundle.cjs.js": "./dist/bundle.dom.cjs.js",
"./dist/bundle.es.js": "./dist/bundle.dom.es.js"
},
"scripts": {
"bundle": "wireit",
"start": "npm run bundle -- --watch",
"lint": "eslint --ext .js,.ts .",
"test": "mocha",
"postversion": "tsx scripts/postversion.ts",
"docs": "wireit"
},
"wireit": {
"bundle": {
"command": "rollup --config",
"dependencies": [
"generate-types",
"../fetch:build"
],
"files": [
"rollup.config.mjs",
"src/**/*.ts",
"src/**/tsconfig.json",
"tsconfig.json",
"types"
],
"output": [
"dist"
]
},
"generate-types": {
"command": "tsc --project src/dom/tsconfig.json --declaration --emitDeclarationOnly --declarationDir types/generated",
"dependencies": [
"../realm-common:bundle"
],
"files": [
"src/**/*.ts",
"src/**/tsconfig.json",
"tsconfig.json"
],
"output": [
"types/generated"
]
},
"docs": {
"command": "typedoc",
"dependencies": [
"bundle"
]
}
},
"files": [
"dist",
"types/realm",
"LICENSE"
],
"keywords": [
"realm",
"browser"
],
"author": {
"name": "MongoDB",
"email": "help@realm.io",
"url": "https://www.mongodb.com/docs/realm/"
},
"repository": {
"type": "git",
"url": "https://github.com/realm/realm-js.git",
"directory": "packages/realm-web"
},
"homepage": "https://github.com/realm/realm-js/tree/main/packages/realm-web#readme",
"bugs": {
"url": "https://github.com/realm/realm-js/issues"
},
"license": "Apache-2.0",
"dependencies": {
"@realm/common": "^0.1.4",
"bson": "^4.5.4",
"detect-browser": "^5.2.1",
"js-base64": "^3.7.6"
},
"devDependencies": {
"@realm/fetch": "^0.1.0",
"@types/js-base64": "^3.3.1"
},
"engines": {
"node": ">=18"
}
}