-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
63 lines (63 loc) · 2.33 KB
/
package.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"name": "exceptional-errors",
"version": "0.4.4",
"license": "MIT",
"description": "Richer errors with first-class Typescript support.",
"author": "Ben Yap <contact@benyap.com>",
"homepage": "https://github.com/benyap/exceptional-errors",
"bugs": "https://github.com/benyap/exceptional-errors/issues",
"repository": {
"type": "git",
"url": "https://github.com/benyap/exceptional-errors.git"
},
"packageManager": "pnpm@8.6.12",
"keywords": [
"error",
"exception",
"extend",
"cause",
"custom"
],
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"files": [
"dist/**"
],
"scripts": {
"prepare": "husky install",
"format": "prettier --write 'src/**/*.ts'",
"clean": "rimraf dist/* coverage/* build/*",
"build": "pnpm clean && pnpm concurrently pnpm:build:* -n build:",
"build:cjs": "tsc --outDir dist/cjs --declaration && tsc --outDir dist/cjs --module CommonJS --target ES2015 --removeComments",
"build:esm": "tsc --outDir dist/esm --declaration && tsc --outDir dist/esm --module ES2015 --target ES2015 --removeComments",
"test": "pnpm test:build && pnpm test:cjs",
"test:build": "concurrently pnpm:test:build:* -n test:build:",
"test:build:cjs": "tsc --outDir build/cjs --module CommonJS --rootDir src",
"test:build:es2015": "tsc --outDir build/es2015 --module ES2015 --rootDir src",
"test:build:es2022": "tsc --outDir build/es2022 --module ES2022 --rootDir src",
"test:build:ts": "tsc test/typescript.test.ts --noEmit --lib ES2022,DOM",
"test:cjs": "mocha test/cjs.test.js",
"test:browser": "pnpm test:build && concurrently pnpm:test:browser:* -n test:browser:",
"test:browser:serve": "pnpm serve",
"test:browser:open": "wait-on http://localhost:3000 && open http://localhost:3000/test/browser.test",
"release": "pnpm test && pnpm release-it"
},
"devDependencies": {
"@commitlint/cli": "17.7.1",
"@commitlint/config-conventional": "17.7.0",
"@release-it/conventional-changelog": "7.0.0",
"@types/chai": "4.3.5",
"@types/mocha": "10.0.1",
"chai": "4.3.7",
"concurrently": "8.2.0",
"husky": "8.0.3",
"mocha": "10.2.0",
"prettier": "3.0.1",
"release-it": "16.1.5",
"rimraf": "5.0.1",
"serve": "14.2.0",
"typescript": "5.1.6",
"wait-on": "7.0.1"
}
}