generated from atomicpages/ts-starter
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
88 lines (88 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
86
87
88
{
"name": "docusaurus-plugin-react-docgen-typescript",
"version": "1.3.0",
"description": "A small plugin that integrates react-docgen-typescript with docusaurus 2.x",
"keywords": [
"docusaurus",
"docusaurus-plugin",
"docusaurus2-plugin",
"react-docgen",
"react-docgen-typescript",
"typescript"
],
"repository": {
"type": "git",
"url": "https://github.com/atomicpages/docusaurus-plugin-react-docgen-typescript"
},
"license": "MIT",
"author": "Dennis Thompson",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.mjs",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
},
"import": {
"types": "./dist/esm/index.d.mts",
"default": "./dist/esm/index.mjs"
}
},
"./useDynamicImport": {
"require": {
"types": "./dist/cjs/hooks/useDynamicImport.d.ts",
"default": "./dist/cjs/hooks/useDynamicImport.js"
},
"import": {
"types": "./dist/esm/hooks/useDynamicImport.d.mts",
"default": "./dist/esm/hooks/useDynamicImport.mjs"
}
}
},
"files": [
"dist"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 0",
"lint": "eslint src --ext=ts,tsx,js,jsx,json",
"prebuild": "rm -rf dist",
"build": "npm-run-all -p build:*",
"build:esm": "tsup --sourcemap --format esm --target es2022 --dts -d dist/esm `./scripts/files.sh`",
"build:cjs": "tsup --sourcemap --format cjs --target es2020 --dts -d dist/cjs `./scripts/files.sh`",
"build:types": "tsc -p .",
"prepare": "is-ci || husky install"
},
"dependencies": {
"glob": "^11.0.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.2",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@djthoms/eslint-config": "^6.4.2",
"@djthoms/prettier-config": "^4.4.1",
"@docusaurus/types": "^3.7.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/node": "^22.10.5",
"@types/react": "^18.3.18",
"husky": "^9.1.7",
"is-ci": "^3.0.1",
"lint-staged": "^15.3.0",
"npm-run-all": "^4.1.5",
"react": "^18.3.1",
"react-docgen-typescript": "^2.2.2",
"semantic-release": "^24.2.1",
"tsup": "^8.3.5",
"typescript": "^5.7.2"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-docgen-typescript": "^2.0.0"
},
"publishConfig": {
"access": "public"
}
}