-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
96 lines (96 loc) · 2.36 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
{
"name": "@tbusillo/teensy-typescript-package",
"author": "Tom Busillo",
"version": "0.0.2",
"packageManager": "pnpm@7.13.2",
"description": "A teensy-tiny Node.js TypeScript package template.",
"type": "module",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/tbusillo/teensy-typescript-package.git"
},
"bugs": {
"url": "https://github.com/tbusillo/teensy-typescript-package/issues"
},
"keywords": [
"typescript",
"node",
"package",
"template",
"nodejs"
],
"sideEffects": false,
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
}
},
"files": [
"dist"
],
"scripts": {
"dev": "unbuild",
"start": "nodemon --exec ts-node src/index.ts",
"prebuild": "test \"$CI\" = true && npx pnpm install -r --store=node_modules/.pnpm-store || echo skiping pnpm install",
"build": "pnpm clean && tsc -p .",
"stub": "pnpm unbuild --stub",
"test": "jest",
"lint": "eslint --ext .ts --fix",
"preci:test": "pnpm install -r --store=node_modules/.pnpm-store",
"ci:test": "pnpm build && pnpm test",
"clean": "rm -rf dist",
"release": "standard-version",
"format": "prettier --write '**/*.{ts,js,json,md}'",
"lint-staged": "pnpm lint && pnpm format",
"prepare": "pnpm husky install"
},
"nodemonConfig": {
"include": [
"src",
"test"
],
"ignore": [
"dist",
"node_modules"
]
},
"husky": {
"hooks": {
"pre-commit": [
"lint-staged",
"pnpm test",
"git add"
]
}
},
"devDependencies": {
"@jest/globals": "^29.0.2",
"@types/jest": "^29.0.0",
"@types/node": "^18.7.15",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"dotenv": "^16.0.2",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.5.0",
"husky": "^8.0.1",
"jest": "^29.3.1",
"lint-staged": "^13.0.3",
"nodemon": "^2.0.20",
"prettier": "^2.8.1",
"rimraf": "^3.0.2",
"standard-version": "^9.5.0",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"typescript": "^4.9.4",
"unbuild": "^0.9.4"
},
"dependencies": {
"ts-jest-resolver": "^2.0.0"
}
}