-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
59 lines (59 loc) · 2.01 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
{
"author": "Josh Goldberg <npm@joshuakgoldberg.com>",
"dependencies": {
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"next": "13.4.2",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"description": "Code samples for my talk on linting TypeScript in 2023. ✨",
"devDependencies": {
"@types/node": "20.1.4",
"@types/react": "^18.2.6",
"@typescript-eslint/eslint-plugin": "^5.59.6",
"@typescript-eslint/parser": "^5.59.6",
"cspell": "^6.31.1",
"eslint": "^8.40.0",
"eslint-plugin-jsonc": "^2.8.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-typescript-sort-keys": "^2.3.0",
"husky": ">=8",
"jsonc-eslint-parser": "^2.3.0",
"lint-staged": ">=13",
"markdownlint-cli": "^0.34.0",
"npm-package-json-lint": "^6.4.0",
"npm-package-json-lint-config-default": "^5.0.0",
"prettier": "^2.8.8",
"ts-prune": "^0.10.3",
"tsx": "^3.12.7",
"typescript": "^5.0.4"
},
"license": "MIT",
"lint-staged": {
"*": "prettier --ignore-unknown --write"
},
"main": "./dist/index.js",
"name": "linting-typescript-in-2023",
"scripts": {
"build": "next build",
"compile": "tsc",
"dev": "next dev",
"format": "prettier \"**/*\" --ignore-unknown",
"format:write": "yarn format --write",
"lint": "npx eslint . --max-warnings 0 --report-unused-disable-directives",
"lint:md": "npx markdownlint \"**/*.md\" \".github/**/*.md\"",
"lint:package": "npmPkgJsonLint .",
"lint:prune": "ts-prune",
"lint:spelling": "cspell \"**\" \".github/**/*\"",
"prepare": "husky install",
"script:1-callback-hell": "node script/1-callback-hell.js",
"script:1-callback-hell:debug": "node --inspect-brk script/1-callback-hell.js",
"script:2-raw-promises": "node script/2-raw-promises.js",
"script:2-raw-promises:debug": "node --inspect-brk script/2-raw-promises.js",
"script:3-async-await-promises": "node script/3-async-await-promises.js",
"script:3-async-await-promises:debug": "node --inspect-brk script/3-async-await-promises.js"
},
"type": "module",
"version": "1.1.2"
}