packitup 0.1.0 → 0.1.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 +6 -19
- package/dist/packitup.js +754 -1
- package/dist/packitup.mjs +758 -1
- package/install.js +14 -0
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -12,39 +12,26 @@
|
|
|
12
12
|
|
|
13
13
|
## 🚀 Quick Start
|
|
14
14
|
|
|
15
|
-
###
|
|
15
|
+
### install
|
|
16
16
|
```bash
|
|
17
|
-
|
|
17
|
+
npm install packitup
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
Local installation in your project
|
|
21
|
-
|
|
22
20
|
```bash
|
|
23
|
-
|
|
24
|
-
npm install --save-dev packitup
|
|
25
|
-
|
|
26
|
-
# Then add to package.json scripts:
|
|
27
|
-
{
|
|
28
|
-
"scripts": {
|
|
29
|
-
"build": "npx packitup build ./src ./dist"
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
# Run
|
|
34
|
-
npm run build
|
|
21
|
+
packitup build ./src ./dist
|
|
35
22
|
```
|
|
36
23
|
|
|
37
24
|
📖 Usage
|
|
38
25
|
|
|
39
26
|
```bash
|
|
40
27
|
# Basic usage
|
|
41
|
-
|
|
28
|
+
packitup build <input-directory> [output-directory]
|
|
42
29
|
|
|
43
30
|
# With options
|
|
44
|
-
|
|
31
|
+
packitup build ./src ./dist --name my-app --umd bundle.js
|
|
45
32
|
|
|
46
33
|
# Show help
|
|
47
|
-
|
|
34
|
+
packitup --help
|
|
48
35
|
```
|
|
49
36
|
|
|
50
37
|
⚙️ Options
|