|
33 | 33 | "object-to-class",
|
34 | 34 | "typescript-serializer"
|
35 | 35 | ],
|
| 36 | + "scripts": { |
| 37 | + "build": "rimraf build && tsc --project tsconfig.prod.json", |
| 38 | + "prettier:fix": "prettier --write \"**/*.{ts,md}\"", |
| 39 | + "prettier:check": "prettier --check \"**/*.{ts,md}\"", |
| 40 | + "lint:fix": "eslint --max-warnings 0 --fix --ext .ts src/", |
| 41 | + "lint:check": "eslint --max-warnings 0 --ext .ts src/", |
| 42 | + "test": "jest --coverage --verbose", |
| 43 | + "test:watch": "jest --watch", |
| 44 | + "test:ci": "jest --runInBand --coverage --verbose" |
| 45 | + }, |
36 | 46 | "husky": {
|
37 | 47 | "hooks": {
|
38 | 48 | "pre-commit": "lint-staged"
|
|
51 | 61 | "@types/node": "13.11.0",
|
52 | 62 | "@typescript-eslint/eslint-plugin": "2.26.0",
|
53 | 63 | "@typescript-eslint/parser": "2.26.0",
|
54 |
| - "copyfiles": "2.2.0", |
55 | 64 | "dayjs": "1.8.23",
|
56 | 65 | "eslint": "6.8.0",
|
57 | 66 | "eslint-plugin-jest": "23.8.2",
|
58 | 67 | "husky": "^4.2.5",
|
59 | 68 | "jest": "25.2.7",
|
60 |
| - "json": "9.0.6", |
61 | 69 | "lint-staged": "^10.2.11",
|
62 | 70 | "prettier": "^2.0.5",
|
63 | 71 | "reflect-metadata": "0.1.13",
|
64 | 72 | "rimraf": "3.0.2",
|
65 | 73 | "ts-jest": "25.3.0",
|
66 | 74 | "ts-node": "8.8.1",
|
67 | 75 | "typescript": "3.8.3"
|
68 |
| - }, |
69 |
| - "scripts": { |
70 |
| - "build": "rimraf build && tsc --project tsconfig.prod.json", |
71 |
| - "prettier:fix": "prettier --write \"**/*.{ts,md}\"", |
72 |
| - "prettier:check": "prettier --check \"**/*.{ts,md}\"", |
73 |
| - "lint:fix": "eslint --max-warnings 0 --fix --ext .ts src/", |
74 |
| - "lint:check": "eslint --max-warnings 0 --ext .ts src/", |
75 |
| - "test": "jest --coverage --verbose", |
76 |
| - "test:watch": "jest --watch", |
77 |
| - "test:ci": "jest --runInBand --coverage --verbose" |
78 | 76 | }
|
79 | 77 | }
|
0 commit comments