-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
47 lines (47 loc) · 1.39 KB
/
package.json
File metadata and controls
47 lines (47 loc) · 1.39 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
46
47
{
"name": "@mvf4z7/errors",
"version": "0.1.0",
"description": "A collection of utilities for working with JavaScript and TypeScript Error objects.",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"types": "lib/index.d.ts",
"scripts": {
"build": "npm run clean && npm run build:cjs && npm run build:esm",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"clean": "rm -rf lib/*",
"format": "prettier --ignore-unknown --write *",
"lint": "eslint src --ext .js,.ts --max-warnings 0",
"lint:fix": "npm run lint -- --fix",
"prepare": "husky install",
"prepublishOnly": "npm run test && npm run clean && npm run build",
"test": "jest --coverage",
"test:watch": "npm run test -- --watch"
},
"author": "Mike Fanger",
"license": "MIT",
"files": [
"/lib"
],
"repository": {
"type": "git",
"url": "https://github.com/mvf4z7/errors"
},
"devDependencies": {
"@types/jest": "^26.0.23",
"@typescript-eslint/eslint-plugin": "^4.23.0",
"@typescript-eslint/parser": "^4.23.0",
"eslint": "^7.26.0",
"eslint-config-prettier": "^8.3.0",
"husky": "^6.0.0",
"jest": "^26.6.3",
"lint-staged": "^11.0.0",
"prettier": "^2.3.0",
"ts-jest": "^26.5.6",
"typescript": "^4.2.4"
},
"lint-staged": {
"src/**/*.{ts,js}": "npm run lint:fix",
"**/*": "npm run format"
}
}