-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
82 lines (82 loc) · 3.38 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
{
"name": "package-skeleton",
"version": "1.0.0",
"description": "{{package.description}}",
"author": "{{package.author.name}} <{{package.author.email}}>",
"type": "module",
"license": "MIT",
"keywords": [
"nodejs",
"typescript"
],
"homepage": "https://github.com/{{vendor.github}}/{{package.name}}",
"repository": {
"type": "git",
"url": "git+https://github.com/{{vendor.github}}/{{package.name}}.git"
},
"bugs": {
"url": "https://github.com/{{vendor.github}}/{{package.name}}/issues"
},
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"lint-staged": {
"*.{js,ts}": [
"biome format --no-errors-on-unmatched --write",
"prettier --config prettier.config.js --write",
"eslint --config eslint.config.js --fix"
],
"*.{css,gql,graphql,html,json,less,md,mdx,sass,scss}": [
"prettier --config prettier.config.js --write"
],
"*.{yaml,yml}": [
"prettier --config prettier.config.js --tab-width 2 --write"
]
},
"scripts": {
"analyze:deps:circular": "madge --extensions js,ts --circular --ts-config tsconfig.json src/**",
"analyze:deps:list": "madge --extensions js,ts --ts-config tsconfig.json src/**",
"analyze:deps:graph": "madge --extensions js,ts --image graph.svg --layout dot --ts-config tsconfig.json src/**",
"test": "jest tests --verbose",
"test:coverage": "jest tests --coverage",
"fmt": "biome format --no-errors-on-unmatched --write . && prettier --config prettier.config.js --write .",
"lint": "eslint --config eslint.config.js --ext ts,js src/",
"lint:fix": "biome lint --apply-unsafe src/ && eslint --config eslint.config.js --ext ts,js --fix src/",
"lint:staged": "lint-staged",
"fix": "npm run fmt && npm run lint:fix",
"build:api-docs": "typedoc --plugin typedoc-plugin-markdown --out docs/api src/index.ts",
"build:dev": "node --no-warnings scripts/build.cjs",
"build:prod": "node --no-warnings scripts/build.cjs --production",
"build:binaries": "node --no-warnings scripts/build.cjs --binaries",
"build:dts": "dts-bundle-generator -o dist/index.d.ts src/index.ts",
"build": "npm run build:dev && npm run build:dts",
"dev": "npm run build:dev && node dist/index.js",
"prepare": "husky",
"version": "auto-changelog -p -o CHANGELOG.md --hide-credit --release-summary --hide-empty-releases --sort-commits date-desc && git add CHANGELOG.md"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@types/jest": "^29.5.14",
"@types/node": "^22.9.0",
"@typescript-eslint/eslint-plugin": "^8.14.0",
"@typescript-eslint/parser": "^8.14.0",
"auto-changelog": "^2.4.0",
"dts-bundle-generator": "^9.2.4",
"esbuild": "^0.24.0",
"eslint": "^9.15.0",
"eslint-plugin-jest": "^28.9.0",
"eslint-plugin-node": "^11.1.0",
"husky": "^9.1.6",
"jest": "^29.7.0",
"lint-staged": "^15.2.0",
"madge": "^8.0.0",
"prettier": "^3.2.1",
"ts-jest": "^29.1.1",
"typedoc": "^0.27.2",
"typedoc-plugin-markdown": "^3.17.1",
"typescript": "^5.6.3"
},
"bin": "bin/{{package.name}}",
"engines": {
"node": ">=18.0.0"
}
}