generated from innei-template/rollup-typescript-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 2.36 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
91
92
93
94
{
"name": "react-message-popup",
"version": "2.0.0-alpha.0",
"description": "A simple message popup for React",
"author": "Innei",
"license": "MIT",
"type": "module",
"main": "dist/src/index.js",
"module": "dist/src/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"type": "./dist/index.d.ts",
"import": "./dist/src/index.js"
},
"./src": {
"import": "./src"
}
},
"files": [
"dist",
"src",
"readme.md",
"tsconfig.json"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --ignore-path ./.prettierignore --write ",
"eslint --cache"
]
},
"bump": {
"before": [
"git pull --rebase",
"pnpm i",
"npm run build"
],
"after": [
"npm publish --access=public"
],
"changelog": true
},
"scripts": {
"prepare": "husky install",
"predeploy": "rm -rf example/dist",
"build": "NODE_ENV=production rollup -c --bundleConfigAsCjs",
"postbuild": "dts-bundle-generator -o dist/index.d.ts src/index.ts --project tsconfig.json --no-check",
"prebuild": "rm -rf build",
"dev": "vite",
"build:vite": "vite build",
"preview": "vite preview --port 2323",
"deploy": "vite build && gh-pages -d example/dist"
},
"peerDependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"devDependencies": {
"@innei/eslint-config-react-ts": "^0.9.10",
"@innei/eslint-config-ts": "^0.9.10",
"@innei/prettier": "^0.9.11",
"@rollup/plugin-commonjs": "24.1.0",
"@rollup/plugin-node-resolve": "15.0.2",
"@rollup/plugin-terser": "^0.4.1",
"@rollup/plugin-typescript": "11.1.0",
"@types/lodash-es": "4.17.7",
"@types/node": "20.1.2",
"@types/react": "18.2.6",
"@types/react-dom": "18.2.4",
"cssnano": "^6.0.1",
"dts-bundle-generator": "8.0.1",
"gh-pages": "5.0.0",
"husky": "8.0.3",
"lint-staged": "13.2.2",
"postcss": "8.4.23",
"postcss-preset-env": "8.3.2",
"prettier": "2.8.8",
"react": "18.2.0",
"react-dom": "18.2.0",
"rollup": "3.21.6",
"rollup-plugin-peer-deps-external": "2.2.4",
"rollup-plugin-postcss": "4.0.2",
"rollup-plugin-preserve-directives": "0.1.0",
"tslib": "2.5.0",
"typescript": "5.0.4",
"vite": "4.3.5",
"vite-tsconfig-paths": "^4.2.0"
}
}