/
package.json
65 lines (65 loc) · 1.8 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
{
"name": "@o-az/typescript-template",
"version": "0.0.1",
"description": "A template for Node.js projects using TypeScript, ESM, CJS, Pnpm, and Vitest",
"repository": "github:o-az/typescript-template",
"type": "module",
"main": "./dist/index.cjs",
"types": "./dist/index.d.cts",
"module": "./dist/index.js",
"source": "./src/index.ts",
"exports": {
"import": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"require": "./dist/index.cjs",
"default": "./dist/index.cjs"
}
},
"files": [
"dist"
],
"scripts": {
"dev": "NODE_ENV=development tsup --config=tsup.config.ts --watch --onSuccess='node --env-file=.env ./dist/index.js'",
"start": "node --env-file=.env ./dist/index.js",
"build": "tsup --config=tsup.config.ts",
"test": "vitest --run",
"lint": "biome check --apply .",
"format": "biome format . --write",
"typecheck": "tsc --project tsconfig.json --noEmit",
"check-package": "publint && attw --pack",
"release": "npm_config_yes=true pnpm dlx bumpp package.json --commit --push --tag",
"prerelease": "pnpm build && publint && attw --pack",
"prepublishOnly": "pnpm build",
"clean": "rm -rf dist"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.13.2",
"@biomejs/biome": "^1.3.3",
"@total-typescript/ts-reset": "^0.5.1",
"@types/node": "^20.10.0",
"publint": "^0.2.5",
"tsup": "^8.0.1",
"tsx": "^4.5.0",
"typescript": "^5.3.2",
"vitest": "^0.34.6"
},
"engines": {
"node": ">=20"
},
"sideEffects": false,
"author": "o-az (https://github.com/o-az)",
"keywords": [
"typescript",
"node.js",
"esm",
"cjs",
"pnpm",
"vitest",
"template"
],
"license": "GPT-v3-or-later"
}