fast-morton
Version:
Fast morton encoding and decoding for 2D and 3D coordinates
56 lines (55 loc) • 1.55 kB
JSON
{
"name": "fast-morton",
"description": "Fast morton encoding and decoding for 2D and 3D coordinates",
"version": "1.0.1",
"source": "src/index.ts",
"main": "dist/index.umd.js",
"module": "dist/index.modern.module.js",
"unpkg": "dist/index.umd.js",
"types": "dist/index.d.ts",
"exports": {
".": "./dist/index.modern.module.js",
"./2d/mb": "./dist/2d-mb.modern.module.js",
"./2d/lut": "./dist/2d-lut.modern.module.js",
"./3d/mb": "./dist/3d-mb.modern.module.js",
"./3d/lut": "./dist/3d-mb.modern.module.js"
},
"keywords": [
"microbundle",
"typescript"
],
"files": [
"dist/**.js*",
"dist/**/*.ts"
],
"scripts": {
"build": "microbundle src/*.ts --define PKG_VERSION=$npm_package_version",
"watch": "microbundle watch --define PKG_VERSION=$npm_package_version",
"test": "node --test test",
"lint": "prettier src test -c",
"format": "prettier src test --write",
"prepack": "rm -rf dist && npm run build",
"release": "npm run prepack && npx np"
},
"devDependencies": {
"microbundle": "^0.15.0",
"prettier": "^2.8.1"
},
"prettier": {},
"license": "MIT",
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"directories": {
"test": "tests"
},
"repository": {
"type": "git",
"url": "git+https://github.com/liamdon/fast-morton.git"
},
"author": "Liam Don <liamdon@gmail.com>",
"bugs": {
"url": "https://github.com/liamdon/fast-morton/issues"
},
"homepage": "https://github.com/liamdon/fast-morton"
}