50 lines
1.1 KiB
JSON
50 lines
1.1 KiB
JSON
{
|
|
"name": "reduce-configs",
|
|
"version": "1.1.1",
|
|
"repository": "https://github.com/rspack-contrib/reduce-configs",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js",
|
|
"require": "./dist/index.cjs"
|
|
}
|
|
},
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"files": ["dist"],
|
|
"scripts": {
|
|
"build": "rslib build",
|
|
"dev": "rslib build --watch",
|
|
"lint": "biome check .",
|
|
"lint:write": "biome check . --write",
|
|
"prepare": "simple-git-hooks && npm run build",
|
|
"test": "rstest run",
|
|
"bump": "npx bumpp"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "npx nano-staged"
|
|
},
|
|
"nano-staged": {
|
|
"*.{js,jsx,ts,tsx,mjs,cjs}": [
|
|
"biome check --write --no-errors-on-unmatched"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^1.9.4",
|
|
"@rslib/core": "^0.11.0",
|
|
"@rstest/core": "0.0.10",
|
|
"@types/node": "^22.17.0",
|
|
"nano-staged": "^0.8.0",
|
|
"simple-git-hooks": "^2.13.1",
|
|
"typescript": "^5.9.2"
|
|
},
|
|
"packageManager": "pnpm@10.14.0",
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org/"
|
|
}
|
|
}
|