forked from realm/realm-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
128 lines (128 loc) · 4.65 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
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
{
"name": "realm",
"description": "Realm is a mobile database: an alternative to SQLite and key-value stores",
"version": "2.16.0-rc.2",
"license": "Apache-2.0",
"homepage": "https://realm.io",
"keywords": [
"database",
"db",
"react",
"react-native",
"persistence",
"localstorage",
"sqlite",
"asyncstorage",
"rocksdb",
"leveldb",
"realm"
],
"author": {
"name": "Realm",
"email": "[email protected]",
"url": "https://realm.io"
},
"repository": {
"type": "git",
"url": "https://github.com/realm/realm-js.git"
},
"bugs": {
"url": "https://github.com/realm/realm-js/issues"
},
"typings": "./lib/index.d.ts",
"main": "lib/index.js",
"files": [
"android",
"lib",
"react-native",
"scripts",
"src",
"vendor",
"tests",
"binding.gyp",
"realm.gypi",
"target_defaults.gypi",
"dependencies.list"
],
"scripts": {
"get-version": "node -p process.env.npm_package_version",
"set-version": "scripts/set-version.sh",
"lint": "eslint",
"test": "scripts/test.sh",
"install": "node-pre-gyp install --fallback-to-build",
"build-changes": "node-pre-gyp build --debug",
"rebuild-changes": "node-pre-gyp rebuild --debug && cd tests && npm install",
"prepublish": "echo prepublishing && node scripts/prepublish.js",
"eslint": "npm install && 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 && npm run jsdoc:clean && jsdoc -u docs/tutorials -p package.json -c docs/conf.json",
"prenode-tests": "npm install --build-from-source=realm && 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",
"isMac": "node -p \"if (process.platform == 'darwin') { process.exit(0); } else { process.exit(-1); }\"",
"testMac": "npm run isMac -s && echo this is mac || echo . ",
"isWin": "node -p \"if (process.platform == 'win32') { process.exit(0); } else { process.exit(-1); }\"",
"prealias:win:apply": "git config alias.apply-win-symlink-aliases \"!f() { $(scripts/git-win-symlink-aliases); }; f\"",
"alias:win:apply": "git apply-win-symlink-aliases",
"postalias:win:apply": "git config --unset alias.apply-win-symlink-aliases",
"alias:win:revert": "git config alias.rm-symlink \"\" && git config alias.rm-symlinks \"\" && git config alias.checkout-symlinks \"\"",
"win-fix-symlinks": "npm run isWin -s && npm run alias:win:apply && git checkout-symlinks && git rm-symlinks || echo . ",
"win-revert-symlinks": "npm run isWin -s && npm run alias:win:apply && git checkout-symlinks && npm run alias:win:revert || echo .",
"prereact-tests-android": "npm run isWin -s && npm run win-fix-symlinks || echo . ",
"react-tests-android": "node scripts/react-tests-android.js || npm run postreact-tests-android",
"postreact-tests-android": "npm run win-revert-symlinks",
"check-environment": "node scripts/check-environment.js"
},
"dependencies": {
"command-line-args": "^4.0.6",
"decompress": "^4.2.0",
"deepmerge": "2.1.0",
"fs-extra": "^4.0.2",
"ini": "^1.3.4",
"nan": "2.8.0",
"node-fetch": "^1.6.3",
"node-pre-gyp": "^0.11.0",
"progress": "^2.0.0",
"prop-types": "^15.5.10",
"request": "^2.88.0",
"stream-counter": "^1.0.0",
"sync-request": "^3.0.1",
"url-parse": "^1.2.0"
},
"devDependencies": {
"@types/node": "^4.0.35",
"babel-eslint": "^8.2.6",
"eslint": "^5.3.0",
"eslint-plugin-jasmine": "^2.1.0",
"eslint-plugin-react": "^6.7.0",
"jsdoc": "^3.5.5",
"license-checker": "^8.0.3",
"mockery": "^2.0.0",
"rimraf": "^2.6.1",
"semver": "^5.1.0",
"shelljs": "^0.7.7",
"shx": "^0.2.2"
},
"rnpm": {
"ios": {
"project": "react-native/ios/RealmReact.xcodeproj",
"sharedLibraries": [
"libc++",
"libz"
]
}
},
"engines": {
"node": ">=6"
},
"binary": {
"module_name": "realm",
"module_path": "./compiled/{node_abi}_{platform}_{arch}/",
"host": "https://static.realm.io",
"remote_path": "/node-pre-gyp/{version}/"
}
}