-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
70 lines (70 loc) · 2.08 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
{
"name": "@mccann-hub/create-typescript-template",
"version": "0.3.0",
"publishConfig": {
"access": "public"
},
"description": "CLI tool to initialize a TypeScript project with dual CommonJS and ESM support, path aliases, unit testing, and linting for NPM publishing.",
"main": "./dist/cjs/index.js",
"bin": "./bin/index.js",
"scripts": {
"test": "cross-env TSX_TSCONFIG_PATH='./tsconfig.test.json' mocha",
"build:cjs": "tsc --project tsconfig.commonjs.json && tsc-alias -p tsconfig.commonjs.json",
"build:esm": "tsc --project tsconfig.esm.json && tsc-alias -p tsconfig.esm.json",
"build": "npm run build:cjs && npm run build:esm",
"prepublishOnly": "npm run build",
"clean": "node -e \"require('fs').rmSync('./dist', { recursive: true, force: true })\"",
"prebuild": "npm run clean",
"lint": "eslint . --ext .ts,.js --fix"
},
"keywords": [
"typescript",
"typescript-init",
"project-generator",
"typescript-starter",
"cli",
"project-setup",
"module-support",
"npm-package",
"dual-module",
"commonjs",
"esm",
"module-resolution",
"path-alias",
"typescript-config",
"linting",
"unit-testing",
"npm-publish"
],
"author": "jabez007",
"license": "ISC",
"devDependencies": {
"@types/mocha": "^10.0.9",
"@types/node": "^22.8.2",
"@typescript-eslint/eslint-plugin": "^8.12.2",
"@typescript-eslint/parser": "^8.12.2",
"cross-env": "^7.0.3",
"eslint": "^8.57.1",
"mocha": "^10.7.3",
"tsc-alias": "^1.8.10",
"tsconfig-paths": "^4.2.0",
"tsx": "^4.19.2",
"typescript": "^5.6.3"
},
"types": "./dist/cjs/index.d.ts",
"module": "./dist/esm/index.js",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/McCann-Hub/create-typescript-template.git"
},
"bugs": {
"url": "https://github.com/McCann-Hub/create-typescript-template/issues"
},
"homepage": "https://github.com/McCann-Hub/create-typescript-template#readme"
}