jizy-packer 2.0.1 → 2.0.3
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/lib/Build.js +1 -1
- package/lib/index.js +16 -0
- package/package.json +16 -1
package/lib/Build.js
CHANGED
|
@@ -5,7 +5,7 @@ import { rollup } from 'rollup';
|
|
|
5
5
|
import LogMe from "./LogMe.js";
|
|
6
6
|
import jPackConfig from "./Config.js";
|
|
7
7
|
import jPackRollup from "./Rollup.js";
|
|
8
|
-
import { cleanBuildFolder } from '
|
|
8
|
+
import { cleanBuildFolder } from './utils.js';
|
|
9
9
|
|
|
10
10
|
export default async function jPackBuild({
|
|
11
11
|
target = null,
|
package/lib/index.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import jPackBuild from './Build.js';
|
|
2
|
+
import jPackCli from './Cli.js';
|
|
3
|
+
import jPackConfig from './Config.js';
|
|
4
|
+
import LogMe from './LogMe.js';
|
|
5
|
+
import jPackRollup from './Rollup.js';
|
|
6
|
+
import { removeEmptyDirs, cleanBuildFolder } from './utils.js';
|
|
7
|
+
|
|
8
|
+
export {
|
|
9
|
+
jPackBuild,
|
|
10
|
+
jPackCli,
|
|
11
|
+
jPackConfig,
|
|
12
|
+
LogMe,
|
|
13
|
+
jPackRollup,
|
|
14
|
+
removeEmptyDirs,
|
|
15
|
+
cleanBuildFolder
|
|
16
|
+
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jizy-packer",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"lib/*.js"
|
|
7
7
|
],
|
|
8
|
+
"main": "lib/index.js",
|
|
8
9
|
"repository": {
|
|
9
10
|
"type": "git",
|
|
10
11
|
"url": "git+https://github.com/joffreydemetz/jizy-packer.git"
|
|
@@ -18,14 +19,28 @@
|
|
|
18
19
|
"license": "MIT",
|
|
19
20
|
"description": "CLI app to generate optimized builds.",
|
|
20
21
|
"dependencies": {
|
|
22
|
+
"@babel/core": "^7.26.10",
|
|
23
|
+
"@babel/preset-env": "^7.26.9",
|
|
21
24
|
"@rollup/plugin-commonjs": "^28.0.3",
|
|
22
25
|
"@rollup/plugin-json": "^6.1.0",
|
|
23
26
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
24
27
|
"@rollup/plugin-terser": "^0.4.4",
|
|
25
28
|
"@rollup/plugin-url": "^8.0.2",
|
|
29
|
+
"autoprefixer": "^10.4.21",
|
|
30
|
+
"babel-jest": "^29.7.0",
|
|
31
|
+
"clean-css": "^5.3.3",
|
|
32
|
+
"cross-env": "^7.0.3",
|
|
33
|
+
"cssnano": "^7.0.6",
|
|
34
|
+
"jest": "^29.7.0",
|
|
35
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
36
|
+
"jsdom": "^26.1.0",
|
|
37
|
+
"less": "^4.3.0",
|
|
38
|
+
"less-plugin-clean-css": "^1.6.0",
|
|
39
|
+
"postcss": "^8.5.3",
|
|
26
40
|
"rollup": "^4.40.1",
|
|
27
41
|
"rollup-plugin-copy": "^3.5.0",
|
|
28
42
|
"rollup-plugin-delete": "^3.0.1",
|
|
43
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
29
44
|
"yargs": "^17.7.2"
|
|
30
45
|
}
|
|
31
46
|
}
|