-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
82 lines (82 loc) · 2.26 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
{
"name": "ts-lib-starter",
"version": "0.0.0",
"description": "TypeScript library starter",
"bugs": {
"url": "https://github.com/Kamahl19/ts-lib-starter/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Kamahl19/ts-lib-starter.git"
},
"license": "MIT",
"author": "Martin Litvaj <[email protected]> (http://litvaj.com)",
"type": "module",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.cts",
"default": "./dist/cjs/index.cjs"
}
},
"./package.json": "./package.json"
},
"main": "dist/cjs/index.cjs",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "npm run type-check && vite build && publint --strict && attw --pack",
"format": "prettier --write . --ignore-unknown",
"format-check": "prettier --check . --ignore-unknown",
"lint": "eslint \"./**/*.{js,cjs,ts}\" --max-warnings 0",
"prepare": "husky",
"test": "vitest --run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest",
"type-check": "tsc"
},
"lint-staged": {
"*.{js,cjs,ts}": [
"eslint --fix"
],
"**/*": [
"prettier --write --ignore-unknown"
]
},
"devDependencies": {
"@arethetypeswrong/cli": "0.15.3",
"@tsconfig/strictest": "2.0.5",
"@types/eslint": "8.56.10",
"@types/node": "20.12.7",
"@typescript-eslint/eslint-plugin": "7.7.1",
"@typescript-eslint/parser": "7.7.1",
"@vitest/coverage-istanbul": "1.5.2",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "npm:[email protected]",
"eslint-plugin-vitest": "0.4.1",
"husky": "9.0.11",
"lint-staged": "15.2.2",
"prettier": "3.2.5",
"prettier-plugin-packagejson": "2.5.0",
"publint": "0.2.7",
"rollup-plugin-preserve-directives": "0.4.0",
"typescript": "5.4.5",
"vite": "5.2.10",
"vite-plugin-dts": "3.9.0",
"vite-plugin-externalize-deps": "0.8.0",
"vite-tsconfig-paths": "4.3.2",
"vitest": "1.5.2"
},
"engines": {
"node": ">=18"
}
}