generated from Byndyusoft/node-base-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
98 lines (98 loc) · 2.91 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
98
{
"name": "@byndyusoft/typescript-template",
"version": "0.0.0-development",
"description": "Base template for TypeScript packages",
"homepage": "https://github.com/Byndyusoft/node-typescript-template#readme",
"bugs": {
"url": "https://github.com/Byndyusoft/node-typescript-template/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/Byndyusoft/node-typescript-template.git"
},
"license": "Apache-2.0",
"author": "Byndyusoft",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"src",
"!dist/*.tsbuildinfo"
],
"scripts": {
"prebuild": "shx rm -rf ./dist",
"build": "yarn run prebuild && yarn run build:src",
"build:src": "tsc --project ./tsconfig.build.json",
"postinstall": "husky install",
"lint": "yarn run lint:eslint && yarn run lint:markdown && yarn run lint:prettier",
"lint:eslint": "eslint --ignore-path ./.gitignore --max-warnings 0 --ext .ts,.js .",
"lint:eslint:fix": "eslint --ignore-path ./.gitignore --fix --ext .ts,.js .",
"lint:fix": "yarn run lint:eslint:fix && yarn run lint:markdown:fix && yarn run lint:prettier:fix",
"lint:markdown": "markdownlint --ignore-path ./.gitignore \"./**/*.md\"",
"lint:markdown:fix": "markdownlint --ignore-path ./.gitignore --fix \"./**/*.md\"",
"lint:prettier": "prettier --ignore-path ./.gitignore --check \"./**/*.{ts,js,json,yaml,yml,md}\"",
"lint:prettier:fix": "prettier --ignore-path ./.gitignore --write \"./**/*.{ts,js,json,yaml,yml,md}\"",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable",
"test": "jest",
"test:cov": "jest --coverage"
},
"jest": {
"collectCoverageFrom": [
"./src/**/*.ts",
"!**/index.ts"
],
"coverageDirectory": "<rootDir>/coverage",
"coverageReporters": [
"lcov",
"text"
],
"moduleFileExtensions": [
"ts",
"js"
],
"resetMocks": true,
"roots": [
"<rootDir>/test"
],
"setupFilesAfterEnv": [
"jest-extended/all"
],
"testEnvironment": "node",
"testRegex": ".*\\.test\\.ts$",
"transform": {
"^.+\\.ts$": "ts-jest"
}
},
"dependencies": {
"tslib": "^2.4.0"
},
"devDependencies": {
"@byndyusoft/eslint-config": "2.2.1",
"@byndyusoft/tsconfig": "1.2.0",
"@commitlint/cli": "17.3.0",
"@commitlint/config-conventional": "17.3.0",
"@types/jest": "29.2.4",
"@types/node": "14.18.36",
"eslint": "8.30.0",
"husky": "8.0.2",
"jest": "29.3.1",
"jest-extended": "3.2.0",
"lint-staged": "13.1.0",
"markdownlint-cli": "0.32.2",
"pinst": "3.0.0",
"prettier": "2.8.1",
"prettier-plugin-packagejson": "2.3.0",
"semantic-release": "19.0.5",
"shx": "0.3.4",
"ts-jest": "29.0.3",
"typescript": "4.9.4"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=14"
},
"publishConfig": {
"access": "public"
}
}