This repository has been archived by the owner on May 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
127 lines (127 loc) · 3.33 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "yant",
"version": "3.0.0",
"description": "Yet Another NodeJS Template",
"main": "dist/index.js",
"author": "Caian Ertl <hi@caian.org>",
"license": "CC0-1.0",
"repository": {
"type": "git",
"url": "git+https://github.com/caian-org/yant.git"
},
"bugs": {
"url": "https://github.com/caian-org/yant/issues"
},
"homepage": "https://github.com/caian-org/yant#readme",
"keywords": [
"javascript",
"nodejs",
"template",
"yant"
],
"scripts": {
"all": "pnpm run build:js && pnpm run build:docs && pnpm run check:all && pnpm test && pnpm run clean",
"start": "node dist/index.js",
"start:watch": "nodemon",
"build:js": "babel -f .babelrc.js src -d dist --copy-files",
"build:docs": "jsdoc -c .jsdoc.json --verbose && cp logo.svg docs",
"bump:dev": "ncu --upgrade --dep dev --target minor",
"bump:prod": "ncu --upgrade --dep prod --target minor",
"bump:all": "pnpm run bump:dev && pnpm run bump:prod",
"check:lint": "eslint --format=codeframe '**/*.js'",
"check:style": "standard",
"check:duplicated": "jscpd",
"check:all": "pnpm run check:lint && pnpm run check:style && pnpm run check:duplicated",
"fix:style": "prettier --no-semi --print-width 100 --single-quote --trailing-comma none --write '**/*.js' && standard --fix '**/*.js'",
"test": "jest --verbose --collect-coverage",
"clean": "rm -rf coverage dist docs report",
"commit": "cz",
"prepare": "[ \"$NODE_ENV\" == \"production\" ] && exit 0; husky install"
},
"standard": {
"parser": "@babel/eslint-parser"
},
"eslintIgnore": [
"dist",
"docs",
"report"
],
"lint-staged": {
"**/*.js": [
"pnpm run fix:style"
]
},
"jscpd": {
"threshold": 5,
"reporters": [
"html",
"console"
],
"absolute": true,
"gitignore": true
},
"jest": {
"testEnvironment": "node",
"coveragePathIgnorePatterns": [
"/dist/",
"/node_modules/"
],
"collectCoverageFrom": [
"**/src/**/*.{js,jsx,ts,tsx}",
"!src/index.js"
],
"coverageThreshold": {
"global": {
"lines": 80
}
}
},
"nodemonConfig": {
"ignore": [
"test",
".git",
"node_modules"
],
"watch": [
"src"
],
"exec": "pnpm run build:js && pnpm start",
"ext": "js"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"devDependencies": {
"@alexispuga/jsdoc-template": "^1.3.3",
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.9",
"@babel/eslint-parser": "^7.17.0",
"@babel/plugin-transform-modules-commonjs": "^7.17.9",
"@babel/preset-env": "^7.16.11",
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@types/jest": "^27.4.1",
"babel-jest": "^27.5.1",
"babel-plugin-module-resolver": "^4.1.0",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.13.0",
"eslint-formatter-codeframe": "^7.32.1",
"husky": "^7.0.4",
"jest": "^27.5.1",
"jscpd": "^3.4.5",
"jsdoc": "^3.6.10",
"lint-staged": "^12.3.7",
"nodemon": "^2.0.15",
"npm-check-updates": "^12.5.9",
"nyc": "^15.1.0",
"prettier": "^2.6.2",
"standard": "^16.0.4",
"vrelease-bin": "^0.3.2"
},
"dependencies": {
"winston": "^3.7.2"
}
}