ds-heightmap
Version:
Use diamond-square algorithm to generate heightmaps.
40 lines • 1.07 kB
JSON
{
"name": "ds-heightmap",
"version": "1.2.4",
"description": "Use diamond-square algorithm to generate heightmaps.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"exports": {
".": "./lib/index.js",
"./wasm": "./wasm/ds_heightmap.js"
},
"files": [
"lib",
"wasm"
],
"scripts": {
"build": "tsc",
"build:wasm": "cd rs && wasm-pack build --release --out-dir ../wasm && rm ../wasm/.gitignore",
"build:watch": "tsc --watch",
"lint": "tsc --noEmit --noUnusedLocals true --noUnusedParameters true",
"prepublishOnly": "npm run build && npm run build:wasm",
"test": "npm run lint"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fralonra/ds-heightmap.git"
},
"keywords": [
"diamond-square",
"heightmap"
],
"author": "zoron (https://github.com/fralonra/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/fralonra/ds-heightmap/issues"
},
"homepage": "https://github.com/fralonra/ds-heightmap#readme",
"devDependencies": {
"typescript": "^4.6.3"
}
}