1 | {
|
2 | "name": "mocha-chrome",
|
3 | "version": "2.1.0",
|
4 | "description": "☕ Run Mocha tests using headless Google Chrome",
|
5 | "license": "MIT",
|
6 | "repository": "shellscape/mocha-chrome",
|
7 | "author": "shellscape",
|
8 | "main": "index.js",
|
9 | "bin": {
|
10 | "mocha-chrome": "./cli.js"
|
11 | },
|
12 | "engines": {
|
13 | "node": ">= 8.0.0"
|
14 | },
|
15 | "scripts": {
|
16 | "ci:lint": "npm run lint && npm run security",
|
17 | "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
|
18 | "ci:test": "npm run test -- --verbose",
|
19 | "commitlint": "commitlint",
|
20 | "commitmsg": "commitlint -e $GIT_PARAMS",
|
21 | "lint": "eslint --fix --cache cli.js index.js client lib test",
|
22 | "lint-staged": "lint-staged",
|
23 | "security": "npm audit",
|
24 | "test": "mocha test/test.js --timeout 10000 --exit"
|
25 | },
|
26 | "files": [
|
27 | "client",
|
28 | "lib",
|
29 | "cli.js",
|
30 | "index.js",
|
31 | "LICENSE",
|
32 | "README.md"
|
33 | ],
|
34 | "dependencies": {
|
35 | "chalk": "^2.0.1",
|
36 | "chrome-launcher": "^0.11.2",
|
37 | "chrome-remote-interface": "^0.28.0",
|
38 | "chrome-unmirror": "^0.1.0",
|
39 | "debug": "^4.1.1",
|
40 | "deep-assign": "^3.0.0",
|
41 | "import-local": "^2.0.0",
|
42 | "loglevel": "^1.4.1",
|
43 | "meow": "^5.0.0",
|
44 | "nanobus": "^4.2.0"
|
45 | },
|
46 | "devDependencies": {
|
47 | "@commitlint/cli": "^8.2.0",
|
48 | "@commitlint/config-conventional": "^8.2.0",
|
49 | "chai": "^4.2.0",
|
50 | "eslint-config-shellscape": "^2.1.0",
|
51 | "execa": "^2.0.4",
|
52 | "lint-staged": "^9.4.0",
|
53 | "mocha": "^6.2.0",
|
54 | "pre-commit": "^1.2.2"
|
55 | },
|
56 | "lint-staged": {
|
57 | "*.js": [
|
58 | "eslint --fix",
|
59 | "git add"
|
60 | ],
|
61 | "package.json": [
|
62 | "prettier --write package.json",
|
63 | "git add"
|
64 | ]
|
65 | },
|
66 | "pre-commit": "lint-staged"
|
67 | }
|