-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
43 lines (43 loc) · 1.81 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
{
"name": "manapotion-monorepo",
"version": "0.0.0",
"private": true,
"license": "MIT",
"workspaces": [
"packages/*",
"examples/*",
"website"
],
"scripts": {
"dev": "cd examples/react && npm run dev",
"vue": "cd examples/vue && npm run dev",
"vanilla": "cd examples/vanilla && npm run dev",
"svelte": "cd examples/svelte && npm run dev",
"clean": "rm -rf packages/*/dist",
"build": "npm run build -w @manapotion/core -w @manapotion/vanilla -w @manapotion/react -w @manapotion/vue -w @manapotion/svelte",
"build-examples": "npm run build -w examples/react -w examples/vue -w examples/vanilla -w examples/svelte",
"build-website": "rm -rf website/dist && mkdir website/dist && cp -R examples/react/dist website/dist/react && cp -R examples/vue/dist website/dist/vue && cp -R examples/vanilla/dist website/dist/vanilla && cp -R examples/svelte/dist website/dist/svelte && cd website && npm run build && cp -R public/* dist/.",
"website": "npx serve website/dist",
"website-all": "run-s build-examples build-website website",
"lint": "npm run lint -ws",
"publint": "npm run publint -ws",
"typecheck": "npm run typecheck -ws",
"format": "npm run format -ws",
"format:check": "npm run format:check -ws",
"pub": "npm run build && npm run publint && lerna publish",
"pub-recovery": "npm run build && npm run publint && lerna publish from-package",
"check-all": "run-s build typecheck lint format:check publint",
"syncpack": "syncpack list",
"check-updates": "npx npm-check-updates -ws",
"pre-push": "npm run check-all",
"prepare": "husky"
},
"devDependencies": {
"@commitlint/config-conventional": "19.2.2",
"commitlint": "19.2.2",
"husky": "9.0.11",
"lerna": "8.1.2",
"npm-run-all": "4.1.5",
"syncpack": "12.3.0"
}
}