sinto 1.5.0 → 1.5.2

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.
Files changed (3) hide show
  1. package/README.md +15 -0
  2. package/package.json +1 -1
  3. package/sin.js +1 -1
package/README.md CHANGED
@@ -59,6 +59,7 @@ This command is generate public directory from src directory.
59
59
  * sin webpack - Generate Webpack project
60
60
  * sin pup - Generate Puppeteer test with Mocha
61
61
  * sin rmno - Delete node_modules directory
62
+ * sin ts - Generate tsconfig.json and add dependencies
62
63
 
63
64
  The Default task manager is gulp. Development serve is browser-sync.
64
65
 
@@ -153,3 +154,17 @@ Write the tests in test directory and run the tests:
153
154
  ```cmd
154
155
  npm test
155
156
  ```
157
+
158
+ ## TypeScript config and dependencies
159
+
160
+ The **sin ts** command generate a tsconfig.json and add dependencies to package.json.
161
+
162
+ The **sin ts** command does not install the dependencies, it just writes them into the package.json file. Install the dependencies with the **npm i** or **pnpm i** command.
163
+
164
+ Using:
165
+
166
+ ```cmd
167
+ sin init
168
+ sin ts
169
+ npm i
170
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sinto",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "description": "Website project development manager",
5
5
  "bin": {
6
6
  "sin": "sin.js"
package/sin.js CHANGED
@@ -15,7 +15,7 @@ const program = new Command();
15
15
  program
16
16
  .name('sin')
17
17
  .description('Project handler')
18
- .version('1.5.0');
18
+ .version('1.5.2');
19
19
 
20
20
  program
21
21
  .command('init')