Skip to content

Commit 36880a0

Browse files
authored
chore: enrich package.json (#9)
chore: disable json biome formatter
1 parent a42eed3 commit 36880a0

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

biome.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@
2828
"quoteStyle": "single"
2929
}
3030
},
31+
"json": {
32+
"formatter": {
33+
"enabled": false
34+
}
35+
},
3136
"linter": {
3237
"enabled": true,
3338
"rules": {

packages/core/package.json

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,34 @@
11
{
22
"name": "@rslib/core",
3+
"version": "0.0.0",
4+
"description": "The Rspack-based library build tool.",
5+
"homepage": "https://rslib.dev",
6+
"bugs": {
7+
"url": "https://github.com/web-infra-dev/rslib/issues"
8+
},
9+
"repository": {
10+
"type": "git",
11+
"url": "https://github.com/web-infra-dev/rslib",
12+
"directory": "packages/core"
13+
},
14+
"license": "MIT",
315
"type": "commonjs",
416
"exports": {
517
".": {
618
"types": "./dist/main.d.ts",
719
"default": "./dist/main.js"
8-
}
20+
},
21+
"./package.json": "./package.json"
922
},
1023
"main": "./dist/main.js",
1124
"types": "./dist/main.d.ts",
1225
"bin": {
1326
"rslib": "./bin/rslib.js"
1427
},
28+
"files": [
29+
"bin",
30+
"dist"
31+
],
1532
"scripts": {
1633
"build": "modern build",
1734
"dev": "modern build --watch"
@@ -24,5 +41,13 @@
2441
"devDependencies": {
2542
"@rslib/tsconfig": "workspace:*",
2643
"typescript": "^5.4.5"
44+
},
45+
"engines": {
46+
"node": ">=16.0.0"
47+
},
48+
"publishConfig": {
49+
"access": "public",
50+
"provenance": true,
51+
"registry": "https://registry.npmjs.org/"
2752
}
2853
}

0 commit comments

Comments
 (0)