-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 1.48 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
{
"name": "",
"version": "0.1.0",
"description": "",
"main": "dist/index.js",
"repository": "[email protected]:codetheweb/",
"author": "Max Isom <[email protected]>",
"license": "MIT",
"files": [
"dist",
"dts"
],
"scripts": {
"lint": "eslint 'src/**/*.ts'",
"lint:fix": "eslint 'src/**/*.ts' --fix",
"clean": "rm -rf dist dts",
"build": "tsc",
"build:watch": "tsc --watch",
"prepack": "yarn clean && yarn build",
"start": "node dist/index.js",
"dev": "nodemon"
},
"devDependencies": {
"@types/node": "^14.14.19",
"@typescript-eslint/eslint-plugin": "^4.11.1",
"@typescript-eslint/parser": "^4.11.1",
"eslint": "^7.17.0",
"eslint-config-xo": "^0.33.1",
"eslint-config-xo-typescript": "^0.37.0",
"husky": "^4.3.6",
"lint-staged": "^10.5.3",
"nodemon": "^2.0.6",
"ts-node": "^9.1.1",
"typescript": "^4.1.3"
},
"eslintConfig": {
"extends": [
"xo",
"xo-typescript/space"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"new-cap": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-unused-vars-experimental": "error",
"@typescript-eslint/prefer-readonly-parameter-types": "off"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint 'src/**/*.ts' --fix"
]
},
"dependencies": {}
}