-
Notifications
You must be signed in to change notification settings - Fork 43
/
package.json
71 lines (71 loc) · 2.22 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
{
"name": "vectorious",
"version": "6.1.14",
"description": "A high performance linear algebra library.",
"main": "dist/index.js",
"browser": "dist/index.browser.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}
},
"scripts": {
"test": "jest",
"benchmark": "for file in $(ls src/**/*.bench.ts); do ts-node $file; done",
"docs": "rm -rf sphinx/code && npx tsc --outDir sphinx/code && make -C sphinx html && cp -R docs/html/* docs && rm -rf docs/html",
"build:node": "esbuild --bundle src/index.ts --minify --sourcemap --platform=node --outfile=dist/index.js --external:nblas --external:nlapack",
"build:browser": "esbuild --bundle src/index.ts --minify --sourcemap --platform=browser --global-name=v --outfile=dist/index.browser.js --external:nblas --external:nlapack",
"build:esm": "esbuild --bundle src/index.ts --minify --sourcemap --format=esm --outfile=dist/index.mjs --external:nblas --external:nlapack",
"build": "rimraf dist && tsc -emitDeclarationOnly && npm run build:node && npm run build:browser && npm run build:esm",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "https://github.com/mateogianolio/vectorious.git"
},
"keywords": [
"matrix",
"vector",
"linear",
"algebra"
],
"author": "Mateo Gianolio",
"contributors": [
"Bart van Andel <bavanandel@gmail.com>",
"James Vickers",
"Phillip Wang",
"Waylon Flinn",
"Xuefeng Zhu"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/mateogianolio/vectorious/issues"
},
"homepage": "https://github.com/mateogianolio/vectorious",
"devDependencies": {
"@types/jest": "^29.5.0",
"@types/node": "^18.15.11",
"esbuild": "^0.17.17",
"jest": "^29.5.0",
"jsdoc": "^4.0.2",
"mocha": "^10.2.0",
"nodemark": "^0.3.0",
"prettier": "^2.8.7",
"rimraf": "^5.0.1",
"tidy-jsdoc": "^1.4.1",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
},
"optionalDependencies": {
"nblas": "^2.1.11",
"nlapack": "^2.0.7"
}
}