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