{
  "name": "offensive",
  "version": "3.7.0",
  "description": "Fast and boilerplate-free precondition checks for javascript.",
  "main": "index.js",
  "scripts": {
    "all": "npm run clean-build && npm run all-tests",
    "clean": "rm -rf ./lib",
    "generate": "ls -1 src/assertions | grep -v register | sort | sed -E 's/^(.*)$/import \".\\/\\1\\/register\";/' > src/assertions/register.ts",
    "build": "npm run generate && cd src && tsc",
    "copy-config": "cp package* ./lib && cp *.md ./lib && cd lib && npm shrinkwrap --production",
    "clean-build": "npm run clean && npm run build && npm run copy-config",
    "test": "cd src && TS_NODE_PROJECT=./tsconfig.test.json TS_NODE_FILES=1 mocha -r source-map-support/register -r ts-node/register ./test/harness.ts $(find . -name \"${PATTERN}\")",
    "all-tests": "PATTERN='*.spec.ts' npm run test",
    "uninstall-dev-deps": "npm uninstall $(npm ls --depth=0 2>/dev/null | grep -v offensive | cut -d' ' -f2 | sed -r 's/@[^@]+$//')",
    "deploy": "npm install && npm run clean-build && npm run all-tests && cd lib && ln -sf ../node_modules . && npm run uninstall-dev-deps && npm publish"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/mchalapuk/offensive.js"
  },
  "keywords": [
    "contract",
    "precondition",
    "postcondition",
    "invariant",
    "offensive",
    "defensive",
    "programming",
    "duck-typing",
    "crash early",
    "fail fast",
    "readable",
    "boilerplate",
    "dsl",
    "browserify",
    "webpack",
    "typescript"
  ],
  "author": "Maciej Chałapuk",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/mchalapuk/offensive.js/issues"
  },
  "homepage": "https://github.com/mchalapuk/offensive.js"
}
