-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
46 lines (46 loc) · 1.4 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
{
"name": "trealla",
"version": "0.21.11",
"description": "Trealla Prolog bindings for JS",
"main": "dist/trealla.js",
"type": "module",
"types": "dist/index.d.ts",
"files": [
"ATTRIBUTION",
"dist/index.d.ts"
],
"repository": {
"type": "git",
"url": "git+https://github.com/guregu/trealla-js.git"
},
"scripts": {
"all": "npm run clean && npm run compile && npm run build",
"clean": "rm -f libtpl.wasm trealla.js trealla.js.map index.d.ts index.d.ts.map dist/*",
"update": "git submodule update --init --recursive && cd trealla && git fetch && git pull origin main",
"compile": "cd trealla && make clean && make -j8 libtpl-js && mv libtpl-js.wasm ../libtpl.wasm",
"build": "node make.cjs && npx tsc",
"watch": "nodemon --exec 'npm run build && cp trealla.{js,js.map} example/browser/' --ignore 'example' --watch 'src' --watch 'libtpl.wasm' --ext ts,wasm",
"test": "npm run build && node test.js"
},
"keywords": [
"prolog",
"logic",
"logic-programming",
"interpreter",
"trealla-prolog"
],
"author": "guregu",
"license": "MIT",
"bugs": {
"url": "https://github.com/guregu/trealla-js/issues"
},
"homepage": "https://github.com/guregu/trealla-js#readme",
"dependencies": {
"browser_wasi_shim_gaiden": "^0.3.2"
},
"devDependencies": {
"@types/node": "^22.9.0",
"esbuild": "^0.24.0",
"typescript": "^5.6.3"
}
}