-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
53 lines (53 loc) · 1.86 KB
/
package.json
File metadata and controls
53 lines (53 loc) · 1.86 KB
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
{
"name": "@bn3t/ts-template",
"version": "0.1.1",
"type": "module",
"description": "A template for typescript projects",
"main": "dist/index.cjs",
"module": "dist/index.js",
"bin": "dist/main.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build:check": "tsc --noEmit",
"build:js": "tsup-node --entry src/main.ts --entry src/index.ts --format cjs,esm --dts --sourcemap",
"bun:build:js": "bun build ./src/main.ts ./src/index.ts --outdir=dist --target=node --sourcemap=external --external='*'",
"bun:build:bun": "bun build ./src/main.ts --outdir=dist-bun --target=bun --sourcemap",
"bun:build:bun-exe": "bun build ./src/main.ts --compile --outfile ./dist-bun/main",
"build": "npm run lint && npm run build:check && npm run build:js",
"bun:build": "npm run lint && tsc --declaration --emitDeclarationOnly && bun run bun:build:js && bun run bun:build:bun",
"clean": "rimraf build dist dist-bun coverage node_modules junit.xml",
"dev": "ts-node-esm src/main.ts",
"lint": "eslint --ext mts,cts,ts,js src",
"lint:fix": "eslint --ext mts,cts,ts,js --fix src",
"ncu": "ncu -u",
"start": "node dist/main.js",
"test:ci": "vitest run --coverage",
"test": "vitest"
},
"author": "You",
"license": "MIT",
"devDependencies": {
"@types/jest": "^29.5.8",
"@types/yargs": "^17.0.31",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"@vitest/coverage-c8": "^0.28.3",
"@vitest/coverage-v8": "^0.34.6",
"eslint": "^8.53.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"npm-check-updates": "^16.14.6",
"prettier": "^3.0.3",
"rimraf": "^5.0.5",
"ts-node": "^10.9.1",
"tsup": "^7.2.0",
"typescript": "^5.2.2",
"vitest": "^0.34.6"
},
"dependencies": {
"yargs": "^17.7.2"
}
}