-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
41 lines (41 loc) · 1.01 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
{
"name": "get-xpath",
"version": "3.2.0",
"description": "Get the XPath from an HTML element",
"keywords": [
"xpath",
"html",
"element"
],
"author": "Thiago Delgado Pinto <[email protected]>",
"license": "MIT",
"files": [
"index.*"
],
"source": "src/index.ts",
"main": "index.js",
"browser": "index.umd.js",
"unpkg": "index.umd.js",
"module": "index.esm.js",
"types": "index.d.ts",
"scripts": {
"clean": "del \"index*.js\" \"*.map\" \"*.d.ts\" ",
"prebuild": "pnpm run clean",
"build": "microbundle --name=getXPath",
"check": "tsc __tests__/test.spec.ts --noEmit",
"test": "jest",
"all": "pnpm run test && pnpm run build",
"preversion": "pnpm run all",
"postversion": "git push && git push --tags"
},
"devDependencies": {
"@types/jest": "^25.2.3",
"@types/jsdom": "^21.1.7",
"del-cli": "^3.0.1",
"jest": "^26.6.3",
"jsdom": "^16.7.0",
"microbundle": "^0.12.4",
"ts-jest": "^26.5.6",
"typescript": "^3.9.10"
}
}