chore: move tsup/ts to dev dependencies

This commit is contained in:
hyper
2026-03-31 14:57:02 +08:00
parent 5e93bb5a1d
commit bf15adb1c0
+5 -6
View File
@@ -19,8 +19,7 @@
"scripts": { "scripts": {
"build": "tsup", "build": "tsup",
"dev": "tsup --watch", "dev": "tsup --watch",
"test": "tsx src/test.ts", "test": "tsx src/test.ts"
"prepare": "npm run build"
}, },
"keywords": [ "keywords": [
"schema", "schema",
@@ -35,14 +34,14 @@
"license": "ISC", "license": "ISC",
"description": "A TypeScript library for parsing and validating inline schemas", "description": "A TypeScript library for parsing and validating inline schemas",
"dependencies": { "dependencies": {
"csv-parse": "^5.5.6", "csv-parse": "^5.5.6"
"tsup": "^8.5.1",
"typescript": "^5.9.3"
}, },
"devDependencies": { "devDependencies": {
"@rspack/core": "^1.1.6", "@rspack/core": "^1.1.6",
"@types/node": "^25.5.0", "@types/node": "^25.5.0",
"tsx": "^4.21.0" "tsx": "^4.21.0",
"tsup": "^8.5.1",
"typescript": "^5.9.3"
}, },
"peerDependencies": { "peerDependencies": {
"@rspack/core": "^1.x" "@rspack/core": "^1.x"