UNPKG

alsatian

Version:

TypeScript and JavaScript testing framework for beautiful and readable tests

143 lines (142 loc) 5.02 kB
{ "name": "alsatian", "version": "3.2.1", "description": "TypeScript and JavaScript testing framework for beautiful and readable tests", "author": "James Richford <=> (=)", "contributors": [ { "name": "James Richford", "url": "https://github.com/jamesrichford" }, { "name": "James Monger", "url": "https://github.com/jameskmonger" } ], "main": "./dist/core/alsatian-core.js", "typings": "./dist/core/alsatian-core.d.ts", "bin": { "alsatian": "./dist/cli/alsatian-cli.js" }, "engines": { "node": ">=4.0.0" }, "scripts": { "build": "tsc", "clean": "rimraf dist", "publish-nightly": "npm run build && node ./dist/scripts/build-nightly", "prepublishOnly": "npm run clean && npm test && npm run build", "postpublish": "node ./dist/scripts/tag-release", "lint": "npm run lint:code && npm run lint:tests", "lint:code": "tslint \"./**/*.ts\" --exclude \"./**/*.d.ts\" --exclude \"./tap-bark/**/*.ts\" --exclude \"./test/**/*.ts\" --exclude \"./node_modules/**/*.ts\"", "lint:tests": "tslint --config \"./tslint.test.json\" \"./test/**/*.ts\" --exclude \"./**/*.d.ts\"", "lint:fix": "npm run lint:code -- --fix & npm run lint:tests -- --fix", "pretest": "npm run build", "test": "npm run lint && npm run unit-tests && npm run integration-tests", "unit-tests": "ts-node --transpile-only ./cli/alsatian-cli.ts \"./test/unit-tests/**/*.spec.ts\"", "check-coverage": "nyc npm run unit-tests -- --hide-progress && nyc report", "build:integration-tests": "tsc -p \"./test/integration-tests\"", "install-self": "rimraf node_modules/alsatian node_modules/.bin/alsatian* && install-self && chmod +x ./node_modules/.bin/alsatian", "integration-tests": "npm run install-self && npm run build:integration-tests && npm run cli-integration-tests && npm run node-integration-tests && npm run tsnode-integration-tests && npm run babel-integration-tests && npm run expect-extension-integration-tests", "expect-extension-integration-tests": "alsatian \"./dist/test/integration-tests/extending-expect/**/*.spec.js\"", "cli-integration-tests": "alsatian \"./test/integration-tests/cli/runner.ts\"", "tsnode-integration-tests": "ts-node \"./test/integration-tests/ts-node/runner.ts\"", "node-integration-tests": "node \"./dist/test/integration-tests/node/runner\"", "debug-unit-tests": "node-debug ./cli/alsatian-cli.js \"./dist/test/unit-tests/**/*.spec.js\"", "build-es6-tests": "babel test/integration-tests/javascript/test-sets -d dist/test/integration-tests/javascript/test-sets", "babel-integration-tests": "npm run build-es6-tests && alsatian \"./test/integration-tests/javascript/babel/babel-compatibility.spec.ts\"", "typescript-integration-tests": "alsatian \"./dist/test/integration-tests/typescript/compile.spec\"", "selenium-integration-tests": "alsatian \"./dist/test/integration-tests/selenium/**/*.spec.js\"" }, "repository": { "type": "git", "url": "git+https://github.com/alsatian-test/alsatian.git" }, "keywords": [ "test", "framework", "test framework", "TypeScript", "JavaScript", "babel", "alsatian", "decorators", "annotations", "readable", "simple", "powerful", "node", "test case", "case", "unit test", "tap", "tsunit", "junit", "nunit", "xunit", "tdd" ], "license": "MIT", "bugs": { "url": "https://github.com/alsatian-test/alsatian/issues" }, "homepage": "https://github.com/alsatian-test/alsatian/tree/master/packages/alsatian#readme", "devDependencies": { "@types/deep-diff": "0.0.31", "@types/diff": "^3.5.1", "@types/glob": "^5.0.30", "@types/js-yaml": "^3.11.2", "@types/selenium-webdriver": "^3.0.0", "babel-cli": "^6.26.0", "babel-plugin-transform-decorators-legacy": "^1.3.4", "babel-preset-es2015": "^6.18.0", "dugite": "^1.29.0", "install-self": "^1.0.0-rc.1", "mock-require": "^3.0.0", "nyc": "^14.1.1", "prettier": "^1.10.2", "rimraf": "^3.0.0", "selenium-webdriver": "^3.0.1", "tslint": "^5.9.1", "tslint-plugin-prettier": "^1.3.0", "typescript": "^3.0.1" }, "dependencies": { "@types/node": ">=4.0.0", "chalk": "^2.4.1", "deep-diff": "^1.0.2", "diff": "^4.0.1", "extendo-error": "^1.0.1", "glob": "^7.0.3", "js-yaml": "^3.12.0", "natives": "^1.1.3", "reflect-metadata": "^0.1.3", "tap-bark": "^2.3.1", "ts-node": "^8.3.0" }, "nyc": { "all": true, "cache": false, "extension": [ ".ts" ], "include": [ "core/**/*.ts", "cli/**/*.ts" ], "exclude": [ "**/*.d.ts", "coverage/**", "packages/*/test/**", "test/**", "test{,-*}.ts", "**/*{.,-}{test,spec}.ts", "**/__tests__/**", "**/node_modules/**" ], "reporter": [ "lcov" ] }, "gitHead": "627da228497d130b22e93b623aca6a6db94708b0" }