-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
88 lines (88 loc) · 2.08 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "mjn",
"version": "0.2.6",
"description": "Simple utility to check if a key or a value exists in an object.",
"main": "./dist/main.js",
"module": "./dist/main.esm.js",
"types": "./dist/main.d.ts",
"author": "Michele Riva <ciao@micheleriva.it>",
"maintainers": [
{
"email": "ciao@micheleriva.it",
"name": "Michele Riva",
"url": "https://github.com/micheleriva"
}
],
"license": "MIT",
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/micheleriva/mjn"
},
"bugs": {
"url": "https://github.com/micheleriva/mjn/issues"
},
"keywords": [
"undefined behaviour",
"exception handler",
"object",
"error handling",
"null exception",
"get",
"path"
],
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w",
"test": "jest --coverage",
"lint": "./node_modules/.bin/eslint ./main.ts",
"prettier-watch": "onchange '**/*.ts' -- prettier --write {{changed}}"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,md}": [
"prettier --write",
"git add"
]
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/tests/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"js",
"json",
"node"
],
"coverageDirectory": "./coverage/",
"collectCoverage": true
},
"devDependencies": {
"@types/jest": "23.1.1",
"codecov": "^3.1.0",
"eslint": "5.10.0",
"eslint-config-airbnb-base": "13.1.0",
"eslint-config-prettier": "3.3.0",
"eslint-plugin-import": "2.14.0",
"eslint-plugin-prettier": "3.0.0",
"husky": "1.3.0",
"jest": "23.1.0",
"lint-staged": "8.1.0",
"onchange": "5.2.0",
"prettier": "1.15.3",
"rollup": "^1.0.0",
"rollup-plugin-bundle-size": "^1.0.3",
"rollup-plugin-terser": "^3.0.0",
"rollup-plugin-typescript2": "^0.18.1",
"rollup-watch": "4.3.1",
"ts-jest": "22.4.6",
"typescript": "3.1.1",
"typescript-eslint-parser": "21.0.2"
}
}