generated from Byndyusoft/node-typescript-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
98 lines (98 loc) · 2.87 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/test-package",
"version": "0.0.0-development",
"description": "Use The Force, Luke!",
"homepage": "https://github.com/Byndyusoft/node-test-package#readme",
"bugs": {
"url": "https://github.com/Byndyusoft/node-test-package/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/Byndyusoft/node-test-package.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": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.ts$": "ts-jest"
}
},
"dependencies": {
"tslib": "^2.4.0"
},
"devDependencies": {
"@byndyusoft/eslint-config": "2.1.0",
"@byndyusoft/tsconfig": "1.2.0",
"@commitlint/cli": "17.1.2",
"@commitlint/config-conventional": "17.1.0",
"@types/jest": "29.1.2",
"@types/node": "14.18.31",
"eslint": "8.25.0",
"husky": "8.0.1",
"jest": "29.1.2",
"jest-extended": "3.1.0",
"lint-staged": "13.0.3",
"markdownlint-cli": "0.32.2",
"pinst": "3.0.0",
"prettier": "2.7.1",
"prettier-plugin-packagejson": "2.3.0",
"semantic-release": "19.0.5",
"shx": "0.3.4",
"ts-jest": "29.0.3",
"typescript": "4.8.4"
},
"packageManager": "yarn@4.0.0-rc.24",
"engines": {
"node": ">=14"
},
"publishConfig": {
"access": "public"
}
}