UNPKG

ptz-math

Version:

ptz-math is a library for math operations such as random()

66 lines (65 loc) 2.26 kB
{ "name": "ptz-math", "version": "1.1.0", "description": "ptz-math is a library for math operations such as random()", "main": "dist/index.js", "typings": "src/index.ts", "scripts": { "lint": "tslint ./src/**/*.ts ./src/**/*.test.ts ./src/**/*.d.ts", "js": "rimraf dist-esnext && tsc && rimraf dist && babel dist-esnext -d dist --presets es2015 --source-maps", "pretest": "npm-run-all --parallel js lint", "mocha": "mocha ./dist/**/*.js --require babel-polyfill", "test": "nyc npm run mocha && nyc report --reporter=html --reporter=text-lcov > coverage.lcov && f() { EXIT=0; codecov --token=3638f4c2-2510-4221-9301-6b825f754b8f || exit $EXIT; }; f", "test:cover": "npm run test && opn ./coverage/index.html", "posttest": "npm run docs:build", "predebug": "npm run pretest", "debug": "node --nolazy --debug-brk=5858 dist/index.js", "docs:build": "typedoc --out ./docs ./ --includeDeclarations --excludeExternals --exclude '**/*.test.ts'", "docs": "npm run docs:build && opn ./docs/index.html" }, "repository": { "type": "git", "url": "git+https://github.com/angeloocana/ptz-math.git" }, "author": "angeloocana.com", "license": "MIT", "bugs": { "url": "https://github.com/angeloocana/ptz-math/issues" }, "homepage": "https://github.com/angeloocana/ptz-math#readme", "devDependencies": { "babel-cli": "^6.24.1", "babel-preset-es2015": "^6.24.1", "babel-preset-es2017": "^6.24.1", "codecov": "^2.1.0", "istanbul": "^0.4.5", "mocha": "^3.2.0", "mocha-lcov-reporter": "^1.3.0", "npm-run-all": "^4.0.2", "nyc": "^10.2.0", "ptz-assert": "^1.6.3", "rimraf": "^2.6.1", "sinon": "^2.1.0", "tslint": "^5.0.0", "typescript": "^2.2.2", "@types/mocha": "^2.2.40", "@types/node": "^7.0.12", "typedoc": "^0.6.0", "opn-cli": "^3.1.0" }, "dependencies": { "ptz-log": "^1.0.0" }, "scriptsBK": { "postinstall": "typings install", "pretest": "gulp js", "mocha": "mocha ./dist/test", "test": "nyc npm run mocha && nyc report --reporter=text-lcov > coverage.lcov && codecov --token=3638f4c2-2510-4221-9301-6b825f754b8f" }, "keywords": [ "polutz", "ptz", "math", "random" ] }