numbl 0.0.13 → 0.0.15
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 +403 -27
- package/dist-plot-viewer/assets/index-CshiSTKK.js +4426 -0
- package/dist-plot-viewer/index.html +1 -1
- package/package.json +12 -4
- package/dist-plot-viewer/assets/index-T0rky3bg.js +0 -4426
|
@@ -4,7 +4,7 @@
|
|
|
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-CshiSTKK.js"></script>
|
|
8
8
|
</head>
|
|
9
9
|
<body>
|
|
10
10
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "numbl",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
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,16 @@
|
|
|
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
|
+
"test:wasm": "npx tsx src/cli.ts run-tests numbl_test_scripts/wasm",
|
|
54
|
+
"build:wasm": "bash numbl_test_scripts/build_wasm.sh",
|
|
51
55
|
"prepublishOnly": "npm run build:cli && npm run build:plot-viewer",
|
|
52
56
|
"prepare": "husky"
|
|
53
57
|
},
|
|
@@ -99,6 +103,10 @@
|
|
|
99
103
|
"vitest": "^4.0.18"
|
|
100
104
|
},
|
|
101
105
|
"lint-staged": {
|
|
102
|
-
"*.{js,jsx,ts,tsx
|
|
106
|
+
"*.{js,jsx,ts,tsx}": [
|
|
107
|
+
"prettier --write",
|
|
108
|
+
"eslint"
|
|
109
|
+
],
|
|
110
|
+
"*.{json,css,md,yml}": "prettier --write"
|
|
103
111
|
}
|
|
104
112
|
}
|