-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.03 KB
/
Copy pathpackage.json
File metadata and controls
85 lines (85 loc) · 2.03 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
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
{
"name": "@idlework/compare",
"version": "1.1.0",
"description": "Primitive set of functions to compare boolean, string, or number.",
"main": "./bin/index.js",
"types": "./bin/index.d.ts",
"scripts": {
"build": "tsc",
"lint": "eslint ./lib/**",
"test": "jest",
"coverage": "npm run test -- --coverage",
"preversion": "npm test",
"version": "npm run build && git add -A bin",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/idlework/compare.git"
},
"keywords": [
"compare",
"equal",
"lessThan",
"greaterThan",
"lessThanOrEqual",
"greaterThanOrEqual"
],
"author": "Johan Haneveld",
"license": "MIT",
"bugs": {
"url": "https://github.com/idlework/compare/issues"
},
"homepage": "https://github.com/idlework/compare#readme",
"eslintConfig": {
"env": {
"browser": true,
"node": true,
"es2021": true
},
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"rules": {
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/ban-types": 0
}
},
"prettier": {
"semi": false
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"./lib/**/*.ts": [
"eslint --fix",
"prettier --write"
]
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.10",
"@babel/preset-typescript": "^7.12.7",
"@types/jest": "^26.0.19",
"@typescript-eslint/eslint-plugin": "^4.10.0",
"@typescript-eslint/parser": "^4.10.0",
"babel-jest": "^26.6.3",
"eslint": "^7.15.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-prettier": "^3.3.0",
"husky": "^4.3.6",
"jest": "^26.6.3",
"lint-staged": "^10.5.3",
"prettier": "^2.2.1",
"typescript": "^4.1.3"
}
}