UNPKG

mathup

Version:

Easy MathML authoring tool with a quick to write syntax

106 lines (105 loc) 2.63 kB
{ "name": "mathup", "version": "1.0.0", "description": "Easy MathML authoring tool with a quick to write syntax", "keywords": [ "mathml", "markup", "math", "authoring" ], "homepage": "https://runarberg.github.io/mathup/", "bugs": "https://github.com/runarberg/mathup/issues", "license": "MIT", "author": "Rúnar Berg Baugsson Sigríðarson <runarberg@zoho.com>", "type": "module", "exports": { ".": { "types": "./types/index.d.ts", "default": "./src/index.js" }, "./custom-element": { "types": "./types/custom-element.d.ts", "default": "./src/custom-element.js" } }, "bin": { "mathup": "./bin/mathup.js" }, "repository": { "type": "git", "url": "https://github.com/runarberg/mathup.git" }, "scripts": { "clean": "rm -fr coverage/ dist/ types/", "server": "python3 -m http.server", "build": "rollup --config", "check": "tsc --noEmit", "lint": "eslint .", "lint:fix": "eslint --fix .", "prepare": "npm run build && npm run types", "prettier": "prettier --ignore-path .ignore --write .", "prettier:ci": "prettier --ignore-path .ignore --check .", "test": "c8 ava", "test:watch": "ava --watch", "types": "tsc src/index.js src/custom-element.js --allowJS --declaration --declarationMap --emitDeclarationOnly --esModuleInterop --outDir types" }, "ava": { "files": [ "test/**/*", "src/**/*.test.js" ] }, "babel": { "plugins": [ "@babel/plugin-transform-runtime" ], "presets": [ [ "@babel/preset-env", { "targets": { "node": "18" } } ] ] }, "c8": { "reporter": [ "html", "lcov", "text", "text-summary" ], "include": [ "src/**/*.js", "!src/**/*test.js", "!src/**/__test__/*.js" ] }, "devDependencies": { "@babel/cli": "^7.26.4", "@babel/core": "^7.26.9", "@babel/plugin-transform-runtime": "^7.26.9", "@babel/preset-env": "^7.26.9", "@babel/runtime": "^7.26.9", "@eslint/js": "^9.21.0", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-terser": "^0.4.4", "ava": "^6.2.0", "c8": "^10.1.3", "eslint": "^9.21.0", "eslint-plugin-ava": "^15.0.1", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jsdoc": "^50.6.3", "eslint-plugin-prettier": "^5.2.3", "expect.js": "^0.3.1", "globals": "^16.0.0", "jsdom": "^26.0.0", "prettier": "3.5.3", "rollup": "^4.34.9", "rollup-plugin-copy": "^3.5.0", "typescript": "^5.8.2" } }