forked from Widdershin/mmap-io
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
78 lines (78 loc) · 2.58 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
{
"name": "@baliset/mmap-io",
"version": "1.4.1",
"license": "MIT",
"author": {
"name": "Oscar Campbell",
"email": "[email protected]",
"url": "https://github.com/ozra"
},
"binary": {
"module_name": "mmap_io",
"module_path": "./build/binding/{configuration}/{node_abi}-{platform}-{arch}/",
"remote_path": "./v{version}/",
"package_name": "{module_name}-v{version}-{node_abi}-{platform}-{arch}.tar.gz",
"host": "https://github.com/baliset/mmap-io/releases/download/"
},
"description": "io.js/node.js mmap bindings revisited.",
"homepage": "https://github.com/baliset/mmap-io",
"keywords": [
"low level",
"file",
"memory mapped",
"mmap",
"advise",
"sync",
"shared memory",
"C++",
"performance"
],
"repository": {
"type": "git",
"url": "https://github.com/baliset/mmap-io.git"
},
"bugs": {
"url": "http://github.com/baliset/mmap-io/issues"
},
"main": "mmap-io.js",
"files": [
"binding.gyp",
"LICENSE",
"dist",
"mmap-io.d.ts",
"mmap-io.js",
"package.json",
"package-lock.json",
"README.md",
"src"
],
"scripts": {
"clean": "rm -rf build dist",
"build": "npm run build-addon && npm run build-es",
"build-addon": "node-pre-gyp install --fallback-to-build",
"build-es": "run-script-os",
"build-es:win32": "tsc && copy .\\dist\\mmap-io.d.ts .\\",
"build-es:default": "tsc && cp ./dist/mmap-io.d.ts ./",
"rebuild": "node-pre-gyp reinstall --build-from-source",
"prepare": "npm run build",
"install": "npm run build-addon",
"build-binary-x64": "node-pre-gyp rebuild && node-pre-gyp package",
"build-binary-x86": "node-pre-gyp rebuild --target_arch=ia32 && node-pre-gyp package --target_arch=ia32",
"push-binary": "node-pre-gyp-github publish",
"test": "lsc -o ./dist/ -b -c ./src/test.ls && ((which nodejs && nodejs ./dist/test.js) || node ./dist/test.js)",
"watch": "while true; do (npm run build; inotifywait -qre close_write,moved_to --exclude '\\.git' ./src/; ) done;"
},
"devDependencies": {
"@types/node": "^11.10.5",
"livescript": "^1.6.0",
"node-pre-gyp-github": "^1.4.4",
"typescript": "^3.5.3"
},
"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.9",
"errno": "*",
"nan": "^2.16.0",
"node-gyp": "^9.0.0",
"run-script-os": "^1.1.1"
}
}