-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 2.34 KB
/
package.json
File metadata and controls
95 lines (95 loc) · 2.34 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
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "react-message-popup",
"version": "1.0.0-alpha.2",
"description": "A simple message popup for React",
"author": "Innei",
"license": "MIT",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"unpkg": "dist/index.umd.min.js",
"exports": {
".": {
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs.js"
},
"./src": {
"import": "./src"
}
},
"files": [
"dist",
"src",
"readme.md",
"tsconfig.json"
],
"engines": {
"pnpm": ">=6"
},
"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"
]
},
"scripts": {
"prepare": "husky install",
"predeploy": "rm -rf example/dist",
"build": "NODE_ENV=production rollup -c",
"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": {
"@babel/core": "7.17.12",
"@innei-util/eslint-config-react-ts": "0.8.2",
"@innei-util/eslint-config-ts": "0.8.2",
"@innei-util/prettier": "0.8.2",
"@rollup/plugin-babel": "5.3.1",
"@rollup/plugin-commonjs": "22.0.0",
"@rollup/plugin-node-resolve": "13.3.0",
"@rollup/plugin-typescript": "8.3.2",
"@types/lodash-es": "4.17.6",
"@types/node": "17.0.31",
"@types/react": "18.0.8",
"@types/react-dom": "18.0.3",
"dts-bundle-generator": "6.9.0",
"gh-pages": "3.2.3",
"husky": "7.0.4",
"lint-staged": "12.4.1",
"postcss": "8.4.13",
"postcss-preset-env": "7.5.0",
"prettier": "2.6.2",
"react": "18.1.0",
"react-dom": "18.1.0",
"rollup": "2.71.1",
"rollup-plugin-peer-deps-external": "2.2.4",
"rollup-plugin-postcss": "4.0.2",
"rollup-plugin-terser": "7.0.2",
"tslib": "2.4.0",
"typescript": "4.6.4",
"vite": "2.9.7"
}
}