diff --git a/biome.json b/biome.json index 466ec8b5..9f812551 100644 --- a/biome.json +++ b/biome.json @@ -28,6 +28,11 @@ "quoteStyle": "single" } }, + "json": { + "formatter": { + "enabled": false + } + }, "linter": { "enabled": true, "rules": { diff --git a/packages/core/package.json b/packages/core/package.json index 7d009c7d..ffb64f6a 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,17 +1,34 @@ { "name": "@rslib/core", + "version": "0.0.0", + "description": "The Rspack-based library build tool.", + "homepage": "https://rslib.dev", + "bugs": { + "url": "https://github.com/web-infra-dev/rslib/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/web-infra-dev/rslib", + "directory": "packages/core" + }, + "license": "MIT", "type": "commonjs", "exports": { ".": { "types": "./dist/main.d.ts", "default": "./dist/main.js" - } + }, + "./package.json": "./package.json" }, "main": "./dist/main.js", "types": "./dist/main.d.ts", "bin": { "rslib": "./bin/rslib.js" }, + "files": [ + "bin", + "dist" + ], "scripts": { "build": "modern build", "dev": "modern build --watch" @@ -24,5 +41,13 @@ "devDependencies": { "@rslib/tsconfig": "workspace:*", "typescript": "^5.4.5" + }, + "engines": { + "node": ">=16.0.0" + }, + "publishConfig": { + "access": "public", + "provenance": true, + "registry": "https://registry.npmjs.org/" } }