-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
85 lines (85 loc) · 2.51 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
{
"name": "@rtivital/ts-package-template",
"description": "A template for TypeScript packages",
"packageManager": "[email protected]",
"version": "0.5.0",
"type": "module",
"author": "Vitaly Rtishchev <[email protected]>",
"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.mjs && 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"
},
"devDependencies": {
"@eslint/js": "^9.15.0",
"@ianvs/prettier-plugin-sort-imports": "^4.4.0",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-replace": "^6.0.1",
"@types/eslint__js": "^8.42.3",
"@types/fs-extra": "^11",
"@types/jest": "^29.5.14",
"@types/node": "^22.9.1",
"@types/signale": "^1",
"@types/yargs": "^17.0.33",
"esbuild": "^0.24.0",
"eslint": "^9.15.0",
"execa": "^9.5.1",
"fs-extra": "^11.2.0",
"jest": "^29.7.0",
"new-github-release-url": "^2.0.0",
"open": "^10.1.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"rollup": "^4.27.3",
"rollup-plugin-esbuild": "^6.1.1",
"rollup-plugin-node-externals": "^7.1.3",
"signale": "^1.4.0",
"simple-git": "^3.27.0",
"ts-jest": "^29.2.5",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"typescript-eslint": "^8.15.0",
"version-next": "^1.0.2",
"yargs": "^17.7.2"
}
}