create-uix-app 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/index.js +8 -8
package/package.json
CHANGED
package/src/index.js
CHANGED
@@ -125,7 +125,7 @@ if (!projectName && !reFrame && !reactNative && !expo) {
|
|
125
125
|
.join("\n")
|
126
126
|
);
|
127
127
|
console.log("Installing dependencies...");
|
128
|
-
const pDeps = exec(`cd ${projectName} &&
|
128
|
+
const pDeps = exec(`cd ${projectName} && npm install`, (err) => {
|
129
129
|
if (err) {
|
130
130
|
console.error(err);
|
131
131
|
} else {
|
@@ -138,9 +138,9 @@ if (!projectName && !reFrame && !reactNative && !expo) {
|
|
138
138
|
);
|
139
139
|
console.log();
|
140
140
|
console.log(
|
141
|
-
"
|
141
|
+
"npm run dev # run dev build with Expo and cljs build in watch mode"
|
142
142
|
);
|
143
|
-
console.log("
|
143
|
+
console.log("npm run cljs:release # build production bundle");
|
144
144
|
}
|
145
145
|
});
|
146
146
|
pDeps.stdout.pipe(process.stdout);
|
@@ -219,8 +219,8 @@ if (!projectName && !reFrame && !reactNative && !expo) {
|
|
219
219
|
app/`
|
220
220
|
);
|
221
221
|
}
|
222
|
-
console.log("
|
223
|
-
console.log("
|
222
|
+
console.log("npm run cljs:dev # run dev build in watch mode");
|
223
|
+
console.log("npm run cljs:release # build production bundle");
|
224
224
|
} else {
|
225
225
|
const pkgjson = JSON.parse(
|
226
226
|
fs.readFileSync(
|
@@ -248,7 +248,7 @@ app/`
|
|
248
248
|
.join("\n")
|
249
249
|
);
|
250
250
|
console.log("Installing dependencies...");
|
251
|
-
const pDeps = exec(`cd ${projectName} &&
|
251
|
+
const pDeps = exec(`cd ${projectName} && npm install`, (err) => {
|
252
252
|
if (err) {
|
253
253
|
console.error(err);
|
254
254
|
} else {
|
@@ -261,9 +261,9 @@ app/`
|
|
261
261
|
);
|
262
262
|
console.log();
|
263
263
|
console.log(
|
264
|
-
"
|
264
|
+
"npm run dev # run dev build in watch mode with CLJS REPL"
|
265
265
|
);
|
266
|
-
console.log("
|
266
|
+
console.log("npm run release # build production bundle");
|
267
267
|
}
|
268
268
|
});
|
269
269
|
pDeps.stdout.pipe(process.stdout);
|