-
Notifications
You must be signed in to change notification settings - Fork 93
/
Copy pathpackage.json
74 lines (74 loc) · 2.51 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
{
"name": "css-selector-generator",
"title": "CSS Selector Generator",
"version": "3.6.7",
"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": "karma start ./tools/karma.conf.js",
"dev": "npm run test -- --no-single-run --auto-watch",
"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 ./tools/webpack.build.js",
"build:cjs": "tsc --project ./tsconfig.cjs.json",
"build:esm": "tsc --project ./tsconfig.esm.json",
"lint": "eslint --ext .js,.ts ./src/ ./test/ ./test/ ./tools/ --config .eslintrc.cjs",
"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",
"scenarios": "tsx ./test/scenarios.ts"
},
"devDependencies": {
"@types/chai": "^4.3.11",
"@types/mocha": "^10.0.6",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^7.11.0",
"chai": "^4.3.7",
"chalk": "^5.3.0",
"conventional-changelog-cli": "^4.1.0",
"esbuild": "^0.20.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"husky": "^9.0.10",
"karma": "^6.4.2",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-webpack": "^5.0.1",
"lint-staged": "^15.2.1",
"mocha": "^10.2.0",
"playwright": "^1.41.2",
"prettier": "^3.2.5",
"raw-loader": "^4.0.2",
"ts-loader": "^9.5.1",
"tsx": "^4.7.0",
"typescript": "^5.3.3",
"webpack": "^5.90.1",
"webpack-cli": "^5.1.4"
},
"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"
}
}