-
Notifications
You must be signed in to change notification settings - Fork 92
/
Copy pathpackage.json
78 lines (78 loc) · 2.88 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
77
78
{
"name": "css-selector-generator",
"title": "CSS Selector Generator",
"version": "3.6.9",
"description": "JavaScript object that creates unique CSS selector for given element.",
"author": "Riki Fridrich <[email protected]> (https://fczbkk.com)",
"license": "MIT",
"type": "module",
"main": "build/index.js",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./esm/index.js",
"require": "./build/index.js"
},
"./types/*": "./types/*"
},
"module": "./esm/index.js",
"types": "types/index.d.ts",
"scripts": {
"clean": "rimraf ./esm ./types ./temp",
"test": "npm run test:unit && npm run test:playwright && npm run test:scenarios",
"test:playwright": "playwright test playwright-tests/playwright.spec.ts --config playwright-tests/playwright.config.ts",
"test:scenarios": "tsx ./test/scenarios.ts",
"test:unit": "tsx test/run-tests.ts",
"dev": "npm run watch:unit & npm run watch:playwright & npm run watch:scenarios",
"prebuild": "npm run clean && npm run lint:build",
"postbuild": "rimraf ./temp",
"build": "npm run build:umd && npm run build:esm",
"build:umd": "npm run build:cjs && webpack --config ./config/webpack.build.js",
"build:cjs": "tsc --project ./tsconfig.cjs.json",
"build:esm": "tsc --project ./tsconfig.esm.json",
"lint": "eslint --config eslint.config.js",
"lint:build": "npm run lint -- --max-warnings 0",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"postversion": "git push && git push --tags && npm publish --access=public",
"version": "npm run build && npm run changelog && git add -A",
"watch:unit": "chokidar '{src,test}/**/*.ts' -c 'npm run test:unit'",
"watch:playwright": "chokidar 'playwright-tests/**/*.ts' -c 'npm run test:playwright'",
"watch:scenarios": "chokidar 'src/**/*.ts' 'scenario/**/*.html' -c 'npm run test:scenarios'"
},
"devDependencies": {
"@eslint/js": "^9.17.0",
"@playwright/test": "^1.49.1",
"@types/chai": "^5.0.1",
"@types/mocha": "^10.0.10",
"@types/node": "^22.10.3",
"chai": "^5.1.2",
"chalk": "^5.4.1",
"chokidar-cli": "^3.0.0",
"conventional-changelog-cli": "^5.0.0",
"esbuild": "^0.24.2",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"glob": "^11.0.0",
"husky": "^9.1.7",
"lint-staged": "^15.3.0",
"mocha": "^11.0.1",
"playwright": "^1.49.1",
"prettier": "^3.4.2",
"raw-loader": "^4.0.2",
"rimraf": "^6.0.1",
"ts-loader": "^9.5.1",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"typescript-eslint": "^8.19.0",
"webpack": "^5.97.1",
"webpack-cli": "^6.0.1"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/fczbkk/css-selector-generator.git"
},
"homepage": "https://github.com/fczbkk/css-selector-generator/",
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
}
}