op-pkg
Version:
operating package
89 lines (88 loc) • 2.08 kB
JSON
{
"name": "op-pkg",
"type": "module",
"version": "0.0.3",
"packageManager": "pnpm@9.0.2",
"description": "operating package",
"author": "Ajiu9 <615944323@qq.com>",
"license": "MIT",
"homepage": "https://github.com/ajiu9/op-pkg#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/ajiu9/op-pkg.git"
},
"bugs": "https://github.com/ajiu9/op-pkg/issues",
"keywords": [
"operate",
"package",
"node",
"javascript",
"typescript"
],
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./dist/index.d.ts"
]
}
},
"files": [
"dist"
],
"scripts": {
"build": "unbuild",
"dev": "unbuild --stub",
"lint": "eslint --flag unstable_ts_config . --fix",
"prepublishOnly": "pnpm build",
"release": "bumpp && npm publish",
"start": "tsx src/index.ts",
"test": "vitest run && node ./test/cjs.cjs && node ./test/esm.mjs",
"typecheck": "tsc --noEmit",
"prepare": "simple-git-hooks"
},
"dependencies": {
"find-up": "^7.0.0",
"mlly": "^1.7.3",
"package-manager-detector": "^0.2.8",
"pkg-types": "^1.2.1",
"tinyexec": "^0.3.1"
},
"devDependencies": {
"@ajiu9/eslint-config": "^2.5.0",
"@ajiu9/shared": "1.1.3-beta",
"@antfu/utils": "^0.7.10",
"@types/chai": "^5.0.1",
"@types/node": "^22.5.4",
"bumpp": "^9.5.2",
"chai": "^5.1.2",
"commonuse": "1.1.3-beta",
"eslint": "^9.17.0",
"lint-staged": "^15.2.10",
"ninesh": "^1.1.0",
"pnpm": "^9.9.0",
"simple-git-hooks": "^2.11.1",
"tsx": "^4.19.0",
"typescript": "^5.6.3",
"unbuild": "^2.0.0",
"vite": "^5.4.3",
"vitest": "^2.0.5"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}