-
Notifications
You must be signed in to change notification settings - Fork 31
/
package.json
54 lines (54 loc) · 2.06 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
{
"scripts": {
"========= Docs": "",
"// Develop website https://telefunc.com": "",
"docs": "cd docs/ && pnpm run dev",
"// Build https://telefunc.com for production": "",
"docs:build": "cd docs/ && pnpm run build",
"// Simulate https://telefunc.com for production": "",
"docs:preview": "cd docs/ && pnpm run preview",
"========= Test": "",
"// Run tests": "",
"test": "pnpm run test:units && pnpm run test:e2e && pnpm run test:types",
"test:units": "vitest run",
"test:e2e": "test-e2e",
"test:types": "test-types",
"// Run `$ pnpm test:setup` before running `$ pnpm test`": "",
"test:setup": "pnpm run clean && pnpm install && pnpm run build",
"========= Dev": "",
"// Develop telefunc": "",
"dev": "cd telefunc/ && pnpm run dev",
"========= Build": "",
"// Build Telefunc": "",
"build": "cd telefunc/ && pnpm run build",
"========= Upgrade deps": "",
"// Upgrade all dependencies of all package.json to @latest": "",
"bump": "bump-dependencies",
"========= Release": "",
"release": "cd telefunc/ && pnpm run release",
"release:commit": "cd telefunc/ && pnpm run release:commit",
"========= Formatting": "",
"format": "pnpm run format:biome",
"format:prettier": "git ls-files | egrep '\\.(json|js|jsx|css|ts|tsx|vue|mjs|cjs)$' | grep --invert-match package.json | xargs pnpm exec prettier --write",
"format:biome": "biome check --write --unsafe",
"format:check": "biome check || echo Fix formatting by running: $ pnpm -w run format",
"========= Reset": "",
"reset": "git clean -Xdf && pnpm install && pnpm run build",
"========= Only allow pnpm; forbid yarn & npm": "",
"preinstall": "npx only-allow pnpm"
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@brillout/bump-dependencies": "^0.1.1",
"@brillout/dev-my-dep": "^0.0.10",
"@brillout/test-e2e": "^0.5.36",
"@brillout/test-types": "^0.1.13",
"prettier": "^2.8.7",
"vitest": "^0.32.2"
},
"pnpm": {
"overrides": {
"telefunc": "link:./telefunc/"
}
}
}