UNPKG

@sctg/scientific-notation

Version:

A TypeScript library for converting numbers to various scientific notation formats

60 lines 2.21 kB
{ "name": "@sctg/scientific-notation", "version": "1.0.1", "description": "A TypeScript library for converting numbers to various scientific notation formats", "main": "dist/scientific.min.js", "types": "dist/scientific.d.ts", "type": "module", "scripts": { "build:old": "tsc --declaration --outDir dist/ src/*.ts && esbuild dist/scientific.js --minify --sourcemap=external --outfile=dist/scientific.min.js", "build:types": "tsc --emitDeclarationOnly --declaration --outDir dist/ src/*.ts ", "build:js": "babel src --out-dir dist --extensions \".ts,.tsx\" --source-maps", "build:bundle": "esbuild dist/scientific.js --minify --sourcemap=external --outfile=dist/scientific.min.js", "build": "npm run build:types && npm run build:js && npm run build:bundle", "test": "jest", "lint": "eslint ./src/scientific.ts --fix", "prepare": "npm run build" }, "files": [ "dist", "src" ], "keywords": [ "scientific-notation", "mathematics", "latex", "mathml", "typescript" ], "author": "Ronan LE MEILLAT", "license": "AGPL-3.0-or-later", "repository": { "type": "git", "url": "git+https://github.com/sctg-development/scientific-notation.git" }, "bugs": { "url": "https://github.com/sctg-development/scientific-notation/issues" }, "homepage": "https://github.com/sctg-development/scientific-notation#readme", "devDependencies": { "@babel/cli": "^7.26.4", "@babel/core": "^7.26.9", "@babel/preset-env": "^7.26.9", "@babel/preset-typescript": "^7.26.0", "@types/jest": "^29.5.14", "@typescript-eslint/eslint-plugin": "^8.24.1", "esbuild": "^0.25.0", "eslint": "^9.21.0", "eslint-config-prettier": "10.0.1", "eslint-plugin-import": "^2.31.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "5.2.3", "eslint-plugin-unused-imports": "4.1.4", "jest": "^29.7.0", "ts-jest": "^29.2.6", "typescript": "^5.7.3" }, "publishConfig": { "access": "public" } }