-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.57 KB
/
package.json
File metadata and controls
88 lines (88 loc) · 2.57 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "@rtivital/ts-package-template",
"description": "A template for TypeScript packages",
"packageManager": "yarn@4.11.0",
"version": "0.7.0",
"type": "module",
"author": "Vitaly Rtishchev <rtivital@gmail.com>",
"engines": {
"node": ">=16.6.0"
},
"keywords": [
"typescript",
"template"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/rtivital/ts-package-template.git"
},
"bugs": {
"url": "https://github.com/rtivital/ts-package-template/issues"
},
"homepage": "https://github.com/rtivital/ts-package-template#readme",
"main": "./dist/cjs/index.cjs",
"types": "./dist/types/index.d.cts",
"module": "./dist/esm/index.mjs",
"exports": {
".": {
"import": {
"types": "./dist/types/index.d.mts",
"default": "./dist/esm/index.mjs"
},
"require": {
"types": "./dist/types/index.d.cts",
"default": "./dist/cjs/index.cjs"
}
}
},
"scripts": {
"clean": "rimraf dist",
"generate-dts": "tsx scripts/generate-dts",
"build": "rollup -c rollup.config.js && npm run generate-dts",
"pack:test": "tsx scripts/pack-test",
"prettier:check": "prettier --check \"**/*.{ts,tsx}\"",
"prettier:write": "prettier --write \"**/*.{ts,tsx}\"",
"typecheck": "tsc --noEmit",
"lint": "eslint --cache .",
"jest": "jest",
"test": "npm run prettier:check && npm run typecheck && npm run lint && npm run jest && npm run build && npm run pack:test",
"release": "npm test && tsx scripts/release",
"knip": "knip"
},
"devDependencies": {
"@eslint/js": "^9.35.0",
"@ianvs/prettier-plugin-sort-imports": "^4.7.0",
"@rollup/plugin-alias": "^6.0.0",
"@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-replace": "^6.0.2",
"@types/fs-extra": "^11",
"@types/jest": "^30.0.0",
"@types/node": "^24.3.3",
"@types/signale": "^1",
"@types/yargs": "^17.0.33",
"chalk": "^5.6.2",
"esbuild": "^0.26.0",
"eslint": "^9.35.0",
"fs-extra": "^11.3.1",
"jest": "^30.1.3",
"knip": "^5.63.1",
"new-github-release-url": "^2.0.0",
"open": "^10.2.0",
"prettier": "^3.6.2",
"rimraf": "^6.0.1",
"rollup": "^4.50.1",
"rollup-plugin-esbuild": "^6.2.1",
"rollup-plugin-node-externals": "^8.1.1",
"signale": "^1.4.0",
"simple-git": "^3.28.0",
"ts-jest": "^29.4.1",
"tsx": "^4.20.5",
"typescript": "^5.9.2",
"typescript-eslint": "^8.43.0",
"version-next": "^1.0.2",
"yargs": "^18.0.0",
"zx": "^8.8.1"
}
}