mirror of
https://github.com/gpujs/gpu.js.git
synced 2026-01-18 16:04:10 +00:00
feat: `switch` statements
feat: `kernel.toString()` has as well `.getPixels()`
fix: Proper fallback when arguments or constants are not supported
fix: Removal of infamous `|| 'Number'` for argument types and return types
fix: detect circlical logic in `FunctionBuilder.lookupReturnType()` and tests
fix: Allow subKernels to get their type detected as well
fix: `FunctionNode`'s `typeLookupMap` didn't have 'Float' or 'Integer'
feat: Turn off context checking in kernel, via `{ checkContext: false }`, used for `kernel.toString()`
fix: `GPU.upgradeDeprecatedCreateKernelSettings` to have a default return value
fix: Typings
fix: `kernelRunShortcut()` to better switch kernel when replacing
feat: It order to flatten methods, for `kernel.toString()` `utils.flattenFunctionToString()` and light unit testing of it
fix: Added sinon for testing
fix: Bump gl-wiretap
60 lines
1.3 KiB
JSON
60 lines
1.3 KiB
JSON
{
|
|
"name": "gpu.js",
|
|
"version": "2.0.0-rc.14",
|
|
"description": "GPU Accelerated JavaScript",
|
|
"engines": {
|
|
"node": ">=10.0.0"
|
|
},
|
|
"main": "./src/index.js",
|
|
"files": [
|
|
"src"
|
|
],
|
|
"directories": {
|
|
"doc": "doc",
|
|
"test": "test"
|
|
},
|
|
"dependencies": {
|
|
"acorn": "^5.1.1",
|
|
"gl": "^4.3.3",
|
|
"gl-wiretap": "^0.6.0",
|
|
"gpu-mock.js": "^1.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"benchmark": "^2.1.4",
|
|
"browser-sync": "^2.26.3",
|
|
"browserify": "^16.2.3",
|
|
"gulp": "^4.0.0",
|
|
"gulp-concat": "^2.6.0",
|
|
"gulp-header": "^1.7.1",
|
|
"gulp-jsbeautifier": "^2.1.0",
|
|
"gulp-rename": "^1.2.2",
|
|
"gulp-strip-comments": "^2.4.5",
|
|
"merge-stream": "^1.0.1",
|
|
"qunit": "^2.9.1",
|
|
"sinon": "^7.3.2",
|
|
"vinyl-buffer": "^1.0.0",
|
|
"vinyl-source-stream": "^2.0.0"
|
|
},
|
|
"scripts": {
|
|
"test": "qunit",
|
|
"setup": "npm i -g gulp-cli",
|
|
"build-docs": "./node_modules/.bin/jsdoc -c jsdoc.json src -r -d doc --debug && gulp injectCSS",
|
|
"make": "gulp build && gulp beautify && gulp minify"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/gpujs/gpu.js.git"
|
|
},
|
|
"keywords": [
|
|
"gpgpu",
|
|
"webgl"
|
|
],
|
|
"author": "The gpu.js Team",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/gpujs/gpu.js/issues"
|
|
},
|
|
"homepage": "http://gpu.rocks/",
|
|
"typings": "./src/index.d.ts"
|
|
}
|