This repository has been archived by the owner on May 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
70 lines (70 loc) · 1.92 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
64
65
66
67
68
69
70
{
"name": "decod",
"version": "6.1.6",
"description": "Decode unknown values into well-typed Typescript ones",
"main": "umd/index.js",
"types": "umd/index.d.ts",
"module": "esm/index.js",
"scripts": {
"test": "jest src",
"lint": "eslint --config .eslintrc.json --ext .ts ./src",
"build": "npm run build:umd && npm run build:esm",
"build:umd": "tsc -b tsconfig.umd.json",
"build:esm": "tsc -b tsconfig.esm.json",
"clean": "tsc -b --clean tsconfig.esm.json && tsc -b --clean tsconfig.umd.json",
"docs": "typedoc --out docs --ignoreCompilerErrors --exclude \"**/*+(index|.test|.spec|.e2e).ts\" src/",
"postdocs": "cp jekyll.config.yml docs/config.yml && touch docs/.nojekyll",
"prepublishOnly": "npm run clean && npm run build"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm test"
}
},
"lint-staged": {
"*.ts": [
"eslint --config .eslintrc.json --ext .ts --fix",
"git add"
],
"*.{js,json,md}": [
"prettier --write",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/inato/decod.git"
},
"keywords": [
"Typescript",
"safe",
"decode",
"unknown",
"values"
],
"author": "Jordan Van Walleghem <[email protected]>",
"contributors": [
"Hugo Saracino <[email protected]>"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/inato/decod/issues"
},
"homepage": "https://inato.github.io/decod",
"devDependencies": {
"@types/jest": "^24.0.21",
"@typescript-eslint/eslint-plugin": "^2.6.0",
"@typescript-eslint/parser": "^2.6.0",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-prettier": "^3.1.1",
"husky": "^3.0.9",
"jest": "^24.9.0",
"lint-staged": "^9.4.2",
"prettier": "^1.18.2",
"ts-jest": "^24.1.0",
"typedoc": "^0.15.0",
"typescript": "^3.6.4"
},
"sideEffects": false
}