UNPKG

@mathigon/core

Version:

TypeScript utilities library containing function wrappers, string and array helper functions, event classes and color utilities.

47 lines (46 loc) 1.47 kB
{ "name": "@mathigon/core", "version": "1.1.23", "license": "MIT", "homepage": "https://mathigon.io/core", "repository": "mathigon/core.js", "description": "TypeScript utilities library containing function wrappers, string and array helper functions, event classes and color utilities.", "keywords": [ "utilities", "arrays", "strings", "events", "color" ], "engines": { "node": ">=16" }, "main": "dist/index.cjs.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "exports": { "import": "./dist/index.esm.js", "require": "./dist/index.cjs.js" }, "scripts": { "test": "ts-node node_modules/tape/bin/tape test/**/*.ts", "prepublishOnly": "npm test && npm run lint && npm run build", "cjs": "esbuild src/index.ts --outfile=dist/index.cjs.js --format=cjs --bundle --target=es2016 --sourcemap", "esm": "esbuild src/index.ts --outfile=dist/index.esm.js --format=esm --bundle --target=es2016 --sourcemap", "types": "tsc --project tsconfig-types.json", "build": "npm run cjs && npm run esm && npm run types", "lint": "eslint . --ext .ts" }, "devDependencies": { "@types/tape": "5.8.1", "@typescript-eslint/eslint-plugin": "8.23.0", "@typescript-eslint/parser": "8.23.0", "esbuild": "0.24.2", "eslint": "8.57.1", "eslint-plugin-import": "2.31.0", "tape": "5.9.0", "ts-node": "10.9.2", "tslib": "2.8.1", "typescript": "5.7.3" } }