numenor
Version:
Customizable, safe evaluator of JavaScript-like expressions.
81 lines (80 loc) • 2.12 kB
JSON
{
"name": "numenor",
"version": "0.1.7",
"description": "Customizable, safe evaluator of JavaScript-like expressions.",
"keywords": [
"expression",
"math",
"evaluator",
"eval",
"safe",
"pratt",
"parser"
],
"main": "lib/index.js",
"repository": "https://github.com/raleksandar/numenor.git",
"author": "Aleksandar Ružičić <aleksandar@ruzicic.info>",
"homepage": "https://github.com/raleksandar/numenor",
"bugs": "https://github.com/raleksandar/numenor/issues",
"license": "MIT",
"files": [
"lib/**/*.js",
"lib/**/*.d.ts"
],
"scripts": {
"build": "yarn babel ./src --ignore ./src/**/tests --out-dir ./lib --extensions .ts",
"clean:build": "trash ./lib",
"coverage": "jest --coverage",
"prepublishOnly": "yarn typecheck && yarn clean:build && yarn build",
"test": "jest",
"test:watch": "jest --onlyChanged --watch",
"typecheck": "tsc --noEmit"
},
"jest": {
"moduleDirectories": [
"./node_modules",
"./src"
],
"moduleFileExtensions": [
"ts",
"js"
],
"testMatch": [
"**/tests/**/*.(t|j)s",
"**/?(*.)(spec|test).(t|j)s"
],
"transform": {
"^.+\\.[jt]s$": "babel-jest"
},
"testEnvironment": "node",
"testPathIgnorePatterns": [
"/node_modules/",
"/coverage/",
"./lib"
],
"verbose": true
},
"resolutions": {
"babel-core": "^7.0.0-bridge.0"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.4.0",
"@babel/preset-env": "^7.4.2",
"@babel/preset-typescript": "^7.3.3",
"@types/jest": "^24.0.11",
"babel-jest": "^24.5.0",
"babel-plugin-module-resolver": "^3.2.0",
"jest": "^24.5.0",
"jest-spec-reporter": "^1.0.5",
"trash-cli": "^1.4.0",
"tsc": "^1.20150623.0",
"tslint": "^5.14.0",
"tslint-clean-code": "^0.2.9",
"tslint-config-standard": "^8.0.1",
"typescript": "^3.3.4000"
},
"dependencies": {
"@babel/plugin-proposal-class-properties": "^7.4.0"
}
}