-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
package.json
117 lines (117 loc) · 4.42 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"private": true,
"version": "2.0.0",
"license": "MIT",
"scripts": {
"bootstrap": "pnpm build:packages && pnpm build:docs",
"build:packages": "pnpm build:prepare && pnpm run build:shared && pnpm build:plugins && pnpm build:tools && pnpm build:hooks && pnpm build:request",
"build:prepare": "pnpm -F @taro-hooks/shared -F @taro-hooks/blueimp-canvas-to-blob -F @taro-hooks/compressorjs run build",
"dev:docs": "pnpm -F @taro-hooks/website run start",
"build:docs": "pnpm -F @taro-hooks/website -F @taro-hooks/taro-hooks-** run build && pnpm run generate-docs",
"update:demos": "pnpm -F @taro-hooks/taro-hooks-** run update",
"dev:demos:h5": "pnpm -F @taro-hooks/taro-hooks-** run dev:h5",
"dev:demos:weapp": "pnpm -F @taro-hooks/taro-hooks-** run dev:weapp",
"build:demos:h5": "pnpm -F @taro-hooks/taro-hooks-** run build:h5",
"dev:plugins": "pnpm -F @taro-hooks/plugin-** run dev",
"build:plugins": "pnpm -F @taro-hooks/plugin-** run build",
"dev:tools": "pnpm -F @taro-hooks/shared -F @taro-hooks/ahooks run dev",
"build:tools": "pnpm -F @taro-hooks/shared -F @taro-hooks/ahooks run build",
"build:shared": "pnpm -F @taro-hooks/shared run build",
"build:ahooks": "pnpm -F @taro-hooks/ahooks run build",
"dev:sandpack": "pnpm -F @taro-hooks/sandpack run dev",
"build:sandpack": "pnpm -F @taro-hooks/sandpack run build",
"dev:hooks": "pnpm -F taro-hooks run dev",
"build:hooks": "pnpm -F taro-hooks run build",
"dev:request": "pnpm -F @taro-hooks/use-request run dev",
"build:request": "pnpm -F @taro-hooks/use-request run build",
"docs:build:render": "cross-env BUILD_TARGET=RENDER pnpm build:docs",
"docs:build:gh": "cross-env BUILD_TARGET=GH pnpm build:docs",
"docs:build:cf": "pnpm build:packages && cross-env BUILD_TARGET=cf pnpm build:docs",
"generate-template": "TS_NODE_PROJECT=scripts/tsconfig.json node -r ts-node/register scripts/generate-templ.ts",
"generate-docs": "node scripts/build-docs.mjs",
"generate-hooks-category": "node scripts/generate-hooks-category.mjs",
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
"prepublishOnly": "pnpm run build:packages",
"version": "changeset && changeset version",
"release": "changeset publish",
"postversion": "pnpm run build:packages",
"postinstall": "pnpm run build:packages",
"contributors:generate": "all-contributors generate"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{mjs,js,jsx,less,md,json}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@babel/runtime": "^7.21.5",
"base-64": "^1.0.0",
"lodash": "^4.17.21"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-typescript": "^8.5.0",
"@taro-hooks/plugin-react": "workspace:*",
"@taro-hooks/plugin-vue": "workspace:*",
"@types/mockjs": "^1.0.7",
"@types/react": "^17.0.58",
"all-contributors-cli": "^6.24.0",
"babel-plugin-import": "^1.13.6",
"babel-plugin-transform-async-to-promises": "^0.8.18",
"babel-preset-taro": "^3.6.11",
"chalk": "^5.2.0",
"commitizen": "^4.3.0",
"conventional-changelog-cli": "^2.2.2",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"del": "^6.1.1",
"fast-glob": "^3.2.12",
"fs-extra": "^10.1.0",
"gh-pages": "^3.2.3",
"gray-matter": "^4.0.3",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
"gulp-less": "^5.0.0",
"gulp-typescript": "6.0.0-alpha.1",
"js-yaml": "^4.1.0",
"lerna": "^4.0.0",
"lint-staged": "^10.5.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.7",
"remark-frontmatter": "^4.0.1",
"rollup": "^2.79.1",
"rollup-plugin-node-externals": "^4.1.1",
"rollup-plugin-ts": "^3.2.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.5",
"yargs": "^17.7.1",
"yorkie": "^2.0.0",
"zx": "^6.2.5"
},
"engines": {
"node": ">=18.0.0",
"pnpm": ">=8"
},
"repository": {
"branch": "next",
"platform": "github",
"url": "[email protected]:innocces/taro-hooks.git",
"type": "git"
},
"authors": [
"innocces <[email protected]> (https://github.com/innocces)"
],
"packageManager": "[email protected]"
}