UNPKG

@js-basics/vector

Version:

A 3D Vector lib including arithmetic operator overloading (+ - * / % **).

79 lines (78 loc) 2.08 kB
{ "name": "@js-basics/vector", "version": "2.2.2", "description": "A 3D Vector lib including arithmetic operator overloading (+ - * / % **).", "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" } }, "main": "./dist/index.cjs", "types": "./dist/index.d.ts", "files": [ "dist" ], "scripts": { "prepack": "npm run build", "prepare": "husky", "clean": "rimraf lib", "test": "npm run lint && npm run test:coverage", "test:coverage": "c8 npm run test:vitest -- --coverage", "test:vitest": "vitest run", "test:vitest:dev": "vitest dev", "lint": "eslint .", "lint:report": "eslint src -f json-relative -o ./eslint-report.json .", "build": "unbuild", "setup": "npm run snyk-protect && npm run clean && npm run test && npm run build", "semantic-release": "semantic-release", "snyk-protect": "snyk protect" }, "repository": { "type": "git", "url": "git+https://github.com/basics/vector.git" }, "keywords": [ "vector", "operator overloading", "math", "arithmetic", "basic", "vec3", "vec2", "valueOf" ], "license": "MIT", "bugs": { "url": "https://github.com/basics/vector/issues" }, "homepage": "https://github.com/basics/vector#readme", "dependencies": { "@babel/core": "7.26.10" }, "devDependencies": { "@babel/eslint-parser": "7.26.10", "@commitlint/cli": "19.8.0", "@commitlint/config-conventional": "19.8.0", "@vitest/coverage-v8": "3.0.8", "c8": "10.1.3", "chai": "5.2.0", "commitlint": "19.8.0", "eslint": "9.22.0", "eslint-config-prettier": "10.1.1", "eslint-formatter-json-relative": "0.1.0", "eslint-plugin-prettier": "5.2.3", "globals": "16.0.0", "husky": "9.1.7", "lint-staged": "15.5.0", "rimraf": "6.0.1", "semantic-release": "24.2.3", "snyk": "1.1295.4", "unbuild": "3.5.0", "vitest": "3.0.8", "vitest-sonar-reporter": "2.0.0" }, "snyk": true }