@marcuth/create-package 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/index.js +3 -2
- package/package.json +4 -2
package/bin/index.js
CHANGED
|
@@ -47,7 +47,8 @@ function writePackageJson(root, packageName) {
|
|
|
47
47
|
],
|
|
48
48
|
scripts: {
|
|
49
49
|
build: "tsc",
|
|
50
|
-
dev: "ts-node ./src/index.ts"
|
|
50
|
+
dev: "ts-node ./src/index.ts",
|
|
51
|
+
format: "prettier --write \"src/**/*.ts\""
|
|
51
52
|
},
|
|
52
53
|
keywords: [
|
|
53
54
|
"marcuth"
|
|
@@ -435,7 +436,7 @@ function main() {
|
|
|
435
436
|
writeSourceFile(root, projectDir)
|
|
436
437
|
writeLicenseFile(root)
|
|
437
438
|
writeGitignoreFile(root)
|
|
438
|
-
installDevDependencies(devDependencies)
|
|
439
|
+
installDevDependencies(root, devDependencies)
|
|
439
440
|
initGitRepo(root)
|
|
440
441
|
createNpmIgnore(root)
|
|
441
442
|
createReadme(root, packageName)
|
package/package.json
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marcuth/create-package",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Create a new package",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
8
8
|
"create-package": "./bin/index.js"
|
|
9
9
|
},
|
|
10
|
-
"keywords": [
|
|
10
|
+
"keywords": [
|
|
11
|
+
"package generator"
|
|
12
|
+
],
|
|
11
13
|
"author": "Marcuth",
|
|
12
14
|
"license": "MIT"
|
|
13
15
|
}
|