UNPKG

@fractorysolutions/safe-units

Version:
62 lines (61 loc) 2.21 kB
{ "name": "@fractorysolutions/safe-units", "description": "Type-safe TypeScript units of measure", "keywords": [ "units", "measure", "dimension", "metric", "typescript", "typesafe" ], "version": "1.2.3", "license": "MIT", "homepage": "https://github.com/fractorysolutions/safe-units", "bugs": "https://github.com/fractorysolutions/safe-units/issues", "repository": { "type": "git", "url": "git+https://github.com/fractorysolutions/safe-units.git" }, "main": "dist/index.js", "typings": "dist/index.d.ts", "scripts": { "build": "npm-run-all -s codegen compile:src", "clean": "rimraf dist codegen/dist", "codegen": "npm-run-all -s compile:codegen node:codegen", "compile:codegen": "tsc -p codegen", "compile:src": "tsc -p src", "format": "prettier --write \"src/**/*.{ts,json}\" \"test/**/*.{ts,json}\"", "lint": "npm-run-all lint:codegen lint:src format", "lint:codegen": "eslint -c codegen/.eslintrc.cjs --fix \"codegen/**/*.ts\"", "lint:src": "eslint -c src/.eslintrc.cjs --fix \"src/**/*.ts\"", "node:codegen": "node codegen/dist/emit", "test": "jest --config jest.config.json", "prepack": "npm run clean && npm run build", "verify": "npm-run-all -s build lint test" }, "devDependencies": { "@types/commonmark": "^0.27.9", "@types/highlight.js": "^9.12.3", "@types/jest": "^29.5.11", "@types/node": "^20.11.0", "@types/react-dom": "^18.2.18", "@typescript-eslint/eslint-plugin": "^6.18.1", "@typescript-eslint/parser": "^6.18.1", "commonmark": "^0.30.0", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.29.1", "highlight.js": "^11.9.0", "jest": "^29.7.0", "normalize.css": "^8.0.1", "npm-run-all": "^4.1.5", "prettier": "^3.1.1", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.5", "ts-jest": "^29.1.1", "typescript": "~5.3.3", "typestyle": "^2.4.0" } }