-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 2.72 KB
/
Copy pathpackage.json
File metadata and controls
115 lines (115 loc) · 2.72 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
{
"name": "hacker-news-pro",
"author": {
"name": "dan-lovelace",
"url": "https://github.com/dan-lovelace/hacker-news-pro"
},
"license": "MIT",
"private": true,
"version": "0.2.3",
"type": "module",
"workspaces": [
"packages/*"
],
"scripts": {
"build": "yarn clean && ts-node --esm scripts/build.ts",
"clean": "rimraf dist",
"docs": "typedoc --hideBreadcrumbs true",
"lint": "eslint .",
"package": "ts-node --esm scripts/package.ts",
"postdocs": "ts-node --esm scripts/docs/postprocess.ts",
"start": "yarn clean && lerna run start --ignore '@hnp/documentation'",
"test": "lerna run test"
},
"devDependencies": {
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@types/archiver": "^5.3.1",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.4.0",
"archiver": "^5.3.1",
"eslint": "^8.24.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.26.0",
"husky": "^8.0.3",
"lerna": "^7.2.0",
"lint-staged": "^14.0.0",
"prettier": "^3.0.2",
"rimraf": "^5.0.1",
"ts-node": "^10.9.1",
"typedoc": "^0.25.1",
"typedoc-plugin-markdown": "^3.16.0",
"typescript": "^5.1.6",
"vite": "^4.4.9"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"eslint-plugin-import"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"rules": {
"no-console": "warn",
"@typescript-eslint/no-explicit-any": "off",
"import/order": [
"error",
{
"groups": [
"builtin",
"external",
"internal"
],
"pathGroups": [
{
"pattern": "react",
"group": "external",
"position": "before"
}
],
"pathGroupsExcludedImportTypes": [
"react"
],
"newlines-between": "always",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
]
},
"env": {
"browser": true,
"node": true,
"es2021": true
},
"ignorePatterns": [
"node_modules",
"dist"
]
},
"prettier": {
"arrowParens": "always",
"bracketSpacing": true,
"printWidth": 80,
"semi": true,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "all",
"proseWrap": "always"
},
"lint-staged": {
"*": "prettier --ignore-unknown --write"
},
"engines": {
"node": ">=18.0.0"
}
}