repository template for Node.js & TypeScript projects
1{
2 "name": "@author/package",
3 "version": "1.0.0",
4 "description": "_desc_",
5 "license": "MIT",
6 "author": {
7 "name": "_author_",
8 "url": "https://github.com/_username_"
9 },
10 "keywords": [
11 "typescript"
12 ],
13 "bugs": "https://github.com/_username_/_repository_/issues",
14 "repository": {
15 "type": "git",
16 "url": "git+https://github.com/_username_/_repository_.git",
17 "directory": "packages/pkg1"
18 },
19 "publishConfig": {
20 "access": "public"
21 },
22 "type": "module",
23 "types": "./dist/index.d.mts",
24 "module": "./dist/index.mjs",
25 "exports": {
26 ".": {
27 "types": "./dist/index.d.mts",
28 "import": "./dist/index.mjs"
29 }
30 },
31 "files": [
32 "dist"
33 ],
34 "scripts": {
35 "build": "tsdown",
36 "dev": "tsdown --watch",
37 "test": "vitest",
38 "fmt": "oxfmt --config=./../../.oxfmtrc.jsonc",
39 "fmt-check": "npm run fmt -- --check",
40 "lint": "oxlint --config=./../../.oxlintrc.jsonc",
41 "fix": "npm run lint -- --fix"
42 }
43}