-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
92 lines (92 loc) · 2.26 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
{
"name": "rename-me",
"version": "1.0.0-alpha.0",
"description": "{{todo}}",
"keywords": [
"{{todo}}"
],
"repository": "[email protected]:{{todo}}.git",
"author": "{{todo}} <{{todo}}@mediamonks.com>",
"license": "MIT",
"exports": "./dist/index.js",
"type": "module",
"files": [
"dist/**/*",
"README.md"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"dev": "npm run build:ts -- --watch",
"test": "vitest ./src/",
"build": "npm-run-all -s clean build:*",
"build:ts": "tsc -p ./tsconfig.build.json",
"clean": "npm-run-all clean:*",
"clean:test": "shx rm -rf coverage .nyc_output",
"clean:npm": "shx rm -rf dist node_modules/.cache/.tsbuildinfo",
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.mjs,.cjs,.mts,.cts . --cache-location node_modules/.cache/.eslintcache",
"fix": "npm run lint -- --fix",
"format": "prettier \"**/*.{mjs,cjs,js,jsx,ts,tsx,json,md,mdx,css,scss,html}\" --write --loglevel warn",
"typecheck": "tsc --project tsconfig.json --noEmit --noUnusedLocals",
"postinstall": "husky install"
},
"prettier": "@mediamonks/prettier-config",
"eslintConfig": {
"overrides": [
{
"files": [
"*.js"
],
"extends": [
"@mediamonks/eslint-config"
]
},
{
"files": [
"*.ts"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"extends": [
"@mediamonks/eslint-config",
"@mediamonks/eslint-config-typescript"
]
},
{
"files": [
"*.test.ts",
"scripts/**/*"
],
"rules": {
"import/no-extraneous-dependencies": "off"
}
}
],
"ignorePatterns": [
"dist/",
"node_modules/"
]
},
"devDependencies": {
"@mediamonks/eslint-config": "^2.2.0",
"@mediamonks/eslint-config-typescript": "^1.2.0",
"@mediamonks/prettier-config": "^1.0.1",
"eslint": "^8.41.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"shx": "^0.3.4",
"tsx": "^4.6.2",
"typescript": "^5.0.4",
"vitest": "^0.31.1"
},
"engines": {
"node": ">=16.0.0"
},
"volta": {
"node": "20.10.0"
}
}