UNPKG

@emmetio/math-expression

Version:

Parse and evaluate simple math expressions

51 lines (50 loc) 1.3 kB
{ "name": "@emmetio/math-expression", "version": "1.0.5", "description": "Parse and evaluate simple math expressions", "main": "./dist/math.cjs.js", "module": "./dist/math.es.js", "types": "./dist/index.d.ts", "scripts": { "test": "mocha", "build": "rollup -c", "watch": "rollup -wc", "lint": "tslint ./src/*.ts", "clean": "rm -rf ./dist", "prepare": "npm test && npm run lint && npm run clean && npm run build" }, "repository": { "type": "git", "url": "git+https://github.com/emmetio/math-expression.git" }, "keywords": [ "math", "expression", "evaluate", "emmet" ], "author": "Sergey Chikuyonok <serge.che@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/emmetio/math-expression/issues" }, "homepage": "https://github.com/emmetio/math-expression#readme", "dependencies": { "@emmetio/scanner": "^1.0.4" }, "devDependencies": { "@types/mocha": "^7.0.2", "@types/node": "^12.7.12", "mocha": "^7.1.1", "rollup": "^2.6.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-typescript2": "^0.27.0", "ts-node": "^8.8.2", "tslint": "^6.1.1", "typescript": "^3.8.3" }, "mocha": { "require": "ts-node/register", "spec": "./test/*.ts" } }