UNPKG

@amandaghassaei/vector-math

Version:

A minimal vector math library to handle 2D/3D translations and rotations, written in TypeScript.

62 lines (61 loc) 1.79 kB
{ "name": "@amandaghassaei/vector-math", "version": "1.1.6", "description": "A minimal vector math library to handle 2D/3D translations and rotations, written in TypeScript.", "main": "dist/index.js", "types": "dist/index.d.ts", "type": "module", "keywords": [ "vector", "vector2", "vector3", "matrix3", "matrix4", "quaternion", "transformation", "translation", "rotation" ], "scripts": { "build": "rollup --config && tsc && npm run docs && npm run make-coverage-badge", "test": "NODE_OPTIONS=--enable-source-maps mocha 'test/**/*.ts'", "test-with-coverage": "NODE_OPTIONS=--enable-source-maps c8 mocha 'test/**/*.ts'", "make-coverage-badge": "c8 --reporter=json-summary mocha 'test/**/*.ts' && coverage-badge-creator", "docs": "typedoc --options ./typedoc.json" }, "author": "Amanda Ghassaei", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/amandaghassaei/vector-math.git" }, "files": [ "dist", "src" ], "devDependencies": { "@rollup/plugin-commonjs": "^24.1.0", "@rollup/plugin-node-resolve": "^15.0.2", "@rollup/plugin-terser": "^0.4.3", "@rollup/plugin-typescript": "^11.1.0", "@types/chai": "^4.3.4", "@types/chai-almost": "^1.0.1", "@types/mocha": "^10.0.1", "@types/three": "^0.150.2", "c8": "^8.0.0", "chai": "^4.3.7", "chai-almost": "^1.0.1", "coverage-badge-creator": "^1.0.17", "mocha": "^10.2.0", "rollup": "^3.20.2", "rollup-plugin-delete": "^2.0.0", "rollup-plugin-dts": "^5.3.0", "three": "^0.178.0", "ts-node": "^10.9.2", "tslib": "^2.5.0", "tsx": "^4.19.0", "typedoc": "^0.24.1", "typedoc-plugin-markdown": "^3.15.1", "typescript": "^5.0.4" } }