UNPKG

2.69 kBJSONView Raw
1{
2 "$schema": "https://json.schemastore.org/package",
3 "author": "Romain Racamier-Lafon <romain.racamier@gmail.com>",
4 "bin": {
5 "unique-mark": "./dist/unique-mark.js"
6 },
7 "bugs": "https://github.com/Shuunen/shuutils/issues",
8 "dependencies": {
9 "tiny-glob": "0"
10 },
11 "description": "utils collection",
12 "devDependencies": {
13 "@happy-dom/global-registrator": "14",
14 "@types/node": "20",
15 "@vitest/coverage-v8": "1.6",
16 "dependency-cruiser": "16",
17 "esbuild": "0.21",
18 "eslint": "8.57",
19 "eslint-config-hardcore": "46.0",
20 "eslint-plugin-jsdoc": "48.2",
21 "pkgroll": "2.1",
22 "repo-check": "1.35",
23 "typescript": "5.4",
24 "vitest": "1.6",
25 "watchlist": "0"
26 },
27 "exports": {
28 "import": {
29 "default": "./dist/index.mjs",
30 "types": "./dist/index.d.mts"
31 },
32 "require": {
33 "default": "./dist/index.cjs",
34 "types": "./dist/index.d.cts"
35 }
36 },
37 "files": [
38 "dist"
39 ],
40 "homepage": "https://github.com/Shuunen/shuutils#readme",
41 "keywords": [
42 "shuunen",
43 "utils",
44 "collection",
45 "pure",
46 "javascript",
47 "typescript"
48 ],
49 "license": "MIT",
50 "main": "./dist/index.cjs",
51 "module": "./dist/index.mjs",
52 "name": "shuutils",
53 "private": false,
54 "repository": {
55 "type": "git",
56 "url": "git+https://github.com/Shuunen/shuutils.git"
57 },
58 "scripts": {
59 "build": "rm dist -rf && node bin/list && pkgroll --target=esnext && node bin/banner && pnpm mark && echo build success",
60 "build:watch": "watchlist bin src -eager -- pnpm build",
61 "check": "pnpm install && echo install success && pnpm build && pnpm lint && repo-check && echo repo-check success && pnpm test && echo check success",
62 "dev": "pnpm test:watch",
63 "lint": "pnpm lint:tsc && pnpm lint:biome && pnpm lint:eslint && pnpm lint:dep && echo lint success",
64 "lint:biome": "echo no biome yet",
65 "lint:dep": "depcruise src --config && echo lint:dep success",
66 "lint:eslint": "eslint --cache --max-warnings 0 --ext .ts,.ts . && echo lint:eslint success",
67 "lint:tsc": "tsc --noEmit && echo lint:tsc success",
68 "lint:watch": "watchlist src tests -eager -- pnpm lint",
69 "mark": "node dist/unique-mark.js dist/**/* && echo mark success",
70 "postversion": "git push && git push --tags && npm publish",
71 "prepack": "pnpm build",
72 "preversion": "pnpm check",
73 "start": "pnpm dev",
74 "test": "vitest --run --coverage && echo test success",
75 "test:bench": "vitest bench",
76 "test:update": "vitest --run --coverage --update && echo test update success",
77 "test:watch": "vitest --coverage"
78 },
79 "type": "module",
80 "types": "./dist/index.d.cts",
81 "version": "8.0.0"
82}