Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 1.74 KB
/
Copy pathpackage.json
File metadata and controls
64 lines (64 loc) · 1.74 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
54
55
56
57
58
59
60
61
62
63
64
{
"name": "@rwaterman/ts-lib-starter",
"version": "1.1.0",
"publishConfig": {
"access": "public"
},
"description": "A minimal ESM library starter for projects written in TypeScript",
"type": "module",
"engines": {
"node": ">=24"
},
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.js"
}
},
"sideEffects": false,
"files": [
"lib"
],
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^24.0.0",
"esbuild": "^0.28.1",
"eslint": "^10.4.1",
"eslint-config-prettier": "^10.1.8",
"globals": "^17.6.0",
"husky": "^9.1.7",
"prettier": "^3.8.4",
"typescript": "^6.0.3",
"typescript-eslint": "^8.61.0",
"vitest": "^4.1.12"
},
"scripts": {
"clean": "rm -rf lib",
"build": "npm run clean && npm run build:js && npm run build:types",
"build:js": "esbuild src/index.ts --bundle --platform=node --format=esm --target=node24 --packages=external --sourcemap --outfile=lib/index.js",
"build:types": "tsc -p tsconfig.build.json",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prepare": "husky",
"prepublishOnly": "npm run clean && npm run verify",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit -p tsconfig.json",
"verify": "npm run format:check && npm run lint && npm run typecheck && npm test && npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rwaterman/ts-lib-starter.git"
},
"keywords": [
"TypeScript",
"Library",
"Starter"
],
"author": "Rick Waterman",
"license": "MIT"
}