-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
45 lines (45 loc) · 1.48 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
{
"name": "playwright-xpath",
"version": "1.2.0",
"files": [
"dist",
"src/node"
],
"main": "dist/node/main.js",
"scripts": {
"test": "npm run build && tsc -p tests/tsconfig.json && playwright test",
"lint:check": "eslint . --ext .ts",
"lint:fix": "npm run lint:check -- --fix",
"format:check": "prettier --check .",
"format:fix": "prettier --write .",
"_esbuild": "tsc -p src/browser/tsconfig.json && esbuild src/browser/main.ts --bundle --define:global=window",
"build:browser": "npm run _esbuild -- --format=cjs --outdir=dist/browser",
"build:node": "tsc -p src/node/tsconfig.json",
"debug": "npm run _esbuild -- --format=esm --outdir=debug/dist/browser --servedir=debug",
"build": "rimraf ./dist && npm run build:browser && npm run build:node",
"check": "npm run test && npm run lint:check && npm run format:check",
"setup": "npm ci && playwright install-deps"
},
"keywords": [],
"author": "detachhead",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/DetachHead/playwright-xpath.git"
},
"devDependencies": {
"@detachhead/eslint-config": "^0.0.16",
"@playwright/test": "^1.25.2",
"@trivago/prettier-plugin-sort-imports": "^3.3.0",
"@types/eslint": "^8.4.6",
"@types/node": "^16.10.5",
"esbuild": "^0.15.5",
"fontoxpath": "^3.27.0",
"prettier": "^2.4.1",
"rimraf": "^3.0.2",
"typescript": "^4.7.4"
},
"dependencies": {
"playwright": "^1.25.0"
}
}