numbl 0.0.13 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/dist-cli/cli.js +1126 -110
- package/dist-plot-viewer/assets/index-Cq2LSaYL.js +4426 -0
- package/dist-plot-viewer/index.html +2 -2
- package/package.json +14 -4
- package/dist-plot-viewer/assets/index-T0rky3bg.js +0 -4426
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>numbl - Figures</title>
|
|
7
|
-
<script type="module" crossorigin src="/assets/index-
|
|
7
|
+
<script type="module" crossorigin src="/assets/index-Cq2LSaYL.js"></script>
|
|
8
8
|
</head>
|
|
9
|
-
<body>
|
|
9
|
+
<body style="margin: 0; overflow: hidden">
|
|
10
10
|
<div id="root"></div>
|
|
11
11
|
</body>
|
|
12
12
|
</html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "numbl",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
4
4
|
"description": "Run .m source files in the browser and on the command line by compiling to JavaScript",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"binding.gyp"
|
|
29
29
|
],
|
|
30
30
|
"scripts": {
|
|
31
|
-
"dev": "vite",
|
|
31
|
+
"dev": "npm run bundle:stdlib && vite",
|
|
32
32
|
"build": "npm run build:web && npm run build:cli && npm run build:plot-viewer",
|
|
33
33
|
"build:plot-viewer": "vite build --config vite.plot-viewer.config.ts",
|
|
34
34
|
"bundle:stdlib": "tsx scripts/bundle-stdlib.ts",
|
|
@@ -42,12 +42,15 @@
|
|
|
42
42
|
"format": "prettier --write .",
|
|
43
43
|
"format:check": "prettier --check .",
|
|
44
44
|
"lint": "eslint .",
|
|
45
|
+
"typecheck": "tsc -b",
|
|
45
46
|
"preview": "vite preview",
|
|
46
47
|
"test": "npm run test:float64",
|
|
47
48
|
"test:float32": "NUMBL_USE_FLOAT32=true vitest run",
|
|
48
49
|
"test:float64": "NUMBL_USE_FLOAT32=false vitest run",
|
|
49
50
|
"test:coverage": "vitest run --coverage",
|
|
50
|
-
"test:
|
|
51
|
+
"test:coverage:all": "bash scripts/coverage-all.sh",
|
|
52
|
+
"test:scripts": "bash numbl_test_scripts/run_all.sh",
|
|
53
|
+
"build:wasm": "bash numbl_test_scripts/build_wasm.sh",
|
|
51
54
|
"prepublishOnly": "npm run build:cli && npm run build:plot-viewer",
|
|
52
55
|
"prepare": "husky"
|
|
53
56
|
},
|
|
@@ -99,6 +102,13 @@
|
|
|
99
102
|
"vitest": "^4.0.18"
|
|
100
103
|
},
|
|
101
104
|
"lint-staged": {
|
|
102
|
-
"*.{js,jsx,ts,tsx
|
|
105
|
+
"*.{js,jsx,ts,tsx}": [
|
|
106
|
+
"prettier --write",
|
|
107
|
+
"eslint"
|
|
108
|
+
],
|
|
109
|
+
"*.{json,css,md,yml}": "prettier --write"
|
|
110
|
+
},
|
|
111
|
+
"optionalDependencies": {
|
|
112
|
+
"koffi": "^2.15.2"
|
|
103
113
|
}
|
|
104
114
|
}
|