generated from innei-template/rollup-typescript-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
93 lines (93 loc) · 2.57 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": "@innei/react-typewriter",
"version": "0.1.4",
"description": "A simple component impl typewriter effect.",
"author": "Innei",
"license": "MIT",
"main": "build/index.cjs.js",
"module": "build/index.esm.js",
"types": "build/index.d.ts",
"unpkg": "build/index.umd.min.js",
"bump": {
"before": [
"npm run package"
],
"after": [
"npm publish --access=public",
"npm run deploy"
]
},
"files": [
"build",
"readme.md",
"tsconfig.json"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --ignore-path ./.prettierignore --write ",
"eslint --cache"
]
},
"scripts": {
"prepare": "husky install",
"predeploy": "rm -rf dist",
"package": "NODE_ENV=production rollup -c",
"postpackage": "dts-bundle-generator -o build/index.d.ts src/index.ts --project tsconfig.json --no-check",
"prepackage": "rm -rf build",
"dev": "vite",
"build:vite": "vite build",
"preview": "vite preview --port 2323",
"deploy": "vite build && gh-pages -d example/dist",
"test": "jest --env=jsdom --colors --coverage test",
"test:watch": "jest --env=jsdom --colors --coverage test --watch"
},
"peerDependencies": {
"react": "^17.0.2"
},
"devDependencies": {
"@babel/preset-react": "7.16.7",
"@innei-util/eslint-config-react-ts": "0.8.2",
"@innei-util/eslint-config-ts": "latest",
"@innei-util/prettier": "latest",
"@rollup/plugin-babel": "5.3.1",
"@rollup/plugin-commonjs": "21.1.0",
"@rollup/plugin-node-resolve": "13.2.1",
"@rollup/plugin-typescript": "8.3.2",
"@saber2pr/jsx-ast-parser": "0.1.2",
"@tailwindcss/typography": "0.5.2",
"@types/jest": "27.4.1",
"@types/lodash-es": "4.17.6",
"@types/node": "16.11.32",
"@types/react": "18.0.8",
"@types/react-dom": "18.0.3",
"@zerollup/ts-transform-paths": "1.7.18",
"daisyui": "1.25.4",
"dts-bundle-generator": "6.9.0",
"esbuild": "0.14.38",
"gh-pages": "3.2.3",
"husky": "7.0.4",
"jest": "27.5.1",
"lint-staged": "12.4.1",
"lodash-es": "4.17.21",
"postcss": "8.4.13",
"prettier": "2.6.2",
"react": "17.0.2",
"react-dom": "17.0.2",
"rollup": "2.71.1",
"rollup-plugin-peer-deps-external": "2.2.4",
"rollup-plugin-postcss": "4.0.2",
"rollup-plugin-terser": "7.0.2",
"tailwindcss": "3.0.24",
"ts-jest": "27.1.4",
"tslib": "2.4.0",
"ttypescript": "1.5.13",
"typescript": "4.6.4",
"vite": "2.9.6",
"vite-tsconfig-paths": "3.4.1"
}
}