UNPKG

5.02 kBJSONView Raw
1{
2 "name": "alsatian",
3 "version": "3.2.1",
4 "description": "TypeScript and JavaScript testing framework for beautiful and readable tests",
5 "author": "James Richford <=> (=)",
6 "contributors": [
7 {
8 "name": "James Richford",
9 "url": "https://github.com/jamesrichford"
10 },
11 {
12 "name": "James Monger",
13 "url": "https://github.com/jameskmonger"
14 }
15 ],
16 "main": "./dist/core/alsatian-core.js",
17 "typings": "./dist/core/alsatian-core.d.ts",
18 "bin": {
19 "alsatian": "./dist/cli/alsatian-cli.js"
20 },
21 "engines": {
22 "node": ">=4.0.0"
23 },
24 "scripts": {
25 "build": "tsc",
26 "clean": "rimraf dist",
27 "publish-nightly": "npm run build && node ./dist/scripts/build-nightly",
28 "prepublishOnly": "npm run clean && npm test && npm run build",
29 "postpublish": "node ./dist/scripts/tag-release",
30 "lint": "npm run lint:code && npm run lint:tests",
31 "lint:code": "tslint \"./**/*.ts\" --exclude \"./**/*.d.ts\" --exclude \"./tap-bark/**/*.ts\" --exclude \"./test/**/*.ts\" --exclude \"./node_modules/**/*.ts\"",
32 "lint:tests": "tslint --config \"./tslint.test.json\" \"./test/**/*.ts\" --exclude \"./**/*.d.ts\"",
33 "lint:fix": "npm run lint:code -- --fix & npm run lint:tests -- --fix",
34 "pretest": "npm run build",
35 "test": "npm run lint && npm run unit-tests && npm run integration-tests",
36 "unit-tests": "ts-node --transpile-only ./cli/alsatian-cli.ts \"./test/unit-tests/**/*.spec.ts\"",
37 "check-coverage": "nyc npm run unit-tests -- --hide-progress && nyc report",
38 "build:integration-tests": "tsc -p \"./test/integration-tests\"",
39 "install-self": "rimraf node_modules/alsatian node_modules/.bin/alsatian* && install-self && chmod +x ./node_modules/.bin/alsatian",
40 "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",
41 "expect-extension-integration-tests": "alsatian \"./dist/test/integration-tests/extending-expect/**/*.spec.js\"",
42 "cli-integration-tests": "alsatian \"./test/integration-tests/cli/runner.ts\"",
43 "tsnode-integration-tests": "ts-node \"./test/integration-tests/ts-node/runner.ts\"",
44 "node-integration-tests": "node \"./dist/test/integration-tests/node/runner\"",
45 "debug-unit-tests": "node-debug ./cli/alsatian-cli.js \"./dist/test/unit-tests/**/*.spec.js\"",
46 "build-es6-tests": "babel test/integration-tests/javascript/test-sets -d dist/test/integration-tests/javascript/test-sets",
47 "babel-integration-tests": "npm run build-es6-tests && alsatian \"./test/integration-tests/javascript/babel/babel-compatibility.spec.ts\"",
48 "typescript-integration-tests": "alsatian \"./dist/test/integration-tests/typescript/compile.spec\"",
49 "selenium-integration-tests": "alsatian \"./dist/test/integration-tests/selenium/**/*.spec.js\""
50 },
51 "repository": {
52 "type": "git",
53 "url": "git+https://github.com/alsatian-test/alsatian.git"
54 },
55 "keywords": [
56 "test",
57 "framework",
58 "test framework",
59 "TypeScript",
60 "JavaScript",
61 "babel",
62 "alsatian",
63 "decorators",
64 "annotations",
65 "readable",
66 "simple",
67 "powerful",
68 "node",
69 "test case",
70 "case",
71 "unit test",
72 "tap",
73 "tsunit",
74 "junit",
75 "nunit",
76 "xunit",
77 "tdd"
78 ],
79 "license": "MIT",
80 "bugs": {
81 "url": "https://github.com/alsatian-test/alsatian/issues"
82 },
83 "homepage": "https://github.com/alsatian-test/alsatian/tree/master/packages/alsatian#readme",
84 "devDependencies": {
85 "@types/deep-diff": "0.0.31",
86 "@types/diff": "^3.5.1",
87 "@types/glob": "^5.0.30",
88 "@types/js-yaml": "^3.11.2",
89 "@types/selenium-webdriver": "^3.0.0",
90 "babel-cli": "^6.26.0",
91 "babel-plugin-transform-decorators-legacy": "^1.3.4",
92 "babel-preset-es2015": "^6.18.0",
93 "dugite": "^1.29.0",
94 "install-self": "^1.0.0-rc.1",
95 "mock-require": "^3.0.0",
96 "nyc": "^14.1.1",
97 "prettier": "^1.10.2",
98 "rimraf": "^3.0.0",
99 "selenium-webdriver": "^3.0.1",
100 "tslint": "^5.9.1",
101 "tslint-plugin-prettier": "^1.3.0",
102 "typescript": "^3.0.1"
103 },
104 "dependencies": {
105 "@types/node": ">=4.0.0",
106 "chalk": "^2.4.1",
107 "deep-diff": "^1.0.2",
108 "diff": "^4.0.1",
109 "extendo-error": "^1.0.1",
110 "glob": "^7.0.3",
111 "js-yaml": "^3.12.0",
112 "natives": "^1.1.3",
113 "reflect-metadata": "^0.1.3",
114 "tap-bark": "^2.3.1",
115 "ts-node": "^8.3.0"
116 },
117 "nyc": {
118 "all": true,
119 "cache": false,
120 "extension": [
121 ".ts"
122 ],
123 "include": [
124 "core/**/*.ts",
125 "cli/**/*.ts"
126 ],
127 "exclude": [
128 "**/*.d.ts",
129 "coverage/**",
130 "packages/*/test/**",
131 "test/**",
132 "test{,-*}.ts",
133 "**/*{.,-}{test,spec}.ts",
134 "**/__tests__/**",
135 "**/node_modules/**"
136 ],
137 "reporter": [
138 "lcov"
139 ]
140 },
141 "gitHead": "627da228497d130b22e93b623aca6a6db94708b0"
142}