-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
106 lines (106 loc) · 3.26 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "@vsokolov/utils",
"type": "module",
"version": "0.28.1",
"private": false,
"description": "Various TypeScript/JavaScripts utils functions for node and browser",
"author": {
"email": "[email protected]",
"name": "Viktor Sokolov"
},
"license": "MIT",
"homepage": "https://github.com/victory-sokolov/utils#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/victory-sokolov/utils.git"
},
"bugs": {
"url": "https://github.com/victory-sokolov/utils/issues"
},
"keywords": [
"utils",
"typescript utils",
"javascript utils",
"nodejs utils"
],
"sideEffects": false,
"exports": {
".": {
"source": "./src/index.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist/*"
],
"scripts": {
"build": "rollup -c",
"test": "vitest watch",
"test:no-watch": "vitest run",
"test:coverage": "vitest run --coverage",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"docs": "pnpm run typedoc ./src --out docs",
"prepublishOnly": "pnpm run lint && pnpm test:no-watch",
"preversion": "pnpm run lint && pnpm test:no-watch",
"version": "pnpm run lint && git add -A src",
"postversion": "git push && git push --tags",
"typecheck": "tsc --noEmit",
"clean": "rimraf ./node_modules && rimraf dist",
"commit": "cz",
"semantic-release": "semantic-release",
"prepare": "husky install",
"prepush": "git pull --rebase"
},
"devDependencies": {
"@antfu/eslint-config": "^3.14.0",
"@rollup/plugin-alias": "^5.1.1",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "10.0.1",
"@types/node": "^22.10.7",
"@types/webrtc": "^0.0.44",
"@typescript-eslint/eslint-plugin": "^8.20.0",
"c8": "^10.1.3",
"commitizen": "^4.3.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^9.18.0",
"eslint-plugin-vitest": "^0.5.4",
"esno": "4.8.0",
"husky": "9.1.7",
"jsdom": "^26.0.0",
"rollup": "^4.31.0",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-esbuild": "^6.1.1",
"semantic-release": "^24.2.1",
"source-map": "^0.7.4",
"typedoc": "^0.27.6",
"typedoc-plugin-missing-exports": "^3.1.0",
"typescript": "^5.7.3",
"typescript-eslint": "^8.20.0",
"user-agent-data-types": "^0.4.2",
"vite": "^6.0.7",
"vitest": "^3.0.2"
},
"husky": {
"hooks": {
"pre-push": "pnpm run prepush",
"pre-commit": "pnpm lint",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"publishConfig": {
"access": "public"
}
}