eyereasoner 1.3.1 → 1.4.0
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 +7 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -125,9 +125,15 @@ async function main() {
|
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
main();
|
|
128
|
-
|
|
129
128
|
```
|
|
130
129
|
|
|
130
|
+
## Selecting the `SWIPL` module
|
|
131
|
+
|
|
132
|
+
The `SWIPL` module exported from this library is a build that inlines WebAssembly and data strings in order to be
|
|
133
|
+
isomorphic across browser and node without requiring any bundlers. Some users may wish to have more fine-grained control
|
|
134
|
+
over their SWIPL module; for instance in order to load the `.wasm` file separately for performance. In these cases
|
|
135
|
+
see the `SWIPL` modules exported by [npm swipl wasm](https://github.com/rla/npm-swipl-wasm/).
|
|
136
|
+
|
|
131
137
|
## License
|
|
132
138
|
©2022–present
|
|
133
139
|
[Jesse Wright](https://github.com/jeswr),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eyereasoner",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Distributing the [EYE](https://github.com/josd/eye) reasoner for browser and node using WebAssembly.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.js",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"scripts": {
|
|
14
14
|
"test:coverage": "npm test -- --coverage",
|
|
15
15
|
"test:badges": "npm run test:coverage && jest-coverage-badges",
|
|
16
|
-
"test": "jest",
|
|
16
|
+
"test": "jest __tests__/*-test.ts",
|
|
17
17
|
"lint": "eslint lib/**/*.ts __tests__/* scripts/* --ext .ts",
|
|
18
18
|
"lint:fix": "eslint lib/**/*.ts __tests__/* scripts/* --ext .ts --fix",
|
|
19
19
|
"build": "npm run eye:prepare && tsc",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"bugs": {
|
|
49
49
|
"url": "https://github.com/eyereasoner/eye-js/issues"
|
|
50
50
|
},
|
|
51
|
-
"homepage": "",
|
|
51
|
+
"homepage": "https://github.com/eyereasoner/eye-js#readme",
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@rollup/plugin-commonjs": "^24.0.0",
|
|
54
54
|
"@types/jest": "^29.2.4",
|
|
@@ -60,6 +60,7 @@
|
|
|
60
60
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
61
61
|
"eslint-plugin-import": "^2.26.0",
|
|
62
62
|
"jest": "^29.3.1",
|
|
63
|
+
"jest-environment-jsdom": "^29.3.1",
|
|
63
64
|
"jest-rdf": "^1.7.1",
|
|
64
65
|
"pre-commit": "^1.2.2",
|
|
65
66
|
"rollup": "^3.8.1",
|