-
Notifications
You must be signed in to change notification settings - Fork 76
/
Copy pathpackage.json
93 lines (93 loc) · 2.24 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
89
90
91
92
93
{
"name": "js-algorithms",
"author": "Amila Welihinda",
"description": "A repo of algorithms written in javascript",
"scripts": {
"flow": "flow",
"lint": "eslint .",
"lint-fix": "npm run lint --fix",
"spec": "jest",
"test": "npm run lint && npm run spec"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"npm run lint-fix",
"npm run test"
],
"{*.json,.{babelrc,eslintrc,prettierrc,stylelintrc}}": [
"prettier --ignore-path .eslintignore --parser json --write"
]
},
"dependencies": {
"@babel/cli": "^7.19.3",
"@babel/core": "^7.20.2",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/preset-env": "^7.20.2",
"@babel/preset-flow": "^7.18.6",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^29.3.1",
"eslint": "^8.28.0",
"eslint-config-bliss": "^6.0.4",
"eslint-plugin-flowtype-errors": "^4.5.0",
"eslint-plugin-prettier": "^4.2.1",
"flow-bin": "^0.193.0",
"husky": ">=8.0.2",
"jest": "^29.3.1",
"jest-cli": "^29.3.1",
"lint-staged": "^13.0.3",
"lodash": "^4.17.21"
},
"engines": {
"node": ">=v8.17.0",
"npm": ">=7"
},
"eslintConfig": {
"extends": "bliss",
"rules": {
"no-promise-executor-return": "off",
"no-nested-ternary": "off",
"consistent-return": "off",
"class-methods-use-this": "off",
"flowtype-errors/show-errors": "off",
"import/no-extraneous-dependencies": "off",
"max-classes-per-file": "off",
"no-continue": "off",
"no-param-reassign": "off",
"no-plusplus": "off",
"no-bitwise": "off",
"no-use-before-define": "off",
"no-underscore-dangle": "off",
"no-mixed-operators": "off",
"no-restricted-syntax": "off",
"jest/no-export": "off",
"jest/no-standalone-expect": "off"
}
},
"renovate": {
"extends": [
"bliss"
]
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
],
"@babel/preset-flow"
],
"plugins": [
"@babel/plugin-proposal-class-properties"
]
}
}