Skip to main content
Module

x/computed_types/package.json

🦩 Joi like validations for TypeScript
Go to Latest
File
{ "name": "computed-types", "version": "1.1.0", "description": "Runtime validation types for TypeScript.", "keywords": [ "runtime", "validation", "type", "typescript", "function", "schema", "functional", "composition", "interfaces", "data", "input", "neuledge" ], "scripts": { "type-check": "tsc --noEmit", "type-check:watch": "npm run type-check -- --watch", "clean": "rm -rf lib", "build": "npm run build:types && npm run build:js", "build:types": "tsc --emitDeclarationOnly", "build:js": "babel src --out-dir lib --extensions \".js,.ts\" --source-maps inline", "lint": "eslint \"src/**\"", "fix": "npm run fix:lint", "fix:lint": "npm run lint -- --fix", "mocha": "TS_NODE_FILES=true mocha -r ts-node/register \"src/**/*.test.ts\" --timeout 10000", "mocha:coverage": "nyc npm run mocha && nyc report --reporter=text-lcov | coveralls", "mocha:build": "mocha lib/**/*.test.js --timeout 10000", "test": "npm run type-check && npm run lint -- --quiet && npm run mocha", "coverage": "npm run type-check && npm run lint -- --quiet && npm run mocha:coverage", "test:build": "npm run mocha:build", "test:commit": "if [[ -z \"$(git status --untracked-files=no --porcelain)\" ]]; then\n echo \"All filed committed.\"\nelse\n echo \"Uncommitted changes found. Please Commit them first.\" && exit 1\nfi", "prepare": "npm run clean && npm run build", "prepublishOnly": "npm run test:commit && npm run test:build", "postpublish": "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag v$PACKAGE_VERSION && git push --tags" }, "author": "Moshe Simantov <me@moshe.io>", "repository": "https://github.com/neuledge/computed-types", "license": "MIT", "main": "lib/index", "module": "lib/index", "types": "lib/index", "files": [ "/lib/*" ], "devDependencies": { "@babel/cli": "^7.10.3", "@babel/core": "^7.10.3", "@babel/plugin-proposal-class-properties": "^7.10.1", "@babel/plugin-proposal-decorators": "^7.10.3", "@babel/plugin-proposal-object-rest-spread": "^7.10.3", "@babel/preset-env": "^7.10.3", "@babel/preset-typescript": "^7.10.1", "@types/chai": "^4.2.11", "@types/chai-as-promised": "^7.1.2", "@types/mocha": "^7.0.2", "@typescript-eslint/eslint-plugin": "^3.3.0", "@typescript-eslint/parser": "^3.3.0", "babel-plugin-transform-typescript-metadata": "^0.3.0", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", "coveralls": "^3.1.0", "eslint": "^7.3.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-prettier": "^3.1.4", "husky": "^4.2.5", "lint-staged": "^10.2.11", "mocha": "^8.0.1", "nyc": "^15.1.0", "prettier": "^2.0.5", "ts-node": "^8.10.2", "typescript": "^3.9.5" }, "dependencies": {}, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "src/**/*": "eslint" }}