diff --git a/package.json b/package.json index 188052a..afd12b4 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,15 @@ { "name": "css-gradient-parser", - "version": "0.0.1", + "version": "0.1.0", "description": "a css gradient parser", "packageManager": "pnpm@8.7.0", "license": "MIT", "main": "dist/index.js", - "module": "dist/index.mjs", - "types": "dist/index.d.mts", - "files": ["dist"], + "module": "dist/index.mjs", + "types": "dist/index.d.mts", + "files": [ + "dist" + ], "author": "Lynnnnnnxx", "scripts": { "prepare": "simple-git-hooks", @@ -15,33 +17,34 @@ "test": "vitest", "lint": "eslint . --ext .js,.jsx,.ts --quiet --cache", "lint:fix": "pnpm lint --fix", - "release": "bumpp --commit --push --tag && pnpm publish" + "release": "bumpp --commit" }, "exports": { - ".": { - "import": { + ".": { + "import": { "default": "./dist/index.mjs", "types": "./dist/index.d.mts" }, "require": { - "default": "./dist/index.js", - "types": "./dist/index.d.ts" - } - } - }, + "default": "./dist/index.js", + "types": "./dist/index.d.ts" + } + } + }, "simple-git-hooks": { "pre-commit": "pnpm exec lint-staged" }, "lint-staged": { "*.{ts,tsx}": [ - "eslint --fix --cache" - ] + "eslint --fix --cache" + ] }, "devDependencies": { "@types/node": "^20.8.0", "@typescript-eslint/eslint-plugin": "^6.7.3", "@typescript-eslint/parser": "^6.7.3", "@vitest/coverage-v8": "^0.34.6", + "bumpp": "^9.2.0", "eslint": "^8.50.0", "lint-staged": "^14.0.1", "simple-git-hooks": "^2.9.0",