-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
104 lines (104 loc) · 2.56 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
{
"name": "eslint-enforce-package-type",
"version": "1.1.0",
"description": "ESLint plugin to enforce package.json type field (module or commonjs)",
"keywords": [
"eslint",
"eslintplugin",
"eslint-plugin",
"package.json",
"type",
"module",
"commonjs",
"esm",
"cjs",
"package-type"
],
"homepage": "https://github.com/MONEI/eslint-enforce-package-type#readme",
"bugs": {
"url": "https://github.com/MONEI/eslint-enforce-package-type/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/MONEI/eslint-enforce-package-type.git"
},
"license": "MIT",
"author": "MONEI",
"type": "module",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint .",
"lint-staged": "lint-staged",
"lint:fix": "eslint . --fix",
"prepare": "husky install",
"prepublishOnly": "npm run build && npm run test && npm run lint",
"release": "release-it",
"release:alpha": "release-it --preRelease=alpha",
"release:beta": "release-it --preRelease=beta",
"release:dry": "release-it --dry-run",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,css,md}": [
"prettier --write"
],
"*.{js,ts}": [
"eslint --fix"
]
},
"devDependencies": {
"@eslint/js": "^9.0.0",
"@types/eslint": "^8.56.2",
"@types/json-schema": "^7.0.15",
"@types/node": "^20.11.5",
"@typescript-eslint/eslint-plugin": "^8.19.1",
"@typescript-eslint/parser": "^8.19.1",
"eslint": "^9.0.0",
"eslint-plugin-eslint-plugin": "^6.4.0",
"eslint-plugin-package-json": "^0.10.1",
"husky": "^8.0.3",
"jsonc-eslint-parser": "^2.4.0",
"lint-staged": "^15.2.0",
"prettier": "^3.1.1",
"release-it": "^17.0.1",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"typescript-eslint": "^8.19.1",
"vitest": "^1.1.3"
},
"peerDependencies": {
"eslint": ">=9.0.0",
"jsonc-eslint-parser": ">=2.0.0"
},
"engines": {
"node": ">=18.0.0"
},
"publishConfig": {
"access": "public"
}
}