|
4 | 4 | "description": "A GraphQL rate limiting library using query complexity analysis.", |
5 | 5 | "main": "index.js", |
6 | 6 | "scripts": { |
7 | | - "test": "echo \"Error: no test specified\" && exit 1", |
| 7 | + "test": "jest --passWithNoTests", |
8 | 8 | "lint": "eslint src", |
9 | 9 | "lint:fix": "eslint --fix src", |
10 | 10 | "prettier": "prettier --write .", |
|
22 | 22 | }, |
23 | 23 | "homepage": "https://github.com/oslabs-beta/graph-beaver#readme", |
24 | 24 | "devDependencies": { |
25 | | - "@typescript-eslint/eslint-plugin": "^5.23.0", |
26 | | - "@typescript-eslint/parser": "^5.23.0", |
| 25 | + "@babel/core": "^7.17.12", |
| 26 | + "@babel/preset-env": "^7.17.12", |
| 27 | + "@babel/preset-typescript": "^7.17.12", |
| 28 | + "@types/jest": "^27.5.1", |
| 29 | + "@typescript-eslint/eslint-plugin": "^5.24.0", |
| 30 | + "@typescript-eslint/parser": "^5.24.0", |
| 31 | + "babel-jest": "^28.1.0", |
27 | 32 | "eslint": "^8.15.0", |
28 | 33 | "eslint-config-airbnb-base": "^15.0.0", |
| 34 | + "eslint-config-airbnb-typescript": "^17.0.0", |
| 35 | + "eslint-config-prettier": "^8.5.0", |
29 | 36 | "eslint-plugin-import": "^2.26.0", |
30 | 37 | "husky": "^8.0.1", |
| 38 | + "jest": "^28.1.0", |
31 | 39 | "lint-staged": "^12.4.1", |
32 | | - "prettier": "2.6.2" |
| 40 | + "prettier": "2.6.2", |
| 41 | + "ts-jest": "^28.0.2", |
| 42 | + "typescript": "^4.6.4" |
33 | 43 | }, |
34 | 44 | "lint-staged": { |
35 | 45 | "*.{js, ts}": "eslint --cache --fix", |
36 | 46 | "*.{js,ts,css,md}": "prettier --write --ignore-unknown" |
| 47 | + }, |
| 48 | + "dependencies": { |
| 49 | + "graphql": "^16.5.0" |
37 | 50 | } |
38 | 51 | } |
0 commit comments