generated from codetheweb/typescript-template
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
92 lines (92 loc) · 2.13 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
{
"name": "@mtucourses/rate-my-professors",
"keywords": [
"🧑🏫",
"ratemyprofessors",
"professors",
"scrape",
"api",
"graphql",
"rate"
],
"version": "2.2.1",
"description": "a basic wrapper for Rate My Professors's GraphQL API",
"main": "dist/src/index.js",
"types": "dts/src/index.d.ts",
"repository": "[email protected]:Michigan-Tech-Courses/rate-my-professors",
"author": "Max Isom <[email protected]>",
"license": "MIT",
"files": [
"dist/src",
"dts/src"
],
"scripts": {
"lint": "eslint 'src/**/*.ts'",
"lint:fix": "eslint 'src/**/*.ts' --fix",
"clean": "rm -rf dist dts",
"build": "tsc",
"build:watch": "tsc --watch",
"test": "ava",
"test:watch": "ava --watch",
"test:coverage": "nyc --reporter=lcov ava",
"prepack": "yarn clean && yarn build",
"start": "node dist/index.js"
},
"devDependencies": {
"@types/node": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^4.11.1",
"@typescript-eslint/parser": "^4.11.1",
"ava": "^3.15.0",
"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",
"nyc": "^15.1.0",
"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": {
"@types/isomorphic-fetch": "^0.0.36",
"graphql": "^15.4.0",
"graphql-request": "^3.4.0",
"isomorphic-fetch": "^3.0.0"
},
"ava": {
"files": [
"test/**/*"
],
"extensions": [
"ts"
],
"require": [
"ts-node/register"
]
}
}