Skip to content

Commit a4deb99

Browse files
committed
Update create-gen-app package.json scripts and dependencies
- Changed the clean script to use 'makage' instead of 'del-cli'. - Updated the build process to run 'npm run clean' and 'npm run copy'. - Added 'prepublishOnly' script to ensure build runs before publishing. - Replaced 'del-cli' dependency with 'makage' in devDependencies.
1 parent 93526fb commit a4deb99

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/create-gen-app/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
},
2626
"scripts": {
2727
"copy": "copyfiles -f ../../LICENSE README.md package.json \"licenses-templates/**/*\" dist",
28-
"clean": "del dist/**",
29-
"prepare": "pnpm run build",
30-
"build": "pnpm run clean && tsc && tsc -p tsconfig.esm.json && pnpm run copy",
28+
"clean": "makage clean",
29+
"prepublishOnly": "npm run build",
30+
"build": "npm run clean && tsc && tsc -p tsconfig.esm.json && npm run copy",
3131
"dev": "node -r ts-node/register dev/index.ts",
3232
"test": "jest",
3333
"test:watch": "jest --watch"
@@ -39,7 +39,7 @@
3939
"devDependencies": {
4040
"@types/minimist": "^1.2.5",
4141
"copyfiles": "^2.4.1",
42-
"del-cli": "^5.1.0"
42+
"makage": "0.1.5"
4343
},
4444
"keywords": []
45-
}
45+
}

0 commit comments

Comments
 (0)