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.
- package/README.md +15 -0
- package/package.json +1 -1
- 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