|
14 | 14 | ],
|
15 | 15 | "scripts": {
|
16 | 16 | "preinstall": "npx only-allow pnpm",
|
| 17 | + "postinstall": "simple-git-hooks", |
17 | 18 | "format": "prettier --write --cache .",
|
18 | 19 | "lint": "eslint --cache packages/*/{src,types,__tests__}/** playground/**/__tests__/**/*.ts scripts/**",
|
19 | 20 | "typecheck": "tsc -p scripts --noEmit && tsc -p playground --noEmit",
|
|
30 | 31 | "docs-serve": "vitepress serve docs",
|
31 | 32 | "build": "pnpm -r --filter=./packages/* run build",
|
32 | 33 | "dev": "pnpm -r --parallel --filter=./packages/* run dev",
|
33 |
| - "release": "esno scripts/release.ts", |
34 |
| - "ci-publish": "esno scripts/publishCI.ts", |
| 34 | + "release": "tsx scripts/release.ts", |
| 35 | + "ci-publish": "tsx scripts/publishCI.ts", |
35 | 36 | "ci-docs": "run-s build docs-build"
|
36 | 37 | },
|
37 | 38 | "devDependencies": {
|
|
67 | 68 | "eslint-define-config": "^1.5.1",
|
68 | 69 | "eslint-plugin-import": "^2.26.0",
|
69 | 70 | "eslint-plugin-node": "^11.1.0",
|
70 |
| - "esno": "^0.16.3", |
71 | 71 | "execa": "^6.1.0",
|
72 | 72 | "fs-extra": "^10.1.0",
|
73 | 73 | "kill-port": "^1.6.1",
|
|
86 | 86 | "simple-git-hooks": "^2.8.0",
|
87 | 87 | "sirv": "^2.0.2",
|
88 | 88 | "tslib": "^2.4.0",
|
| 89 | + "tsx": "^3.6.0", |
89 | 90 | "typescript": "^4.6.4",
|
90 | 91 | "unbuild": "^0.7.4",
|
91 | 92 | "vite": "workspace:*",
|
|
95 | 96 | },
|
96 | 97 | "simple-git-hooks": {
|
97 | 98 | "pre-commit": "pnpm exec lint-staged --concurrent false",
|
98 |
| - "commit-msg": "pnpm exec esno scripts/verifyCommit.ts $1" |
| 99 | + "commit-msg": "pnpm exec tsx scripts/verifyCommit.ts $1" |
99 | 100 | },
|
100 | 101 | "lint-staged": {
|
101 | 102 | "*": [
|
|
0 commit comments