-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.85 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
{
"name": "@webdeveric/dual-ts-package-template",
"description": "",
"version": "0.0.0",
"keywords": [],
"author": "Eric King <eric@webdeveric.com> (https://webdeveric.com/)",
"private": false,
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/webdeveric/dual-ts-package-template.git"
},
"bugs": {
"url": "https://github.com/webdeveric/dual-ts-package-template/issues"
},
"license": "MIT",
"packageManager": "pnpm@9.15.1+sha512.1acb565e6193efbebda772702950469150cf12bcc764262e7587e71d19dc98a423dff9536e57ea44c49bdf790ff694e83c27be5faa23d67e0c033b583be4bfcf",
"sideEffects": false,
"engines": {
"node": ">=20.0.0"
},
"type": "module",
"main": "./dist/mjs/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"require": "./dist/cjs/index.js",
"import": "./dist/mjs/index.js"
},
"./*": {
"types": "./dist/types/*.d.ts",
"require": "./dist/cjs/*.js",
"import": "./dist/mjs/*.js"
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
"scripts": {
"clean": "rimraf ./dist/",
"prebuild": "pnpm clean",
"build": "tsc --build tsconfig.cjs.json tsconfig.mjs.json --force",
"validate": "validate-package-exports --check --verify --info",
"postbuild": "echo '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json && echo '{\"type\":\"module\"}' > ./dist/mjs/package.json && pnpm validate",
"typecheck": "tsc --build --verbose",
"lint": "eslint ./*.{js,cjs,mjs,ts,cts,mts} ./src/ ./test/ --ext .ts,.mjs,.cjs",
"test": "vitest",
"coverage": "vitest run --coverage",
"spellcheck": "cspell './{.github,src,test}/**/*.{ts,json}' './*.{js,json,md,mjs,mts}' './package.json' --no-progress",
"prepublishOnly": "pnpm typecheck && pnpm spellcheck && pnpm lint && pnpm coverage && pnpm build",
"format": "prettier --write ./*.{js,json,md,mjs,mts} ./src/ ./test/",
"prepare": "husky"
},
"prettier": "@webdeveric/prettier-config",
"devDependencies": {
"@commitlint/config-conventional": "^19.6.0",
"@commitlint/types": "^19.5.0",
"@types/node": "^22.10.2",
"@vitest/coverage-v8": "^2.1.8",
"@webdeveric/eslint-config-ts": "^0.11.0",
"@webdeveric/prettier-config": "^0.3.0",
"commitlint": "^19.6.1",
"commitlint-plugin-cspell": "^0.1.1",
"conventional-changelog-conventionalcommits": "^8.0.0",
"cspell": "^8.17.1",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-import": "^2.31.0",
"husky": "^9.1.7",
"lint-staged": "^15.2.11",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"semantic-release": "^24.2.0",
"typescript": "^5.7.2",
"validate-package-exports": "^0.8.0",
"vitest": "^2.1.8"
}
}