forked from extend-chrome/jest-chrome
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
73 lines (73 loc) · 2.13 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "vitest-chrome",
"version": "0.1.0",
"description": "Test Chrome extensions with Vitest. A complete mock of the Chrome API.",
"keywords": [
"api",
"chrome",
"chromium",
"extension",
"vitest",
"mock",
"test",
"typescript"
],
"repository": "github:probil/vitest-chrome",
"bugs": "https://github.com/probil/vitest-chrome/issues",
"license": "MIT",
"author": "Max Liashuk <m_lyashuk@ukr.net>",
"main": "lib/index.cjs.js",
"module": "lib/index.esm.js",
"types": "types/index.d.ts",
"files": [
"lib",
"types",
"vitest-chrome-schema.json",
"vitest-chrome.d.ts"
],
"scripts": {
"build": "run-s build:clean build:pro build:types build:copy",
"build:clean": "rm -rf lib types",
"build:copy": "copyfiles -f src/vitest-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",
"postpublish": "rm -rf node_modules package-lock.json && pnpm i",
"start": "run-p build:watch",
"pretest": "npm run build",
"test": "vitest",
"format:check": "prettier src",
"format": "prettier src --write"
},
"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",
"@types/filesystem": "^0.0.29",
"@types/fs-extra": "^9.0.1",
"@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",
"jsdom": "^22.1.0",
"lodash": "^4.17.15",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"rollup": "^2.11.2",
"tslib": "^2.0.0",
"typescript": "^5.1.6",
"vitest": "^0.34.2"
}
}