1 | {
|
2 | "name": "@tractor-plugins/mocha-specs",
|
3 | "version": "0.2.1",
|
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/phenomnomnominal/tractor-plugin-mocha-specs.git"
|
13 | },
|
14 | "bugs": {
|
15 | "url": "https://github.com/phenomnomnominal/tractor-plugin-mocha-specs/issues",
|
16 | "email": "craigspence0@gmail.com"
|
17 | },
|
18 | "main": "dist/index.js",
|
19 | "scripts": {
|
20 | "prepare": "npm run build",
|
21 | "build": "npm run clean && npm run lint && npm run cover && npm run compile && npm run bundle",
|
22 | "bundle": "webpack --config webpack.config.js",
|
23 | "clean": "rimraf dist && rimraf reports",
|
24 | "compile": "babel src/ --out-dir dist/ --ignore *.spec.js,src/tractor/client",
|
25 | "cover": "istanbul cover --config .istanbulrc.json node_modules/mocha/bin/_mocha -- --opts ./.mocharc 'src/**/*.spec.js'",
|
26 | "dev": "npm link && npm link \"@tractor-plugins/mocha-specs\"",
|
27 | "lint": "eslint src",
|
28 | "test": "mocha --opts ./.mocharc 'src/**/*.spec.js'",
|
29 | "pretest:e2e": "npm run test:setup",
|
30 | "test:e2e": "protractor ./tractor/protractor.conf.js --baseUrl=\"http://localhost:4321\"",
|
31 | "test:e2e:debug": "node --inspect-brk node_modules/.bin/protractor ./tractor/protractor.conf.js --baseUrl=\"http://localhost:4321\"",
|
32 | "test:setup": "rimraf test && mkdirp test && npm run webdriver",
|
33 | "tractor": "tractor start",
|
34 | "tractor:init": "tractor init",
|
35 | "pretractor:test": "npm run test:setup",
|
36 | "tractor:test": "tractor start --config=\"./test.tractor.conf.js\"",
|
37 | "watch": "npm-watch",
|
38 | "webdriver": "webdriver-manager update && tractor patch"
|
39 | },
|
40 | "watch": {
|
41 | "build": "src/**/*.js"
|
42 | },
|
43 | "dependencies": {
|
44 | "camel-case": "^3.0.0",
|
45 | "chai": "^4.1.2",
|
46 | "chai-as-promised": "^7.1.1",
|
47 | "esprima": "^4.0.1",
|
48 | "esquery": "^1.0.1",
|
49 | "estemplate": "^0.5.1",
|
50 | "mocha": "^5.2.0",
|
51 | "mochawesome": "^3.0.3",
|
52 | "optimist": "^0.6.1",
|
53 | "pascal-case": "^2.0.1"
|
54 | },
|
55 | "peerDependencies": {
|
56 | "@tractor/core": "^1.0.1-beta.7",
|
57 | "@tractor-plugins/page-objects": "^0.6.0"
|
58 | },
|
59 | "devDependencies": {
|
60 | "@babel/cli": "^7.0.0",
|
61 | "@babel/core": "^7.0.1",
|
62 | "@babel/plugin-proposal-export-default-from": "^7.0.0",
|
63 | "@babel/plugin-proposal-object-rest-spread": "^7.0.0",
|
64 | "@babel/plugin-proposal-optional-catch-binding": "^7.0.0",
|
65 | "@babel/polyfill": "^7.0.0",
|
66 | "@babel/preset-env": "^7.0.0",
|
67 | "@babel/register": "^7.0.0",
|
68 | "@tractor-plugins/mock-requests": "^0.4.2",
|
69 | "@tractor-plugins/page-objects": "^0.6.0",
|
70 | "@tractor/cli": "^1.0.1-beta.7",
|
71 | "@tractor/core": "1.0.1-beta.7",
|
72 | "@tractor/unit-test": "^1.0.1-beta.7",
|
73 | "babel-eslint": "^9.0.0",
|
74 | "babel-loader": "^8.0.2",
|
75 | "babel-plugin-angularjs-annotate": "^0.9.0",
|
76 | "css-loader": "^1.0.0",
|
77 | "escodegen": "^1.11.0",
|
78 | "eslint": "^5.5.0",
|
79 | "html-loader": "^0.5.5",
|
80 | "istanbul": "1.1.0-alpha.1",
|
81 | "mkdirp": "^0.5.1",
|
82 | "npm-watch": "^0.3.0",
|
83 | "rimraf": "^2.6.2",
|
84 | "url-loader": "^1.1.1",
|
85 | "webpack": "^4.18.0",
|
86 | "webpack-cli": "^3.1.0"
|
87 | }
|
88 | }
|