We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7bab63 commit bb8d8a6Copy full SHA for bb8d8a6
cmd/create-nodejs-ts/index.js
@@ -119,15 +119,17 @@ App: ${app}
119
}
120
121
for (const dep of DepsToIgnore) {
122
- if (pkg.dependencies[dep]) {
123
- delete pkg.dependencies[dep]
+ if (newPkg.dependencies[dep]) {
+ delete newPkg.dependencies[dep]
124
125
126
- if (pkg.devDependencies[dep]) {
127
+ if (newPkg.devDependencies[dep]) {
+ delete newPkg.devDependencies[dep]
128
129
130
131
+ delete newPkg.scripts.release
132
+
133
FsExt.writeJsonSync(makePath(destination, 'package.json'), newPkg, { spaces: 2 })
134
135
console.log('\nDone!')
0 commit comments