UNPKG

jest-chrome

Version:

Test Chrome extensions with Jest. A complete mock of the Chrome API.

76 lines 2.21 kB
{ "name": "jest-chrome", "version": "0.8.0", "description": "Test Chrome extensions with Jest. A complete mock of the Chrome API.", "keywords": [ "api", "chrome", "chromium", "extension", "jest", "mock", "test", "typescript" ], "repository": "github:extend-chrome/jest-chrome", "bugs": "https://github.com/extend-chrome/jest-chrome/issues", "license": "MIT", "author": "Jack Steam <jacksteamdev@gmail.com>", "main": "lib/index.cjs.js", "module": "lib/index.esm.js", "types": "types/index.d.ts", "files": [ "lib", "types", "jest-chrome-schema.json", "jest-chrome.d.ts" ], "dependencies": { "@types/chrome": "^0.0.114" }, "devDependencies": { "@rollup/plugin-commonjs": "^12.0.0", "@rollup/plugin-json": "^4.0.3", "@rollup/plugin-node-resolve": "^8.0.0", "@rollup/plugin-typescript": "^4.1.2", "@sucrase/jest-plugin": "^2.0.0", "@types/filesystem": "^0.0.29", "@types/fs-extra": "^9.0.1", "@types/jest": "^25.2.3", "@types/jest-in-case": "^1.0.2", "@types/lodash": "^4.14.153", "@types/node": "^14.0.5", "@types/power-assert": "^1.5.3", "@types/puppeteer": "^3.0.0", "@typescript-eslint/eslint-plugin": "^3.0.2", "@typescript-eslint/parser": "^3.0.2", "chrome-promise": "^3.0.5", "copyfiles": "^2.3.0", "eslint": "^7.1.0", "eslint-plugin-jest": "^23.13.2", "fs-extra": "^9.0.0", "jest": "^26.0.1", "lodash": "^4.17.15", "npm-run-all": "^4.1.5", "prettier": "^2.0.5", "rollup": "^2.11.2", "ts-jest": "^26.0.0", "tslib": "^2.0.0", "typescript": "^3.9.3" }, "peerDependencies": { "jest": "^26.0.1 || ^27.0.0" }, "scripts": { "build": "run-s build:clean build:pro build:types build:copy", "build:clean": "rm -rf lib types", "build:copy": "copyfiles -f src/jest-chrome.d.ts types", "build:dev": "rollup -c --environment NODE_ENV:development", "build:pro": "rollup -c --environment NODE_ENV:production", "build:types": "tsc -p tsconfig.d.json", "build:watch": "npm run build:dev -- -w", "start": "run-p build:watch", "pretest": "npm run build", "test": "jest" } }