gx
chenyc
2025-02-12 ea42ff3ebee1eeb3fb29423aa848a249441db81c
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
55
{
  "name": "@tensorflow/tfjs-converter",
  "version": "4.15.0",
  "description": "Tensorflow model converter for javascript",
  "main": "dist/tf-converter.node.js",
  "jsnext:main": "dist/index.js",
  "module": "dist/index.js",
  "types": "dist/index.d.ts",
  "unpkg": "dist/tf-converter.min.js",
  "jsdelivr": "dist/tf-converter.min.js",
  "miniprogram": "dist/miniprogram",
  "repository": {
    "type": "git",
    "url": "https://github.com/tensorflow/tfjs.git",
    "directory": "tfjs-converter"
  },
  "license": "Apache-2.0",
  "peerDependencies": {
    "@tensorflow/tfjs-core": "4.15.0"
  },
  "devDependencies": {
    "@bazel/bazelisk": "^1.12.0",
    "@bazel/ibazel": "^0.16.2",
    "@tensorflow/tfjs-backend-cpu": "4.15.0",
    "@tensorflow/tfjs-core": "4.15.0",
    "@types/argparse": "^1.0.38",
    "@types/long": "~3.0.32",
    "@types/node-fetch": "1.6.9",
    "argparse": "^1.0.10",
    "node-fetch": "~2.6.1",
    "opn": "~5.1.0",
    "protobufjs": "~7.2.4",
    "ts-node": "~8.8.2",
    "typescript": "5.0.4",
    "yalc": "~1.0.0-pre.50"
  },
  "scripts": {
    "build": "bazel build :tfjs-converter_pkg",
    "publish-npm": "bazel run :tfjs-converter_pkg.publish",
    "test": "bazel test :tests",
    "test-dev": "ibazel test :tests",
    "test-debug": "bazel run :tfjs-converter_test --config=debug",
    "test-converter": "bazel test :tfjs-converter_test",
    "test-converter-debug": "yarn test-debug",
    "test-snippets": "bazel test :test_snippets_test --test_output=all",
    "gen-doc": "ts-node -s ./scripts/gen_doc.ts",
    "model-summary": "ts-node -s ./tools/model_summary.ts",
    "pb2json": "ts-node -s ./tools/pb2json_converter.ts",
    "build-pip-package": "cd python && ./build-pip-package.sh --test /tmp/tfjs-pips",
    "run-python-tests": "bazel test python/..."
  },
  "resolutions": {
    "minimist": "1.2.6"
  }
}