-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
61 lines (61 loc) · 1.34 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
{
"name": "@preact/playwright-ct",
"version": "0.1.1",
"description": "Playwright Component Testing for Preact",
"repository": "github:preactjs/playwright-ct",
"keywords": [
"Preact",
"Playwright",
"testing"
],
"author": "Marvin Hagemeister <hello@marvinh.dev>",
"license": "MIT",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./hooks": {
"types": "./dist/hooks.d.mts",
"default": "./dist/hooks.mjs"
}
},
"files": [
"dist/"
],
"scripts": {
"build": "rimraf dist/ && tsc && tsc -p tsconfig.cjs.json",
"test": "playwright test -c playwright-ct.config.ts",
"prepublishOnly": "npm run build"
},
"peerDependencies": {
"@playwright/test": ">=1.31.0",
"preact": "10.x"
},
"devDependencies": {
"@playwright/test": "^1.31.0",
"@types/node": "^18.11.7",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"preact": "^10.11.2",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"typescript": "^4.8.4"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx,yml}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"dependencies": {
"@babel/core": "^7.19.6",
"@preact/preset-vite": "^2.4.0",
"vite": "^3.2.0"
}
}