-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathpackage.json
124 lines (124 loc) · 3.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
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
{
"name": "@mdx-js/eslint",
"version": "0.0.0",
"type": "module",
"description": "ESLint Parser/Plugin for MDX",
"repository": "https://github.com/mdx-js/eslint-mdx.git",
"author": "JounQin <admin@1stg.me> (https://www.1stG.me)",
"license": "MIT",
"private": true,
"workspaces": [
"packages/*"
],
"packageManager": "yarn@4.8.1",
"scripts": {
"build": "concurrently -r 'yarn:build:*'",
"build:r": "r -f cjs",
"build:ts": "tsc -b",
"clean": "rimraf --glob 'packages/*/{lib,*.tsbuildinfo}'",
"format": "prettier --write .",
"lint": "concurrently -r 'yarn:lint:*'",
"lint:es": "eslint . --cache",
"lint:tsc": "tsc --noEmit",
"prepare": "patch-package && simple-git-hooks && yarn-berry-deduplicate || exit 0",
"release": "run-s build release:only",
"release:only": "changeset publish",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"typecov": "type-coverage",
"version": "changeset version && yarn --no-immutable"
},
"devDependencies": {
"@1stg/common-config": "^11.1.2",
"@changesets/changelog-github": "^0.5.1",
"@changesets/cli": "^2.28.1",
"@commitlint/cli": "^19.8.0",
"@oxc-node/core": "^0.0.22",
"@pkgr/rollup": "^6.0.1",
"@swc/core": "^1.11.16",
"@swc/jest": "^0.2.37",
"@types/jest": "^29.5.14",
"@types/node": "^22.14.0",
"@types/react": "^19.1.0",
"@types/unist": "^3.0.3",
"@unts/patch-package": "^8.1.1",
"concurrently": "^9.1.2",
"eslint": "^9.24.0",
"eslint-plugin-react": "^7.37.5",
"globals": "^16.0.0",
"jest": "^30.0.0-alpha.7",
"lint-staged": "^15.5.0",
"path-serializer": "^0.3.4",
"prettier": "^3.5.3",
"react": "^19.1.0",
"rimraf": "^6.0.1",
"simple-git-hooks": "^2.12.1",
"ts-node": "^10.9.2",
"type-coverage": "^2.29.7",
"typescript": "^5.8.3",
"yarn-berry-deduplicate": "^6.1.1"
},
"resolutions": {
"es5-ext": "npm:@unes/es5-ext@^0.10.64-1",
"eslint-mdx": "link:packages/eslint-mdx",
"eslint-plugin-mdx": "link:packages/eslint-plugin-mdx",
"prettier": "^3.5.3",
"synckit": "^0.11.2"
},
"commitlint": {
"extends": [
"@1stg"
]
},
"jest": {
"extensionsToTreatAsEsm": [
".ts",
".tsx"
],
"setupFiles": [
"<rootDir>/node_modules/eslint/lib/linter/linter.js"
],
"snapshotSerializers": [
"<rootDir>/test/jest.serializer.cjs"
],
"transform": {
"^.+\\.[cm]?tsx?$": "@swc/jest"
},
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1",
"^eslint-mdx$": "<rootDir>/packages/eslint-mdx/src/index.ts",
"^eslint-plugin-mdx$": "<rootDir>/packages/eslint-plugin-mdx/src/index.ts"
},
"collectCoverage": true,
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
},
"prettier": "@1stg/prettier-config",
"remarkConfig": {
"plugins": [
"@1stg/preset"
]
},
"renovate": {
"extends": [
"github>1stG/configs"
]
},
"typeCoverage": {
"atLeast": 100,
"cache": true,
"detail": true,
"ignoreAsAssertion": true,
"ignoreCatch": true,
"ignoreFiles": [
"**/*.d.ts"
],
"strict": true,
"update": true
}
}