forked from hieplpvip/guesslang-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
51 lines (51 loc) · 1.43 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
{
"name": "@ray-d-song/guesslang-js",
"version": "0.1.0",
"description": "Use guesslang's ML model to detect source code languages",
"private": false,
"scripts": {
"build:types": "tsc",
"build:lib": "vite build",
"build:worker": "BUILD_TARGET=worker vite build",
"build": "npm run build:types && npm run build:lib && npm run build:worker && node scripts/clear-node-fetch.mjs",
"test": "vitest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Ray-D-Song/guesslang-js.git"
},
"author": "Ray-D-Song",
"license": "MIT",
"bugs": {
"url": "https://github.com/Ray-D-Song/guesslang-js/issues"
},
"homepage": "https://github.com/Ray-D-Song/guesslang-js#readme",
"devDependencies": {
"@tensorflow/tfjs-backend-cpu": "^3.9.0",
"@tensorflow/tfjs-converter": "^3.9.0",
"@tensorflow/tfjs-core": "^3.9.0",
"@types/node": "^16.10.2",
"@vitest/web-worker": "^2.1.5",
"prettier": "^2.4.1",
"typescript": "^4.4.3",
"vite": "^5.4.11",
"vite-plugin-dts": "^4.3.0",
"vitest": "^2.1.5"
},
"exports": {
".": {
"types": "./dist/types/lib/index.d.ts",
"import": "./dist/lib/guesslang-js.mjs",
"default": "./dist/lib/guesslang-js.umd.js"
},
"./worker": {
"types": "./dist/types/lib/worker-wrapper.d.ts",
"import": "./dist/worker/guesslang-js.mjs"
}
},
"files": [
"dist/lib",
"dist/worker",
"dist/types"
]
}