-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
98 lines (98 loc) · 3.16 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
{
"name": "pymport",
"version": "1.4.3",
"description": "Use Python libraries from Node.js",
"repository": {
"type": "git",
"url": "git+https://github.com/mmomtchev/pymport.git"
},
"main": "lib/index.js",
"types": "lib/index.d.ts",
"exports": {
".": {
"import": "./lib/index.mjs",
"require": "./lib/index.js"
},
"./array": "./array/index.js",
"./proxified": "./proxified/index.js"
},
"keywords": [
"python",
"node.js",
"import",
"require",
"compatibility",
"scipy",
"numpy",
"pandas",
"graph_tool",
"matplotlib"
],
"author": "Momtchil Momtchev <[email protected]>",
"license": "ISC",
"bugs": {
"url": "https://github.com/mmomtchev/pymport/issues"
},
"homepage": "https://github.com/mmomtchev/pymport#readme",
"bin": {
"pympip": "./scripts/pympip",
"pympip3": "./scripts/pympip"
},
"binary": {
"module_name": "pymport",
"module_path": "./lib/binding/{platform}-{arch}",
"remote_path": "v{version}",
"host": "https://github.com/mmomtchev/pymport/releases/download/",
"package_name": "{platform}-{arch}.tar.gz",
"hosting": {
"provider": "github",
"repo": "mmomtchev/pymport"
}
},
"scripts": {
"install": "node-pre-gyp install --fallback-to-build && node scripts/patch-prefix.js",
"test": "mocha",
"doc": "npx documentation readme --readme-file wiki/API.md --section API --config=documentation.yml lib/*.d.ts",
"wiki": "cd wiki && git add API.md && git diff-index --quiet HEAD || git commit -m 'update API'",
"wiki:sidebar": "cd wiki && github-wiki-sidebar --silent",
"build": "npx node-pre-gyp configure && npx node-pre-gyp build",
"lint": "clang-format -i src/*.cc src/*.h && eslint lib/*.[tj]s test/*.[tj]s",
"gcov": "mkdir -p coverage && cd coverage && gcov -o ../build/Debug/obj.target/pymport/src ../src/*",
"lcov": "npx c8 report --reporter=text-lcov > coverage/tests.lcov",
"codecov": "cd coverage && curl -s https://codecov.io/bash | bash",
"preversion": "npm run lint && npm run test && npm run doc && npm run wiki && git add wiki",
"postversion": "git push && git push --tags && node ./scripts/publish-packages.js",
"postpublish": "gh workflow run test-package.yml -F version=$npm_package_version",
"bench": "node bench/bench.js"
},
"devDependencies": {
"@types/chai": "^4.3.4",
"@types/chai-spies": "^1.0.3",
"@types/mocha": "^10.0.1",
"@types/node": "^18.18.4",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"async-await-queue": "^1.2.1",
"benny": "^3.7.1",
"chai": "^4.3.6",
"chai-spies": "^1.0.0",
"documentation": "^14.0.0",
"eslint": "^8.51.0",
"eslint-plugin-array-func": "^3.1.7",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"mocha": "^10.1.0",
"node-gyp": "^9.3.0",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.2",
"typescript": "^4.9.5"
},
"engines": {
"node": ">= 14.0.0"
},
"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.11",
"@mmomtchev/node-pre-gyp-github": "^2.0.6",
"node-addon-api": "^5.0.0"
}
}