-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
90 lines (90 loc) · 2.4 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
89
90
{
"name": "microbundle-package-react-template",
"version": "0.0.0",
"description": "",
"source": "src/index.ts",
"main": "dist/index.js",
"module": "dist/index.module.js",
"esmodule": "dist/index.esmodule.js",
"umd:main": "dist/index.umd.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"umd": "./dist/index.umd.js",
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"default": "./dist/index.module.js"
}
},
"scripts": {
"lint": "eslint --ext .ts,.tsx src --color",
"size": "npm run build && size-limit",
"check-types": "tsc --noEmit true",
"build": "del-cli 'dist/*' && microbundle build --entry src/index.ts --jsx React.createElement --name microbundle-package-react-template --css inline --tsconfig tsconfig.build.json",
"test": "vitest",
"verify-commit": "verify-commit-msg",
"postinstall": "git-scm-hooks",
"release": "bumpp -r && npm publish"
},
"keywords": [],
"author": "hunghg255 <[email protected]>",
"license": "MIT",
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"devDependencies": {
"@hunghg255/eslint-config-react": "^0.0.8",
"@size-limit/preset-small-lib": "^8.2.6",
"@types/node": "^20.5.7",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"bumpp": "^9.2.0",
"del-cli": "^5.1.0",
"eslint": "^8.48.0",
"git-scm-hooks": "^0.0.7",
"microbundle": "^0.15.1",
"prettier": "^2.8.8",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"size-limit": "^8.2.6",
"typescript": "^4.9.5",
"verify-commit-msg": "^0.0.10"
},
"files": [
"dist/*.{js,mjs,ts,map}",
"dist/components/*.ts",
"dist/utils/nonce.d.ts",
"LICENSE",
"ACKNOWLEDGMENTS",
"README.md",
"package.json"
],
"size-limit": [
{
"path": "dist/index.module.js",
"name": "Hi",
"import": "{ Hi }",
"limit": "3 KB"
},
{
"path": "dist/index.module.js",
"name": "Hello",
"import": "{ Hello }",
"limit": "3 KB"
}
],
"homepage": "https://github.com/hunghg255/hunghg255",
"repository": {
"type": "git",
"url": "https://github.com/hunghg255/hunghg255"
},
"bugs": {
"url": "https://github.com/hunghg255/hunghg255/issues"
},
"git-hooks": {
"pre-commit": "npm run lint",
"commit-msg": "npm run verify-commit"
}
}