This repository has been archived by the owner on Aug 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeno.json
37 lines (37 loc) · 1.98 KB
/
deno.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
{
"name": "@beabee/beabee-common",
"version": "0.21.0",
"description": "Shared code between Beabee projects for Node.js, Deno and the browser",
"imports": {
"date-fns": "npm:[email protected]"
},
"tasks": {
"clear": "rm -rf ./dist/",
"lint": "deno lint mod.ts",
"format": "deno fmt src scripts test",
"check": "deno task check:format && deno task check:types",
"check:types": "deno check mod.ts",
"check:format": "deno task format --check",
"test": "deno task test:deno:types && deno task test:deno && deno task test:node",
"test:deno": "deno test -A test/deno",
"test:types": "deno task test:deno:types && deno task test:node:types",
"test:deno:types": "deno task check:types",
"test:node:types": "npm run test:node:types",
"test:node": "deno task test:node:esm && deno task test:node:cjs",
"test:node:esm": "npm run test:node:esm",
"test:node:cjs": "npm run test:node:cjs",
"build": "deno task clear && deno task generate:index && deno task sync && deno task format && deno task build:types && deno task build:node && deno task build:browser",
"build:node": "deno task build:node:esm && deno task build:node:cjs",
"build:node:esm": "deno run --allow-read --allow-write --allow-env --allow-run --allow-net ./scripts/esbuild.esm.ts",
"build:node:cjs": "deno run --allow-read --allow-write --allow-env --allow-run --allow-net ./scripts/esbuild.cjs.ts",
"build:browser": "deno run --allow-read --allow-write --allow-env --allow-run --allow-net ./scripts/esbuild.browser.ts",
"build:types": "npm run build:types",
"cache": "deno task cache:deno && deno task cache:node",
"cache:deno": "deno cache --reload mod.ts",
"cache:node": "npm install",
"generate:index": "deno run --allow-read --allow-write scripts/generate-index.ts && deno task format",
"sync": "deno run --allow-read --allow-write scripts/sync.ts",
"prepublishOnly": "npm run prepublishOnly",
"npm:publish:latest": "npm run npm:publish:latest"
}
}