-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.37 KB
/
package.json
File metadata and controls
82 lines (82 loc) · 2.37 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
{
"name": "@d3p1/lib-ts-react-template",
"version": "1.1.3",
"description": "A template to build a library using TypeScript with a Vanilla and React entry points",
"private": false,
"type": "module",
"main": "./dist/core/index.js",
"module": "./dist/core/index.js",
"types": "./dist/core/index.d.ts",
"exports": {
"./core": {
"import": {
"types": "./dist/core/index.d.ts",
"default": "./dist/core/index.js"
}
},
"./react": {
"import": {
"types": "./dist/react/index.d.ts",
"default": "./dist/react/index.js"
}
}
},
"files": [
"./dist"
],
"scripts": {
"lint:spelling": "write-good --no-passive",
"lint:code": "eslint --ignore-path .gitignore --ext .js,.ts src",
"lint:code:fix": "npm run lint:code -- --fix",
"format:code": "prettier --ignore-path .gitignore --check src",
"format:code:fix": "npm run format:code -- --write",
"refactor": "npm run format:code:fix && npm run lint:code:fix",
"build": "tsc && vite build",
"dev": "vite",
"prepublishOnly": "npm ci && npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/d3p1/lib-ts-react-template.git"
},
"author": "C. M. de Picciotto <d3p1@d3p1.dev> (https://d3p1.dev/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/d3p1/lib-ts-react-template/issues"
},
"homepage": "https://github.com/d3p1/lib-ts-react-template#readme",
"keywords": [],
"devDependencies": {
"@commitlint/cli": "^17.7.1",
"@d3p1/commitlint-config": "^1.0.0",
"@eslint/js": "^9.39.1",
"@tailwindcss/vite": "^4.1.18",
"@types/node": "^24.10.1",
"@types/react": "^19.2.5",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react-swc": "^4.2.2",
"eslint": "^9.39.1",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.4.24",
"globals": "^16.5.0",
"husky": "^8.0.3",
"prettier": "3.0.3",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"rollup-preserve-directives": "^1.1.3",
"tailwindcss": "^4.1.18",
"typescript": "~5.9.3",
"typescript-eslint": "^8.46.4",
"vite": "^7.2.4",
"vite-plugin-dts": "^4.5.3",
"write-good": "^1.0.8"
},
"peerDependencies": {
"react": "^19.2.0",
"react-dom": "^19.2.0"
},
"publishConfig": {
"access": "public"
}
}