@reactful/create 0.0.60 → 0.0.61
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +4 -1
- package/package.json +2 -4
package/index.js
CHANGED
@@ -32,6 +32,9 @@ const questions = [
|
|
32
32
|
]
|
33
33
|
|
34
34
|
inquirer.prompt(questions).then(async function (answers) {
|
35
|
+
exec($`md ${answers.project}`)
|
36
|
+
exec($`cd ${answers.project}`)
|
37
|
+
|
35
38
|
const destination = path.join(process.cwd(), answers.project)
|
36
39
|
const base = 'https://github.com/jsenaribeiro/reactful/installation/'
|
37
40
|
|
@@ -41,7 +44,7 @@ inquirer.prompt(questions).then(async function (answers) {
|
|
41
44
|
|
42
45
|
console.log('')
|
43
46
|
|
44
|
-
exec($`
|
47
|
+
exec($`bun install`)
|
45
48
|
})
|
46
49
|
|
47
50
|
function renamingJSON(directory, projectName) {
|
package/package.json
CHANGED
@@ -1,16 +1,14 @@
|
|
1
1
|
{
|
2
2
|
"name": "@reactful/create",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.61",
|
4
4
|
"main": "index.js",
|
5
5
|
"type": "module",
|
6
6
|
"description": "reactful scafold tool",
|
7
7
|
"author": "jonathan de sena ribeiro <jsenaribeiro@gmail.com>",
|
8
8
|
"files": [ "index.js", "package.json" ],
|
9
9
|
"bin": { "@reactful/create": "index.js" },
|
10
|
+
"scripts": { "deploy": "npm publish --access public" },
|
10
11
|
"license": "MIT",
|
11
|
-
"scripts": {
|
12
|
-
"deploy": "npm publish --access public"
|
13
|
-
},
|
14
12
|
"dependencies": {
|
15
13
|
"bun-types": "latest",
|
16
14
|
"fs": "^0.0.1-security",
|