-
-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add js-pytorch.json w/ npm auto-update
- Loading branch information
1 parent
5eaf4fb
commit c90adac
Showing
1 changed file
with
94 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
{ | ||
"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" | ||
} | ||
} |