-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
executable file
·54 lines (54 loc) · 1.89 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
{
"name": "lande",
"repository": "github:fabiospampinato/lande",
"description": "A tiny neural network for natural language detection.",
"version": "1.0.10",
"type": "module",
"main": "standalone/t50.js",
"exports": "./standalone/t50.js",
"types": "./standalone/t50.d.ts",
"sideEffects": false,
"scripts": {
"clean": "tsex clean",
"compile": "tsex compile",
"compile:watch": "tsex compile --watch",
"dataset:download": "wget https://downloads.tatoeba.org/exports/sentences.tar.bz2 -O resources/dataset.tar.bz2",
"dataset:unpack": "tar -xf resources/dataset.tar.bz2 && mv sentences.csv resources/dataset.csv",
"dataset:benchmark": "npm run compile && node --max-old-space-size=20000 dist/benchmark.js",
"dataset:compare": "npm run compile && node --max-old-space-size=20000 dist/compare.js",
"dataset:process": "npm run compile && node --max-old-space-size=20000 dist/process.js",
"dataset:stats": "npm run compile && node --max-old-space-size=20000 dist/stats.js",
"dataset:utils": "esbuild --bundle --format=esm --target=es6 src/utils.ts > standalone/utils.js",
"update": "npm run dataset:download && npm run dataset:unpack && npm run dataset:stats && npm run dataset:process && npm run dataset:utils",
"test": "tsex test",
"test:watch": "tsex test --watch",
"prepublishOnly": "npm run test"
},
"keywords": [
"tiny",
"natural",
"language",
"detection",
"neural",
"network"
],
"dependencies": {
"toygrad": "^2.6.0"
},
"devDependencies": {
"@types/langs": "^2.0.1",
"@types/lodash": "^4.14.196",
"@types/node": "^20.4.9",
"cld3-asm": "^3.1.1",
"esbuild": "^0.19.0",
"fava": "^0.2.1",
"franc": "^6.1.0",
"franc-all": "^7.1.0",
"franc-min": "^6.1.0",
"langs": "^2.0.0",
"lodash": "^4.17.21",
"tiny-colors": "^2.0.2",
"tsex": "^3.0.1",
"typescript": "^5.1.6"
}
}