-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
140 lines (140 loc) · 3.93 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"author": "Jason Williscroft",
"bin": {
"mycli": "./dist/cli/mycli/index.js"
},
"bugs": {
"url": "https://github.com/karmaniverous/npm-package-template-ts/issues"
},
"dependencies": {
"commander": "^12.1.0"
},
"description": "A feature-rich NPM package template for TypeScript projects.",
"devDependencies": {
"@commander-js/extra-typings": "^12.1.0",
"@dotenvx/dotenvx": "^1.22.0",
"@eslint/js": "^9.14.0",
"@rollup/plugin-alias": "^5.1.1",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.1",
"@types/chai": "^5.0.1",
"@types/eslint__js": "^8.42.3",
"@types/eslint-config-prettier": "^6.11.3",
"@types/eslint-plugin-mocha": "^10.4.0",
"@types/fs-extra": "^11.0.4",
"@types/mocha": "^10.0.9",
"@types/node": "^22.9.0",
"auto-changelog": "^2.5.0",
"chai": "^5.1.2",
"eslint": "^9.14.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-mocha": "^10.5.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-tsdoc": "^0.3.0",
"fs-extra": "^11.2.0",
"jsdom-global": "^3.0.2",
"knip": "^5.36.3",
"lefthook": "^1.8.2",
"mocha": "^10.8.2",
"nyc": "^17.1.0",
"prettier": "^3.3.3",
"release-it": "^17.10.0",
"rimraf": "^6.0.1",
"rollup": "^4.24.4",
"rollup-plugin-dts": "^6.1.1",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"typedoc": "^0.26.11",
"typedoc-plugin-mdn-links": "^3.3.6",
"typedoc-plugin-replace-text": "^4.0.0",
"typescript": "^5.6.3",
"typescript-eslint": "^8.13.0"
},
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/mjs/index.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/cjs/index.js"
}
}
},
"files": [
"dist"
],
"homepage": "https://github.com/karmaniverous/npm-package-template-ts#readme",
"keywords": [
"chai",
"eslint",
"lefthook",
"mocha",
"npm",
"nyc",
"prettier",
"rollup",
"template",
"typescript"
],
"license": "BSD-3-Clause",
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.js",
"name": "@karmaniverous/npm-package-template-ts",
"publishConfig": {
"access": "public"
},
"release-it": {
"git": {
"changelog": "npx auto-changelog --stdout --commit-limit false --unreleased --template https://raw.githubusercontent.com/release-it/release-it/main/templates/changelog-compact.hbs",
"commitMessage": "chore: release v${version}",
"requireBranch": "main"
},
"github": {
"release": true
},
"hooks": {
"after:init": [
"npm run lint",
"npm run test",
"npm run knip",
"npm run build"
],
"before:npm:release": [
"npx auto-changelog -p",
"npm run docs",
"git add -A"
],
"after:release": [
"git switch -c release/${version}",
"git push -u origin release/${version}",
"git switch ${branchName}"
]
},
"npm": {
"publish": true
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/karmaniverous/npm-package-template-ts.git"
},
"scripts": {
"build": "rimraf dist && rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",
"docs": "typedoc",
"knip": "knip",
"lint": "eslint src/** && prettier -c src",
"lint:fix": "eslint --fix src/** && prettier --write src",
"release": "dotenvx run -f .env.local -- release-it",
"release:pre": "dotenvx run -f .env.local -- release-it --no-git.requireBranch --github.prerelease --preRelease",
"test": "dotenvx run --quiet --log-level=LOG_LEVEL=debug -- nyc mocha"
},
"type": "module",
"types": "dist/index.d.ts",
"version": "0.6.13"
}