package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. {
  2. "name": "@tensorflow/tfjs-core",
  3. "version": "1.7.0",
  4. "description": "Hardware-accelerated JavaScript library for machine intelligence",
  5. "private": false,
  6. "main": "dist/index.js",
  7. "jsdelivr": "dist/tf-core.min.js",
  8. "unpkg": "dist/tf-core.min.js",
  9. "types": "dist/index.d.ts",
  10. "jsnext:main": "dist/tf-core.esm.js",
  11. "module": "dist/tf-core.esm.js",
  12. "miniprogram": "dist/miniprogram",
  13. "engines": {
  14. "yarn": ">= 1.3.2"
  15. },
  16. "repository": {
  17. "type": "git",
  18. "url": "https://github.com/tensorflow/tfjs-core.git"
  19. },
  20. "license": "Apache-2.0",
  21. "devDependencies": {
  22. "@bazel/bazel": "^0.24.0",
  23. "@bazel/typescript": "^0.27.8",
  24. "@types/jasmine": "~3.0.0",
  25. "@types/node": "~9.6.0",
  26. "@types/node-fetch": "~2.1.2",
  27. "browserify": "~16.2.3",
  28. "clang-format": "~1.2.4",
  29. "jasmine": "~3.1.0",
  30. "jasmine-core": "~3.1.0",
  31. "karma": "~4.2.0",
  32. "karma-browserify": "~6.0.0",
  33. "karma-browserstack-launcher": "~1.4.0",
  34. "karma-chrome-launcher": "~2.2.0",
  35. "karma-jasmine": "~1.1.0",
  36. "karma-typescript": "~4.1.1",
  37. "npm-run-all": "~4.1.3",
  38. "rimraf": "~2.6.2",
  39. "rollup": "~1.9.0",
  40. "rollup-plugin-commonjs": "~9.3.4",
  41. "rollup-plugin-node-resolve": "~3.4.0",
  42. "rollup-plugin-terser": "~5.1.3",
  43. "rollup-plugin-typescript2": "~0.20.1",
  44. "rollup-plugin-visualizer": "~1.1.1",
  45. "shelljs": "~0.8.3",
  46. "ts-node": "~7.0.0",
  47. "tslint": "~5.11.0",
  48. "tslint-no-circular-imports": "~0.5.0",
  49. "typescript": "3.5.3",
  50. "watchify": "~3.11.1",
  51. "yalc": "~1.0.0-pre.21",
  52. "yargs": "~13.2.2"
  53. },
  54. "scripts": {
  55. "build-ci": "./scripts/enumerate-tests.js --ci && tsc && yarn build-test-snippets",
  56. "build": "node ./scripts/enumerate-tests.js && tsc",
  57. "build-npm": "./scripts/build-npm.sh",
  58. "build:bazel": "bazel build //...",
  59. "build-test-snippets": "yarn tsc --project ./scripts/test_snippets/tsconfig.json",
  60. "format-all": "clang-format -i -style=Google --glob=src/**/*.ts",
  61. "link-local": "yalc link",
  62. "publish-local": "rimraf dist/ && yarn build && rollup -c && yalc push",
  63. "lint": "tslint -p . -t verbose",
  64. "coverage": "KARMA_COVERAGE=1 karma start --browsers='Chrome' --singleRun",
  65. "test": "karma start",
  66. "test-webworker": "karma start --worker",
  67. "run-browserstack": "karma start --browserstack",
  68. "test-bundle-size": "./scripts/test-bundle-size.js",
  69. "test-node": "rimraf dist/ && tsc && node dist/test_node.js",
  70. "test-node-ci": "node dist/test_node.js",
  71. "test-async-backends": "rimraf dist/ && tsc && node dist/test_async_backends.js",
  72. "test-async-backends-ci": "node dist/test_async_backends.js",
  73. "test-integration": "yarn && ./scripts/test-integration.js",
  74. "test-ci": "./scripts/test-ci.sh",
  75. "test-snippets": "ts-node ./scripts/test_snippets/test_snippets.ts"
  76. },
  77. "dependencies": {
  78. "@types/offscreencanvas": "~2019.3.0",
  79. "@types/seedrandom": "2.4.27",
  80. "@types/webgl-ext": "0.0.30",
  81. "@types/webgl2": "0.0.4",
  82. "node-fetch": "~2.1.2",
  83. "seedrandom": "2.4.3"
  84. },
  85. "browser": {
  86. "node-fetch": false,
  87. "util": false,
  88. "crypto": false
  89. }
  90. }