-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
62 lines (62 loc) · 2 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
{
"name": "create-locator",
"version": "0.0.27",
"description": "Creates HTML element locators for tests 📌",
"author": "uid11",
"bugs": "https://github.com/joomcode/create-locator/issues",
"devDependencies": {
"prettier": ">=3.4",
"typescript": ">=5.7"
},
"exports": {
".": {
"import": "./index.js",
"require": "./index.cjs",
"types": "./index.d.ts"
},
"./createTestLocator": {
"import": "./createTestLocator.js",
"require": "./createTestLocator.cjs",
"types": "./createTestLocator.d.ts"
},
"./getCssSelectorFromAttributesChain": {
"import": "./getCssSelectorFromAttributesChain.js",
"require": "./getCssSelectorFromAttributesChain.cjs",
"types": "./getCssSelectorFromAttributesChain.d.ts"
},
"./oldTypes": {
"types": "./oldTypes.d.ts"
},
"./package.json": "./package.json",
"./types": {
"types": "./types.d.ts"
}
},
"homepage": "https://github.com/joomcode/create-locator#readme",
"keywords": [
"autotest",
"e2e",
"locator",
"selector",
"testId"
],
"license": "MIT",
"packageManager": "npm@10",
"repository": {
"type": "git",
"url": "git+https://github.com/joomcode/create-locator.git"
},
"scripts": {
"build": "cp LICENSE package.json README.md *.d.ts ./spec/node_modules/create-locator",
"postbuild": "node ./spec/build/convertEsmToCjs.js ./spec/node_modules/create-locator && tsc --project ./spec",
"prebuild": "tsc && mkdir ./spec/build/ && mv ./spec/node_modules/create-locator/convertEsmToCjs.* ./spec/build/",
"prerelease": "npm test",
"pretest": "(cd ./spec && rm -fr ./build ./node_modules/create-locator)",
"prettier": "prettier --cache --cache-strategy=content --write .",
"release": "npm publish ./spec/node_modules/create-locator",
"test": "export _START=$(date +%s%3N) && npm run prettier && npm run build && node ./spec/build/index.spec.js"
},
"sideEffects": false,
"type": "module",
"types": "./index.d.ts"
}