-
-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathpackage.json
More file actions
45 lines (45 loc) · 1.24 KB
/
package.json
File metadata and controls
45 lines (45 loc) · 1.24 KB
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
38
39
40
41
42
43
44
45
{
"name": "@tryghost/errors",
"version": "3.0.3",
"repository": {
"type": "git",
"url": "git+https://github.com/TryGhost/framework.git",
"directory": "packages/errors"
},
"author": "Ghost Foundation",
"license": "MIT",
"main": "cjs/index.js",
"module": "es/index.js",
"types": "types/index.d.ts",
"source": "src/index.ts",
"sideEffects": false,
"scripts": {
"dev": "echo \"Implement me!\"",
"prepare": "NODE_ENV=production yarn build",
"pretest": "NODE_ENV=production yarn build",
"build": "yarn build:cjs && yarn build:es && yarn build:types",
"build:cjs": "esbuild src/*.ts --target=es2020 --outdir=cjs --format=cjs",
"build:es": "esbuild src/*.ts --target=es2020 --outdir=es --format=esm",
"build:types": "tsc --emitDeclarationOnly --declaration --declarationMap --outDir types",
"test": "NODE_ENV=testing vitest run --coverage",
"lint": "eslint . --ext .js --cache",
"posttest": "yarn lint"
},
"files": [
"cjs",
"es",
"types",
"src"
],
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@types/lodash": "4.17.24",
"esbuild": "0.28.0",
"lodash": "4.18.1",
"ts-node": "10.9.2",
"typescript": "6.0.3"
},
"dependencies": {}
}