Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
144 lines (144 loc) · 4.71 KB
/
Copy pathpackage.json
File metadata and controls
144 lines (144 loc) · 4.71 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"name": "realm",
"description": "Realm is a mobile database: an alternative to SQLite and key-value stores",
"version": "10.4.2",
"license": "See the actual license in the file LICENSE",
"homepage": "https://realm.io",
"keywords": [
"database",
"db",
"react",
"react-native",
"persistence",
"localstorage",
"sqlite",
"asyncstorage",
"rocksdb",
"leveldb",
"realm"
],
"author": {
"name": "Realm",
"email": "help@realm.io",
"url": "https://realm.io"
},
"repository": {
"type": "git",
"url": "https://github.com/realm/realm-js.git"
},
"bugs": {
"url": "https://github.com/realm/realm-js/issues"
},
"types": "types/index.d.ts",
"main": "lib/index.js",
"files": [
"cmake",
"lib",
"types",
"react-native",
"scripts",
"src",
"vendor",
"dependencies.list",
"react-native.config.js",
"RealmJS.podspec",
"CMakeLists.txt"
],
"scripts": {
"get-version": "node -p process.env.npm_package_version",
"set-version": "scripts/set-version.sh",
"lint": "eslint",
"test": "scripts/test.sh",
"package": "npm ci --ignore-scripts && prebuild",
"install": "prebuild-install -r napi || cmake-js rebuild",
"rebuild": "npm run rebuild-changes",
"build": "npm run build-changes",
"build:arm": "npm run build-changes:arm",
"build-changes": "cmake-js build --debug",
"build-changes:arm": "NODE_ARCH_ARM=1 cmake-js build --debug",
"rebuild-changes": "cmake-js rebuild --debug && cd tests && npm install",
"eslint": "npm install --ignore-scripts && npm run lint .",
"license-check": "npm install && license-checker --exclude \"MIT,ISC,BSD,Apache-2.0,BSD-2-Clause,BSD-3-Clause,WTFPL,Unlicense,(MIT AND CC-BY-3.0)\" | node scripts/handle-license-check.js",
"jsdoc:clean": "rimraf ./docs/output",
"jsdoc": "npm install --ignore-scripts && npm run jsdoc:clean && jsdoc -u docs/tutorials -p package.json -c docs/conf.json",
"prenode-tests": "npm install --build-from-source && cd tests && npm install",
"node-tests": "cd tests && npm run test && cd ..",
"test-runner:ava": "cd tests/test-runners/ava && npm install --build-from-source=realm && npm test",
"test-runner:mocha": "cd tests/test-runners/mocha && npm install --build-from-source=realm && npm test",
"test-runner:jest": "cd tests/test-runners/jest && npm install --build-from-source=realm && npm test",
"test-runners": "npm run test-runner:ava && npm run test-runner:mocha && npm run test-runner:jest",
"isWin": "node -p \"if (process.platform == 'win32') { process.exit(0); } else { process.exit(-1); }\"",
"check-environment": "node scripts/check-environment.js"
},
"dependencies": {
"bindings": "^1.5.0",
"bson": "^4.4.0",
"command-line-args": "^4.0.6",
"deepmerge": "2.1.0",
"deprecated-react-native-listview": "0.0.6",
"fs-extra": "^4.0.3",
"https-proxy-agent": "^2.2.4",
"ini": "^1.3.7",
"node-addon-api": "^3.1.0",
"node-fetch": "^2.6.1",
"node-machine-id": "^1.1.10",
"prebuild-install": "^6.1.1",
"progress": "^2.0.3",
"prop-types": "^15.6.2",
"realm-network-transport": "^0.7.0",
"request": "^2.88.0",
"stream-counter": "^1.0.0",
"sync-request": "^3.0.1",
"tar": "^6.0.1",
"url-parse": "^1.4.4"
},
"devDependencies": {
"@types/node": "^4.9.1",
"@typescript-eslint/eslint-plugin": "^2.28.0",
"@typescript-eslint/parser": "^2.28.0",
"babel-eslint": "^8.2.6",
"cmake-js": "^6.1.0",
"compare-versions": "^3.6.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-flowtype": "^4.7.0",
"eslint-plugin-header": "^3.0.0",
"eslint-plugin-jasmine": "^4.1.0",
"eslint-plugin-jsdoc": "^23.0.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-native": "^3.8.1",
"eslint-visitor-keys": "^1.1.0",
"fb-watchman": "^2.0.1",
"jasmine": "^3.4.0",
"jasmine-console-reporter": "^3.1.0",
"jasmine-xml-reporter": "^1.2.1",
"jsdoc": "3.6.3",
"lerna": "^3.20.2",
"license-checker": "^8.0.3",
"mockery": "^2.0.0",
"prebuild": "^10.0.1",
"prettier": "^2.0.4",
"rimraf": "^2.6.3",
"semver": "^5.6.0",
"shelljs": "^0.7.7",
"shx": "^0.2.2",
"tslint": "^6.0.0",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-plugin-prettier": "^2.1.0",
"typescript": "^3.8.2"
},
"engines": {
"node": ">=10"
},
"binary": {
"module_name": "realm",
"host": "https://static.realm.io",
"package_name": "realm-v{version}-napi-v4-{platform}-{arch}.tar.gz",
"remote_path": "realm-js-prebuilds/{version}",
"napi_versions": [
4
]
}
}