-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
31 lines (31 loc) · 1.78 KB
/
Copy pathpackage.json
File metadata and controls
31 lines (31 loc) · 1.78 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
{
"name": "@wolforest/jscommon-monorepo",
"private": true,
"scripts": {
"dev": "pnpm build && pnpm -r dev",
"build": "pnpm --filter @wolforest/jscommon build",
"test": "pnpm -r test",
"clean": "pnpm -r exec rimraf dist",
"clean:all": "pnpm -r exec rimraf dist node_modules",
"publish:jscommon": "npm run version:patch && npm run commit:version && pnpm build && pnpm --filter @wolforest/jscommon publish --access public && npm run tag:latest",
"publish:jscommon:beta": "npm run version:beta && npm run commit:version && pnpm build && pnpm --filter @wolforest/jscommon publish --tag beta && npm run tag:beta",
"version:patch": "cd packages/core && npm version patch --no-git-tag-version",
"version:beta": "cd packages/core && npm version prerelease --preid=beta --no-git-tag-version",
"commit:version": "git add packages/core/package.json && git commit -m \"chore: bump version to $(cd packages/core && node -p \"require('./package.json').version\")\"",
"tag:latest": "cd packages/core && git tag v$(node -p \"require('./package.json').version\") && git push && git push --tags",
"tag:beta": "cd packages/core && git tag v$(node -p \"require('./package.json').version\")-beta && git push && git push --tags",
"dev:react": "pnpm build && pnpm --filter @examples/react-demo dev",
"dev:vue": "pnpm build && pnpm --filter @examples/vue-demo dev",
"dev:taro:h5": "pnpm build && pnpm --filter @examples/taro-demo dev:h5",
"dev:taro:weapp": "pnpm build && pnpm --filter @examples/taro-demo dev:weapp",
"build:watch": "pnpm --filter @wolforest/jscommon dev"
},
"devDependencies": {
"@types/node": "^22.10.10",
"rimraf": "^5.0.1",
"typescript": "^5.3.3",
"vite": "^5.0.0",
"vite-plugin-dts": "^4.4.0",
"vitest": "^1.2.2"
}
}