forked from extend-chrome/jest-chrome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.09 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
74
75
76
{
"name": "@cloudapp/vitest-chrome",
"version": "0.1.5",
"description": "Test Chrome extensions with Vitest. A complete mock of the Chrome API.",
"keywords": [
"api",
"chrome",
"chromium",
"extension",
"vitest",
"mock",
"test",
"typescript"
],
"license": "MIT",
"main": "lib/index.es.js",
"module": "lib/index.es.js",
"types": "types/index.d.ts",
"files": [
"lib",
"types",
"vitest-chrome-schema.json",
"vitest-chrome.d.ts",
"auto-imports.d.ts"
],
"publishConfig": {
"access": "public",
"registry": "https://npm.pkg.github.com/"
},
"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": "pnpm vite build -m development",
"build:pro": "pnpm vite build -m production",
"build:types": "tsc -p tsconfig.d.json",
"build:watch": "pnpm run build:dev -- -w",
"postpublish": "rm -rf node_modules package-lock.json && pnpm i",
"prepare": "pnpm build",
"start": "run-p build:watch",
"pretest": "pnpm run build",
"test": "vitest run"
},
"dependencies": {
"@types/chrome": "^0.0.114",
"util": "^0.12.5",
"vite": "^4.3.8",
"vitest": "^0.31.1"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^12.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^8.4.0",
"@rollup/plugin-typescript": "^4.1.2",
"@types/filesystem": "^0.0.29",
"@types/fs-extra": "^9.0.13",
"@types/lodash": "^4.14.194",
"@types/node": "^14.18.47",
"@types/power-assert": "^1.5.8",
"@types/puppeteer": "^3.0.8",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"chrome-promise": "^3.0.5",
"copyfiles": "^2.4.1",
"eslint": "^7.32.0",
"fs-extra": "^9.1.0",
"jsdom": "^22.0.0",
"lodash": "^4.17.21",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"rollup": "^2.79.1",
"tslib": "^2.5.2",
"typescript": "^5.0.4",
"unplugin-auto-import": "^0.15.3"
}
}