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
{
  "name": "@tensorflow/tfjs-layers",
  "version": "4.15.0",
  "description": "TensorFlow layers API in JavaScript",
  "license": "Apache-2.0 AND MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/tensorflow/tfjs.git",
    "directory": "tfjs-layers"
  },
  "private": false,
  "main": "dist/tf-layers.node.js",
  "types": "dist/index.d.ts",
  "jsnext:main": "dist/index.js",
  "module": "dist/index.js",
  "jsdelivr": "dist/tf-layers.min.js",
  "unpkg": "dist/tf-layers.min.js",
  "miniprogram": "dist/miniprogram",
  "devDependencies": {
    "@bazel/bazelisk": "^1.12.0",
    "clang-format": "~1.8.0"
  },
  "scripts": {
    "build": "bazel build :tfjs-layers_pkg",
    "format": "./tools/clang_format_ts.sh",
    "publish-npm": "bazel run :tfjs-layers_pkg.publish",
    "test": "bazel test :tests --test_output=all",
    "test-dev": "ibazel test :tests --test_output=streamed",
    "test-debug": "yarn test-webgl2-debug",
    "test-browser": "yarn test-webgl2",
    "test-browser-debug": "yarn test-webgl2-debug",
    "test-webgl2": "bazel test :tfjs-layers_webgl2_test --test_output=streamed",
    "test-webgl2-debug": "bazel run :tfjs-layers_webgl2_test --test_output=streamed",
    "test-webgl2-dev": "ibazel test :tfjs-layers_webgl2_test --test_output=streamed",
    "test-webgl1": "bazel test :tfjs-layers_webgl1_test --test_output=streamed",
    "test-webgl1-debug": "bazel run :tfjs-layers_webgl1_test --test_output=streamed",
    "test-webgl1-dev": "ibazel test :tfjs-layers_webgl1_test --test_output=streamed",
    "run-browserstack": "bazel test :browserstack_bs_chrome_mac_tfjs-layers_webgl2_test"
  },
  "peerDependencies": {
    "@tensorflow/tfjs-core": "4.15.0"
  }
}