UNPKG

2.47 kBJSONView Raw
1{
2 "name": "@tractor-plugins/mocha-specs",
3 "version": "1.9.4-alpha.0",
4 "description": "tractor plugin for creating tests with Mocha",
5 "author": "Craig Spence <craigspence0@gmail.com>",
6 "license": "MIT",
7 "publishConfig": {
8 "access": "public"
9 },
10 "repository": {
11 "type": "git",
12 "url": "https://github.com/TradeMe/tractor.git"
13 },
14 "bugs": {
15 "url": "https://github.com/TradeMe/tractor/issues",
16 "email": "craigspence0@gmail.com"
17 },
18 "main": "dist/index.js",
19 "files": [
20 "dist",
21 "README.md"
22 ],
23 "scripts": {
24 "build": "yarn clean && yarn lint && yarn compile && yarn cover && yarn bundle",
25 "bundle": "webpack --config webpack.config.js",
26 "clean": "rimraf dist && rimraf reports",
27 "compile": "babel src/ --out-dir dist/ --ignore src/**/*.spec.js,src/tractor/client --config-file ../../babel.config.js",
28 "cover": "nyc yarn test",
29 "lint": "eslint src --ignore-path ../../.eslintignore",
30 "test": "cd ../../ && mocha --opts mocha.opts \"./plugins/mocha-specs/src/**/*.spec.js\" && cd ./plugins/mocha-specs",
31 "test:e2e": "protractor ./tractor/protractor.conf.js --baseUrl=\"http://localhost:4401\" --mochaOpts.reporter=\"spec\" --params.kill=false",
32 "test:e2e:dev": "protractor ./tractor/protractor.conf.js --baseUrl=\"http://localhost:4401\"",
33 "test:e2e:ci": "start-server-and-test tractor:test 4401 test:e2e",
34 "test:e2e:debug": "node --inspect-brk ../../node_modules/.bin/protractor ./tractor/protractor.conf.js --baseUrl=\"http://localhost:4401\"",
35 "tractor": "tractor start",
36 "tractor:init": "tractor init",
37 "pretractor:test": "rimraf test && mkdir test",
38 "tractor:test": "tractor start --config=\"./test.tractor.conf.js\"",
39 "watch": "npm-watch"
40 },
41 "watch": {
42 "build": "src/**/*.js"
43 },
44 "dependencies": {
45 "@phenomnomnominal/protractor-use-mocha-hook": "^0.1.0",
46 "camel-case": "^3.0.0",
47 "chai": "^4.2.0",
48 "chai-as-promised": "^7.1.1",
49 "esprima": "^4.0.1",
50 "esquery": "^1.0.1",
51 "estemplate": "^0.5.1",
52 "glob": "^7.1.3",
53 "mocha": "^6.1.4",
54 "mochawesome": "^3.1.1",
55 "mochawesome-merge": "^1.0.7",
56 "mochawesome-report-generator": "^3.1.5",
57 "optimist": "^0.6.1",
58 "pascal-case": "^2.0.1",
59 "rimraf": "^2.6.3",
60 "semver": "^6.0.0"
61 },
62 "peerDependencies": {
63 "@tractor-plugins/page-objects": "^1.0.0",
64 "@tractor/core": "^1.0.0"
65 },
66 "gitHead": "04dbde3499da347b7e73cb1909d177e66f3c7e28"
67}