-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
71 lines (71 loc) · 1.72 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
{
"name": "task1",
"version": "1.0.0",
"description": "",
"main": "dist/app.js",
"scripts": {
"start": "tsc && node dist/app.js",
"test:jest": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"pretest": "npm run lint && tsc --noEmit",
"test": "npm run test:jest --",
"posttest": "npm run format",
"lint": "eslint ./src/**/* --cache --fix",
"format": "prettier --loglevel warn --write \"**/*.{js,ts,css,md}\"",
"build": "npm-run-all clean lint tsc copy-assets"
},
"devDependencies": {
"@types/jest": "^25.1.1",
"@types/node": "^13.7.0",
"@typescript-eslint/eslint-plugin": "^2.18.0",
"@typescript-eslint/parser": "^2.18.0",
"eslint": "^6.8.0",
"fs-extra": "^8.1.0",
"husky": "^4.2.1",
"jest": "^25.1.0",
"lint-staged": "^10.0.3",
"mock-stdin": "^1.0.0",
"nodemon": "^2.0.2",
"npm-run-all": "^4.1.5",
"prettier": "^1.19.1",
"rimraf": "^3.0.1",
"shelljs": "^0.8.3",
"ts-jest": "^25.1.0",
"ts-node": "^8.6.2",
"typescript": "^3.7.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --cache --fix",
"prettier --loglevel warn --write \"**/*.{ts,js,css,md}\""
]
},
"dependencies": {
"axios": "^0.19.2",
"string": "^3.3.3",
"winston": "^3.2.1"
},
"jest": {
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/lib/"
],
"transform": {
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
]
}
}