Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
114 lines (114 loc) · 2.64 KB
/
Copy pathpackage.json
File metadata and controls
114 lines (114 loc) · 2.64 KB
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
{
"name": "realm-web",
"version": "1.0.0",
"description": "Authenticate and communicate with the Atlas Mongo 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": "ts-node --project scripts/tsconfig.json scripts/postversion.ts",
"docs": "wireit"
},
"wireit": {
"build": {
"command": "tsc"
},
"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",
"realtime",
"socket",
"mongo"
],
"author": {
"name": "Alian Software",
"email": "help@realm.io",
"url": "https://www.mongodb.com/docs/realm/"
},
"repository": {
"type": "git",
"url": "https://github.com/aliansoftwareteam/realm-web.git",
"directory": "test-realm"
},
"homepage": "https://github.com/aliansoftwareteam/realm-web",
"bugs": {
"url": "https://github.com/aliansoftwareteam/realm-web/issues"
},
"license": "ISC",
"dependencies": {
"@realm/common": "^0.1.4",
"abort-controller": "^3.0.0",
"bson": "^4.5.4",
"detect-browser": "^5.2.1",
"js-base64": "^3.7.6",
"node-fetch": "^3.3.2",
"realm-web": "^2.0.0"
},
"devDependencies": {
"@realm/fetch": "^0.1.0",
"@types/chai": "^4.2.9",
"@types/fs-extra": "^11.0.4",
"@types/js-base64": "^3.3.1",
"@types/mocha": "^10.0.6",
"chai": "4.3.6",
"fs-extra": "^11.2.0",
"mocha": "^10.2.0",
"typescript": "^5.4.5",
"wireit": "^0.14.4"
},
"engines": {
"node": ">=18"
}
}