UNPKG

telvis

Version:

Typescript/Javascript safe-navigation operator, also known as Elvis operator

37 lines (36 loc) 1.02 kB
{ "author": "David Hoepelman", "name": "telvis", "version": "0.2.1", "description": "Typescript/Javascript safe-navigation operator, also known as Elvis operator", "main": "dist/index.js", "typings": "dist/index.d.ts", "repository": { "type": "git", "url": "git+https://github.com/dhoepelman/telvis.git" }, "keywords": [ "typescript", "elvis", "elvis operator", "safe navigation", "safe navigation operator" ], "scripts": { "clean": "shx rm -rf dist/*", "cleantest": "shx rm -rf test/*.js test/*.map", "compile": "tsc -p ./tsconfig.json", "compiletest": "tsc -p ./test/tsconfig.test.json", "prepublish": "npm-run-all clean compile test", "dev-test-watch": "mocha-typescript-watch -p tsconfig.json", "test": "npm-run-all cleantest compiletest && mocha" }, "license": "MIT", "devDependencies": { "mocha": "^3.2.0", "mocha-typescript": "^1.0.15", "npm-run-all": "^3.1.0", "shx": "^0.2.1", "typescript": "^2.1.0" } }