UNPKG

@gml/truewind

Version:

Modern ES6+ library for apparent to true wind calculation in sailing applications.

63 lines (62 loc) 1.48 kB
{ "name": "@gml/truewind", "version": "2.0.1", "description": "Modern ES6+ library for apparent to true wind calculation in sailing applications.", "type": "module", "main": "truewind.js", "module": "truewind.js", "exports": { ".": { "import": "./truewind.js", "require": "./dist/truewind.cjs" } }, "files": [ "truewind.js", "truewind.d.ts", "dist/" ], "scripts": { "test": "vitest", "test:watch": "vitest --watch", "test:coverage": "vitest --coverage", "lint": "eslint *.js", "lint:fix": "eslint *.js --fix", "format": "prettier --write *.js *.md", "format:check": "prettier --check *.js *.md", "build": "rollup -c", "prepublishOnly": "npm run lint && npm run test -- --run && npm run build" }, "keywords": [ "sailing", "wind", "navigation", "marine", "nautical", "apparent wind", "true wind", "vmg", "leeway" ], "engines": { "node": ">=16.0.0" }, "repository": { "type": "git", "url": "git+https://github.com/mglonnro/truewind.git" }, "author": "Mikael Lönnroth", "license": "MIT", "bugs": { "url": "https://github.com/mglonnro/truewind/issues" }, "homepage": "https://github.com/mglonnro/truewind#readme", "devDependencies": { "@rollup/plugin-terser": "^0.4.4", "@vitest/coverage-v8": "^2.0.0", "eslint": "^9.0.0", "prettier": "^3.3.0", "rollup": "^4.0.0", "vitest": "^2.0.0" } }