Skip to content

Commit

Permalink
Add js-pytorch.json w/ npm auto-update
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoleao052 authored Jul 27, 2024
1 parent 5eaf4fb commit c90adac
Showing 1 changed file with 94 additions and 0 deletions.
94 changes: 94 additions & 0 deletions packages/j/js-pytorch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{

Check failure on line 1 in packages/j/js-pytorch.json

View workflow job for this annotation

GitHub Actions / robotcdnjs

failed to parse packages/j/js-pytorch.json: invalid character '"' after object key:value pair
"name": "js-pytorch",
"version": "0.5.0",
"description": "A JavaScript library like PyTorch, built from scratch.",
"type": "module",
"directories": {
"test": "tests"
},
"exports": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "pkgroll && copyfiles -u 1 ./dist/*.mjs",
"format": "prettier --config .prettierrc 'src/**/*.ts' --write",
"lint": "eslint . --ext .ts",
"watch": "pkgroll --watch",
"prepack": "npm run build",
"test": "jest",
"bench": "tsx tests/benchmarks/runBenchmarks.ts",
"bench:update": "tsx tests/benchmarks/runBenchmarks.ts --save"
},
"release": {
"branches": [
"main"
]
},
"publishConfig": {
"access": "public"
},
"keywords": [
"deep-learning",
"machine-learning",
"PyTorch"
],
"autoupdate": {
"source": "npm",
"target": "js-pytorch",
"fileMap": [
{
"basePath": "dist",
"files": [
"*.js"
]
}
]
}
"repository": {
"type": "git",
"url": "https://github.com/eduardoleao052/js-torch.git"
},
"author": "Eduardo Leitao da Cunha Opice Leao",
"license": "MIT",
"bugs": {
"url": "https://github.com/eduardoleao052/js-torch/issues"
},
"homepage": "https://github.com/eduardoleao052/js-torch#readme",
"dependencies": {
"@eduardoleao052/gpu": "2.19.0"
},
"devDependencies": {
"@babel/core": "^7.24.3",
"@babel/preset-env": "^7.24.3",
"@babel/preset-typescript": "^7.24.1",
"@types/jest": "^29.5.12",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"babel-jest": "^29.7.0",
"copyfiles": "^2.4.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"pkgroll": "^2.0.2",
"prettier": "^3.2.5",
"tinybench": "^2.6.0",
"ts-jest": "^29.1.2",
"tsx": "^4.7.1",
"typescript": "^5.4.3"
}
}

0 comments on commit c90adac

Please sign in to comment.