flut1/knockout-validator

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "knockout-validator",
  "version": "0.1.2",
  "description": "Painless form validation management using knockout.js",
  "main": "index.js",
  "typings": "index",
  "scripts": {
    "postinstall": "npm run typings",
    "prepublish": "npm run build:npm",
    "typings": "typings install",
    "test": "karma start --single-run --browsers PhantomJS",
    "validate": "npm-run-all -p validate:webpack lint test -s validate:coverage",
    "validate:webpack": "webpack-validator config/webpack.config.dist.js && webpack-validator config/webpack.config.test.js",
    "validate:coverage": "istanbul check-coverage --statement 1 --branches 1 --functions 1 --lines 1",
    "lint": "npm-run-all lint:*",
    "lint:ts": "tslint -c tslint.json src/**/*.ts",
    "clean": "npm-run-all clean:*",
    "clean:test": "shx rm -rf coverage",
    "clean:npm": "shx rm -rf lib npm index.js index.d.ts",
    "clean:dist": "shx rm -rf dist \"knockout-validator.@(zip|tar.gz)\"",
    "compile": "npm-run-all compile:*",
    "compile:npm": "npm run clean:npm && tsc -p ./ -d --outDir ./npm && shx mv \"./npm/*\" ./ && shx rm -rf ./npm",
    "compile:dist:typescript:es6": "tsc -p ./ -t es6 -m es6 --outDir ./dist/es6/",
    "compile:dist:webpack": "node script/webpack.js",
    "doc": "npm-run-all -p doc:*",
    "doc:typedoc": "typedoc --out doc/typedoc/ src/",
    "generate": "npm-run-all clean compile test doc",
    "build": "npm-run-all clean compile",
    "build:npm": "npm-run-all test compile:npm",
    "build:dist": "npm-run-all clean:dist compile:dist:**"
  },
  "pre-push": [
    "validate"
  ],
  "author": "Floris Bernard <floris.bernard@gmail.com> (flut1)",
  "homepage": "https://github.com/flut1/knockout-validator/",
  "license": "MIT",
  "keywords": [
    "knockout",
    "validator",
    "forms",
    "form validation",
    "typescript",
    "input"
  ],
  "bugs": {
    "url": "https://github.com/flut1/knockout-validator/issues"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/flut1/knockout-validator.git"
  },
  "devDependencies": {
    "archiver": "^1.0.1",
    "awesome-typescript-loader": "2.0.1",
    "chai": "^3.5.0",
    "chai-as-promised": "^5.3.0",
    "coveralls": "^2.11.6",
    "es6-promise": "^3.2.1",
    "es6-promisify": "^4.1.0",
    "es6-promisify-all": "^0.1.0",
    "es6-set": "^0.1.4",
    "istanbul": "^0.4.3",
    "istanbul-instrumenter-loader": "^0.2.0",
    "karma": "^0.13.19",
    "karma-chai": "^0.1.0",
    "karma-coverage": "^0.5.3",
    "karma-mocha": "^1.1.1",
    "karma-phantomjs-launcher": "^1.0.0",
    "karma-remap-istanbul": "^0.1.1",
    "karma-source-map-support": "^1.1.0",
    "karma-sourcemap-loader": "^0.3.7",
    "karma-webpack": "^1.7.0",
    "marked": "^0.3.5",
    "mdn-polyfills": "^1.0.0",
    "mocha": "^2.5.3",
    "npm-run-all": "^2.2.0",
    "phantomjs-prebuilt": "^2.1.3",
    "pre-push": "^0.1.1",
    "raw-loader": "^0.5.1",
    "shx": "^0.1.2",
    "tslint": "^3.3.0",
    "typedoc": "^0.4.3",
    "typescript": "^2.0.0",
    "webpack": "^1.12.12",
    "webpack-system-register": "^1.3.2",
    "webpack-validator": "^2.1.3"
  },
  "dependencies": {
    "lodash": "^4.13.1",
    "qs": "^6.2.0",
    "seng-disposable": "^1.0.1"
  },
  "peerDependencies": {
    "knockout": ">= 3.4.0 < 4"
  }
}