esmate 1.0.9 → 1.0.11
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/LICENSE +16 -0
- package/README.md +21 -3
- package/package.json +2 -2
package/LICENSE
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Vien Dinh
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
|
6
|
+
documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
|
|
7
|
+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
|
|
8
|
+
persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
9
|
+
|
|
10
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
|
|
11
|
+
Software.
|
|
12
|
+
|
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
|
14
|
+
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
15
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
16
|
+
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -9,6 +9,12 @@ with Deno, you will be happy with esmate.
|
|
|
9
9
|
- 🛠️ Define and run custom tasks (series and parallel)
|
|
10
10
|
- ⚡ Fast and minimal configuration
|
|
11
11
|
|
|
12
|
+
## Installation
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npm install -D esmate
|
|
16
|
+
```
|
|
17
|
+
|
|
12
18
|
## Usage
|
|
13
19
|
|
|
14
20
|
### Format Code
|
|
@@ -89,7 +95,7 @@ esmate lint --fix
|
|
|
89
95
|
|
|
90
96
|
Tasks are defined in your `package.json` under a `tasks` field.
|
|
91
97
|
|
|
92
|
-
####
|
|
98
|
+
#### Sequential Execution
|
|
93
99
|
|
|
94
100
|
Run tasks in order, one after another.
|
|
95
101
|
|
|
@@ -113,17 +119,29 @@ Run tasks in order, one after another.
|
|
|
113
119
|
}
|
|
114
120
|
```
|
|
115
121
|
|
|
116
|
-
|
|
122
|
+
Run the task:
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
esmate task build
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
#### Parallel Execution
|
|
117
129
|
|
|
118
130
|
Run multiple tasks at the same time.
|
|
119
131
|
|
|
120
132
|
```json
|
|
121
133
|
{
|
|
122
134
|
"tasks": {
|
|
123
|
-
"
|
|
135
|
+
"dev": {
|
|
124
136
|
"scripts": "tsc --watch",
|
|
125
137
|
"styles": "sass --watch input.scss output.css"
|
|
126
138
|
}
|
|
127
139
|
}
|
|
128
140
|
}
|
|
129
141
|
```
|
|
142
|
+
|
|
143
|
+
Run the task:
|
|
144
|
+
|
|
145
|
+
```bash
|
|
146
|
+
esmate task dev
|
|
147
|
+
```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "esmate",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.11",
|
|
5
5
|
"description": "Uncomplicate JavaScript",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"es-toolkit": "^1.35.0",
|
|
40
40
|
"find-up": "^7.0.0",
|
|
41
41
|
"nypm": "^0.6.0",
|
|
42
|
-
"@esmate/eslint": "1.0.
|
|
42
|
+
"@esmate/eslint": "1.0.3",
|
|
43
43
|
"@esmate/prettier": "1.0.4"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|