|
54 | 54 | "scripts": {
|
55 | 55 | "clean": "rimraf coverage .eslintcache dist docs/.vitepress/dist pnpm-lock.yaml node_modules",
|
56 | 56 | "build:clean": "rimraf dist",
|
57 |
| - "build:code": "esno ./scripts/bundle.ts", |
| 57 | + "build:code": "tsx ./scripts/bundle.ts", |
58 | 58 | "build:types": "tsc --emitDeclarationOnly --outDir dist/types",
|
59 | 59 | "build": "run-s build:clean build:code build:types",
|
60 |
| - "generate:api-docs": "esno ./scripts/apidoc.ts", |
61 |
| - "generate:locales": "esno ./scripts/generateLocales.ts", |
62 |
| - "copy:mime-types": "esno ./scripts/copyMimeTypes.ts", |
| 60 | + "generate:api-docs": "tsx ./scripts/apidoc.ts", |
| 61 | + "generate:locales": "tsx ./scripts/generateLocales.ts", |
| 62 | + "copy:mime-types": "tsx ./scripts/copyMimeTypes.ts", |
63 | 63 | "docs:build": "run-s docs:prepare docs:build:run",
|
64 | 64 | "docs:build:run": "vitepress build docs",
|
65 | 65 | "docs:build:ci": "run-s build docs:build",
|
|
82 | 82 | },
|
83 | 83 | "simple-git-hooks": {
|
84 | 84 | "pre-commit": "npx lint-staged --concurrent false",
|
85 |
| - "commit-msg": "npx esno scripts/verifyCommit.ts $1" |
| 85 | + "commit-msg": "npx tsx scripts/verifyCommit.ts $1" |
86 | 86 | },
|
87 | 87 | "lint-staged": {
|
88 | 88 | "*": [
|
|
95 | 95 | "devDependencies": {
|
96 | 96 | "@algolia/client-search": "~4.13.1",
|
97 | 97 | "@types/markdown-it": "~12.2.3",
|
98 |
| - "@types/node": "~17.0.40", |
| 98 | + "@types/node": "~18.0.0", |
99 | 99 | "@types/prettier": "~2.6.3",
|
100 | 100 | "@types/react": "~18.0.13",
|
101 | 101 | "@types/sanitize-html": "~2.6.2",
|
|
113 | 113 | "eslint-gitignore": "~0.1.0",
|
114 | 114 | "eslint-plugin-jsdoc": "~39.3.2",
|
115 | 115 | "eslint-plugin-prettier": "~4.0.0",
|
116 |
| - "esno": "~0.16.3", |
117 | 116 | "glob": "~8.0.3",
|
118 |
| - "lint-staged": "~13.0.1", |
| 117 | + "lint-staged": "~13.0.2", |
119 | 118 | "mime-db": "~1.52.0",
|
120 | 119 | "npm-run-all": "~4.1.5",
|
121 | 120 | "picocolors": "~1.0.0",
|
|
127 | 126 | "sanitize-html": "~2.7.0",
|
128 | 127 | "simple-git-hooks": "~2.8.0",
|
129 | 128 | "standard-version": "~9.5.0",
|
| 129 | + "tsx": "~3.4.3", |
130 | 130 | "typedoc": "~0.22.17",
|
131 | 131 | "typedoc-plugin-missing-exports": "~0.22.6",
|
132 | 132 | "typescript": "~4.7.3",
|
|
0 commit comments