gx
chenyc
2025-06-12 7b72ac13a83764a662159d4a49b7fffb90476ecb
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
56
{
  "name": "@tensorflow/tfjs-backend-cpu",
  "version": "4.15.0",
  "description": "Vanilla JavaScript backend for TensorFlow.js",
  "private": false,
  "main": "dist/tf-backend-cpu.node.js",
  "jsdelivr": "dist/tf-backend-cpu.min.js",
  "unpkg": "dist/tf-backend-cpu.min.js",
  "types": "dist/index.d.ts",
  "jsnext:main": "dist/index.js",
  "module": "dist/index.js",
  "miniprogram": "dist/miniprogram",
  "engines": {
    "yarn": ">= 1.3.2"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/tensorflow/tfjs.git",
    "directory": "tfjs-backend-cpu"
  },
  "license": "Apache-2.0",
  "devDependencies": {
    "@bazel/bazelisk": "^1.12.0",
    "@bazel/ibazel": "^0.16.2"
  },
  "scripts": {
    "build": "bazel build :tfjs-backend-cpu_pkg",
    "publish-npm": "bazel run :tfjs-backend-cpu_pkg.publish",
    "coverage": "bazel coverage :tfjs-backend-cpu_test",
    "test": "bazel test :tests --test_output=streamed",
    "test-debug": "bazel run :tfjs-backend-cpu_test --config=debug",
    "test-dev": "ibazel run :tests --test-output=streamed"
  },
  "dependencies": {
    "@types/seedrandom": "^2.4.28",
    "seedrandom": "^3.0.5"
  },
  "peerDependencies": {
    "@tensorflow/tfjs-core": "4.15.0"
  },
  "browser": {
    "util": false,
    "crypto": false
  },
  "sideEffects": [
    "./dist/register_all_kernels.js",
    "./dist/base.js",
    "./dist/index.js",
    "./src/register_all_kernels.mjs",
    "./src/base.mjs",
    "./src/index.mjs"
  ],
  "resolutions": {
    "minimist": "1.2.6"
  }
}