-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
97 lines (97 loc) · 2.28 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
93
94
95
96
97
{
"name": "@dx-private/java-translate",
"version": "2.1.6",
"main": "lib/index.js",
"license": "MPL-2.0",
"dependencies": {
"chalk": "4.1.2",
"fp-ts": "^2.13.1",
"fs-extra": "^9.1.0",
"module-alias": "^2.2.2"
},
"peerDependencies": {
"typescript": ">=4.6.2"
},
"devDependencies": {
"@types/fs-extra": "^9.0.8",
"@types/glob": "^7.1.4",
"@types/jest": "^26.0.21",
"@types/node": "^14.14.31",
"@typescript-eslint/eslint-plugin": "^4.15.2",
"@typescript-eslint/parser": "^4.15.2",
"del-cli": "^4.0.1",
"eslint": "^7.20.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.25.4",
"glob": "^7.2.0",
"husky": "^3.0.5",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"nodemon": "^2.0.7",
"path": "^0.12.7",
"prettier": "^2.2.1",
"ts-jest": "^26.5.4",
"ts-node": "^9.1.1"
},
"scripts": {
"start:dev": "nodemon run.ts",
"prettier:fix": "prettier --write ./src",
"eslint": "eslint ./src/",
"staged": "lint-staged",
"start": "ts-node run.ts",
"build": "tsc --project ./tsconfig.build.json",
"typecheck": "tsc",
"prepublishOnly": "yarn jest && yarn clear && yarn build",
"jest": "jest --no-cache",
"jest:watch": "jest --watch",
"add-copyrights": "ts-node addCopyrights.ts",
"clear": "del --force lib"
},
"nodemonConfig": {
"execMap": {
"ts": "ts-node"
},
"watch": [
"./src",
"./dir",
"run.ts"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn add-copyrights && lint-staged"
}
},
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint --max-warnings=0",
"jest --bail --findRelatedTests"
]
},
"publishConfig": {
"registry": "https://nexus.in.devexperts.com/repository/npm-dx-private/"
},
"jest": {
"moduleFileExtensions": [
"js",
"ts"
],
"preset": "ts-jest",
"testURL": "http://localhost/",
"testRegex": "/__tests__/.*\\.spec.ts$",
"automock": false,
"testPathIgnorePatterns": [
"/node_modules/",
"lib"
],
"moduleNameMapper": {
"^@root(.*)$": "<rootDir>/src/$1",
"^@chalk$": "<rootDir>/src/utils/chalk"
}
},
"author": {
"email": "enikiforov@devexperts.com",
"name": "Eugine"
}
}