-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
93 lines (93 loc) · 2.48 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
{
"name": "react-shortcut-guide",
"version": "1.0.0",
"description": "Long-press command or press `?` to present a shortcut guide for your Web application.",
"author": "Innei",
"license": "MIT",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.mjs",
"types": "dist/index.d.ts",
"files": [
"dist",
"readme.md",
"tsconfig.json"
],
"exports": {
".": {
"type": "./dist/index.d.ts",
"import": "./dist/index.esm.mjs",
"require": "./dist/index.cjs.js"
},
"./src": {
"import": "./src"
},
"./src/*": {
"import": "./src/*"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"bump": {
"before": [
"npm run build"
],
"publish": true
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --ignore-path ./.prettierignore --write ",
"eslint --cache"
]
},
"scripts": {
"prepare": "husky install",
"predeploy": "rm -rf example/dist",
"prebuild": "rm -rf rm -rf lib && rm -rf esm",
"build": "NODE_ENV=production rollup -c --bundleConfigAsCjs",
"postbuild": "dts-bundle-generator -o dist/index.d.ts src/index.ts --project tsconfig.json --no-check",
"dev": "vite",
"build:vite": "vite build",
"preview": "vite preview --port 2323",
"deploy": "vite build && gh-pages -d example/dist",
"test": "vitest"
},
"devDependencies": {
"@geist-ui/core": "2.3.8",
"@innei-util/eslint-config-react-ts": "0.8.2",
"@innei-util/eslint-config-ts": "latest",
"@innei-util/prettier": "latest",
"@rollup/plugin-commonjs": "24.0.1",
"@rollup/plugin-node-resolve": "15.0.1",
"@rollup/plugin-typescript": "11.0.0",
"@types/node": "18.15.3",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@vitejs/plugin-react": "3.1.0",
"@zerollup/ts-transform-paths": "1.7.18",
"cssnano": "^5.1.15",
"dts-bundle-generator": "7.2.0",
"esbuild": "0.17.11",
"gh-pages": "5.0.0",
"husky": "8.0.3",
"lint-staged": "13.2.0",
"postcss": "8.4.21",
"postcss-nested": "6.0.1",
"postcss-preset-env": "8.0.1",
"prettier": "2.8.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "3.19.1",
"rollup-plugin-esbuild": "5.0.0",
"rollup-plugin-peer-deps-external": "2.2.4",
"rollup-plugin-postcss": "4.0.2",
"tslib": "2.5.0",
"ttypescript": "1.5.15",
"typescript": "4.9.5",
"vite": "4.1.4",
"vite-tsconfig-paths": "4.0.7",
"vitest": "0.29.3"
}
}