|
| 1 | +{ |
| 2 | + "name": "rsbuild-plugin-example", |
| 3 | + "version": "0.0.0", |
| 4 | + "repository": "https://github.com/rspack-contrib/rsbuild-plugin-template", |
| 5 | + "license": "MIT", |
| 6 | + "type": "module", |
| 7 | + "exports": { |
| 8 | + ".": { |
| 9 | + "types": "./dist/index.d.ts", |
| 10 | + "import": "./dist/index.js", |
| 11 | + "require": "./dist/index.cjs" |
| 12 | + } |
| 13 | + }, |
| 14 | + "main": "./dist/index.js", |
| 15 | + "module": "./dist/index.mjs", |
| 16 | + "types": "./dist/index.d.ts", |
| 17 | + "files": ["dist"], |
| 18 | + "scripts": { |
| 19 | + "build": "tsup", |
| 20 | + "dev": "tsup --watch", |
| 21 | + "lint": "biome check .", |
| 22 | + "lint:write": "biome check . --write", |
| 23 | + "prepare": "simple-git-hooks && npm run build", |
| 24 | + "test": "playwright test" |
| 25 | + }, |
| 26 | + "simple-git-hooks": { |
| 27 | + "pre-commit": "npx nano-staged" |
| 28 | + }, |
| 29 | + "nano-staged": { |
| 30 | + "*.{js,jsx,ts,tsx,mjs,cjs}": [ |
| 31 | + "biome check --write --no-errors-on-unmatched" |
| 32 | + ] |
| 33 | + }, |
| 34 | + "devDependencies": { |
| 35 | + "@biomejs/biome": "^1.8.3", |
| 36 | + "@playwright/test": "^1.44.1", |
| 37 | + "@rsbuild/core": "^0.7.10", |
| 38 | + "@types/node": "^20.14.1", |
| 39 | + "nano-staged": "^0.8.0", |
| 40 | + "playwright": "^1.44.1", |
| 41 | + "simple-git-hooks": "^2.11.1", |
| 42 | + "tsup": "^8.0.2", |
| 43 | + "typescript": "^5.5.2" |
| 44 | + }, |
| 45 | + "peerDependencies": { |
| 46 | + "@rsbuild/core": "0.x || 1.x" |
| 47 | + }, |
| 48 | + "peerDependenciesMeta": { |
| 49 | + "@rsbuild/core": { |
| 50 | + "optional": true |
| 51 | + } |
| 52 | + }, |
| 53 | + "packageManager": "pnpm@9.2.0", |
| 54 | + "publishConfig": { |
| 55 | + "access": "public", |
| 56 | + "registry": "https://registry.npmjs.org/" |
| 57 | + } |
| 58 | +} |
0 commit comments