|
24 | 24 | "rollup-plugin-dts": "^6.1.0" |
25 | 25 | }, |
26 | 26 | "scripts": { |
27 | | - "prebuild": "deno types > lib.deno.d.ts", |
| 27 | + "install:deno": "node ./scripts/install-deno.mjs && deno types > lib.deno.d.ts", |
| 28 | + "prebuild": "yarn install:deno", |
28 | 29 | "build": "rollup -c rollup.config.js", |
29 | 30 | "postbuild": "deno check build/index.js", |
30 | 31 | "build:dev": "yarn build", |
31 | 32 | "build:watch": "run-p build:transpile:watch build:types:watch", |
32 | 33 | "build:dev:watch": "yarn build:watch", |
33 | 34 | "circularDepCheck": "madge --circular src/index.ts", |
34 | 35 | "clean": "rimraf build coverage", |
| 36 | + "prefix": "yarn install:deno", |
35 | 37 | "fix": "run-s fix:eslint fix:prettier", |
36 | 38 | "fix:eslint": "eslint . --format stylish --fix", |
37 | 39 | "fix:prettier": "prettier --write \"{src,test,scripts}/**/**.ts\"", |
| 40 | + "prelint": "yarn install:deno", |
38 | 41 | "lint": "run-s lint:prettier lint:eslint", |
39 | 42 | "lint:eslint": "eslint . --format stylish", |
40 | 43 | "lint:prettier": "prettier --check \"{src,test,scripts}/**/**.ts\"" |
|
0 commit comments