-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
123 lines (123 loc) · 2.86 KB
/
package.json
File metadata and controls
123 lines (123 loc) · 2.86 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "sort-unwind",
"version": "2.0.0",
"description": "Sorts an array and then unwinds that sort on another array",
"author": "Philihp Busby <philihp@gmail.com>",
"license": "MIT",
"sideEffects": false,
"main": "./dist/index.js",
"scripts": {
"build": "tsc -p tsconfig.build.json",
"lint": "eslint --ext .ts,.json,.js src",
"prepare": "husky install && npm run build",
"test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch"
},
"files": [
"/dist/",
"!/dist/**/__tests__/*.js"
],
"keywords": [
"functional",
"array",
"undo",
"sort"
],
"dependencies": {},
"devDependencies": {
"@babel/cli": "7.18.10",
"@babel/core": "7.18.13",
"@babel/preset-env": "7.18.10",
"@philihp/eslint-config": "6.0.2",
"@philihp/prettier-config": "1.0.0",
"@types/jest": "29.0.0",
"@typescript-eslint/eslint-plugin": "5.36.1",
"@typescript-eslint/parser": "5.36.1",
"eslint": "8.23.0",
"eslint-import-resolver-typescript": "3.5.0",
"eslint-plugin-import": "2.26.0",
"fast-shuffle": "5.0.2",
"husky": "8.0.1",
"jest": "29.0.2",
"lint-staged": "13.0.3",
"prettier": "2.7.1",
"ts-jest": "29.0.0",
"typescript": "4.8.2"
},
"homepage": "https://github.com/philihp/sort-unwind#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/philihp/sort-unwind.git"
},
"bugs": {
"url": "https://github.com/philihp/sort-unwind/issues"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"modulePathIgnorePatterns": [
"dist/"
]
},
"lint-staged": {
"src/**/*.{js,json,ts}": [
"eslint --ext .js,.json,.ts --fix"
]
},
"prettier": "@philihp/prettier-config",
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"plugins": [
"@typescript-eslint"
],
"extends": [
"@philihp",
"plugin:jest/all",
"plugin:@typescript-eslint/recommended"
],
"settings": {
"import/extensions": [
".js",
".ts"
],
"import/parsers": {
"@typescript-eslint/parser": [
".ts"
]
},
"import/resolver": {
"typescript": {},
"node": {
"extensions": [
".js",
".ts"
]
}
}
},
"rules": {
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"**/*.test.ts"
]
}
]
}
}
}