This repository has been archived by the owner on May 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 2.61 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
{
"name": "yatt-slim",
"version": "0.1.0",
"description": "Yet Another TypeScript Template -- but slimmer",
"main": "dist/index.js",
"author": "Caian Ertl <hi@caian.org>",
"license": "CC0-1.0",
"repository": {
"type": "git",
"url": "git+https://github.com/caian-org/yatt-slim.git"
},
"bugs": {
"url": "https://github.com/caian-org/yatt-slim/issues"
},
"homepage": "https://github.com/caian-org/yatt-slim#readme",
"keywords": [
"typescript",
"nodejs",
"template",
"yatt-slim"
],
"scripts": {
"all": "pnpm run build:js && pnpm run fix:style && pnpm run check:all && pnpm run clean",
"start": "node dist/index.js",
"start:watch": "nodemon",
"build:js": "tsc",
"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 '**/*.ts'",
"check:style": "standardx",
"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 '**/*.ts' && standardx --fix '**/*.ts'",
"clean": "rm -rf coverage dist report",
"prepare": "[ \"$NODE_ENV\" == \"production\" ] && exit 0; husky install"
},
"_moduleAliases": {
"@yatt": "dist"
},
"eslintIgnore": [
"dist",
"report"
],
"jscpd": {
"threshold": 5,
"reporters": [
"html",
"console"
],
"absolute": true,
"gitignore": true,
"ignore": [
"**/.github/**",
"**/dist/**",
"**/report/**"
]
},
"nodemonConfig": {
"ignore": [
".git",
"node_modules"
],
"watch": [
"src"
],
"exec": "pnpm run build:js && pnpm start",
"ext": "ts"
},
"dependencies": {
"module-alias": "^2.2.2",
"regenerator-runtime": "^0.13.9"
},
"devDependencies": {
"@types/node": "^17.0.23",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"eslint": "^8.11.0",
"eslint-config-standard-jsx": "^10.0.0",
"eslint-config-standard-with-typescript": "^21.0.1",
"eslint-formatter-codeframe": "^7.32.1",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "6.0.0",
"eslint-plugin-react": "^7.29.4",
"husky": "^7.0.4",
"jscpd": "^3.4.5",
"nodemon": "^2.0.15",
"npm-check-updates": "^12.5.4",
"prettier": "^2.6.1",
"standardx": "^7.0.0",
"ts-node": "^10.7.0",
"typescript": "^4.6.3"
}
}