-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
83 lines (83 loc) · 1.98 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
{
"name": "json-placeholder-replacer",
"version": "2.1.0",
"description": "Javascript/Typescript library/cli to replace placeholders in an javascript object",
"main": "dist/library.js",
"types": "dist/library.d.ts",
"scripts": {
"test": "node_modules/.bin/jest",
"codeCoverage": "node_modules/.bin/jest --silent --coverage",
"lint": "node_modules/.bin/tslint --project tsconfig.json --force",
"build": "tsc --project tsconfig.build.json",
"all": "npm run lint && npm run build && npm run codeCoverage && npm run test",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/virgs/jsonPlaceholderReplacer.git"
},
"keywords": [
"json",
"replacer",
"substitution",
"placeholder",
"cli",
"library",
"typescript",
"javascript",
"javascript-library"
],
"author": "Virgs",
"license": "MIT",
"bugs": {
"url": "https://github.com/virgs/jsonPlaceholderReplacer/issues"
},
"lint-staged": {
"*": "prettier --write",
"*.ts": "npm run lint --fix"
},
"homepage": "https://github.com/virgs/jsonPlaceholderReplacer#readme",
"bin": {
"json-placeholder-replacer": "dist/index.js",
"jpr": "dist/index.js"
},
"jest": {
"collectCoverageFrom": [
"src/**.ts"
],
"coveragePathIgnorePatterns": [
"src/index.ts"
],
"coverageThreshold": {
"global": {
"statements": 95,
"branches": 95,
"functions": 95,
"lines": 95
}
},
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": ".*\\.test\\.ts$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
]
},
"devDependencies": {
"@types/jest": "^29.5.4",
"@types/node": "^22.0.0",
"husky": "^9.0.10",
"jest": "^29.6.4",
"lint-staged": "^15.0.1",
"prettier": "^3.0.3",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"tslint": "^6.1.3",
"typescript": "^5.2.2"
}
}