d5-api-initializer 0.0.2-alpha.0

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/CHANGELOG.md ADDED
File without changes
package/README.md ADDED
File without changes
package/build.js ADDED
@@ -0,0 +1,14 @@
1
+ require('dotenv').config();
2
+ const fs = require('fs');
3
+ const path = require('path');
4
+ const {zipDirectories} = require('./zip-build');
5
+
6
+
7
+ const archivePath = path.resolve(__dirname, 'build/initializer.zip');
8
+
9
+ fs.mkdirSync('build', {recursive: true});
10
+
11
+ zipDirectories([{
12
+ 'source': path.resolve(__dirname, 'dist'),
13
+ 'put_at_root': true
14
+ }], archivePath);
package/package.json ADDED
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "d5-api-initializer",
3
+ "version": "0.0.2-alpha.0",
4
+ "license": "MIT",
5
+ "dependencies": {},
6
+ "main": "publish/cjs/d5-api-initializer",
7
+ "module": "publish/d5-api-initializer.legacy-esm.js",
8
+ "types": "publish/d5-api-initializer.d.ts",
9
+ "exports": {
10
+ "./package.json": "./package.json",
11
+ ".": {
12
+ "types": "./publish/d5-api-initializer.d.ts",
13
+ "import": "./publish/d5-api-initializer.mjs",
14
+ "default": "./publish/cjs/d5-api-initializer.cjs"
15
+ }
16
+ },
17
+ "engines": {
18
+ "node": ">=18"
19
+ },
20
+ "scripts": {
21
+ "zip": "node zip-build.js",
22
+ "build": "rimraf dist && yarn webpack && node build.js",
23
+ "clean": "rimraf publish",
24
+ "compile": "tsup",
25
+ "changelog": "node ./scripts/releaseChangelog.mjs changelog -p v1.0.0",
26
+ "prepublishOnly": "yarn clean",
27
+ "prepack": "yarn compile"
28
+ },
29
+ "devDependencies": {
30
+ "@babel/core": "7.23.9",
31
+ "@types/node": "20.11.16",
32
+ "archiver": "6.0.1",
33
+ "copy-webpack-plugin": "^11.0.0",
34
+ "webpack": "5.86.0",
35
+ "webpack-cli": "5.1.4",
36
+ "dotenv": "8.2.0",
37
+ "eslint": "7.19.0",
38
+ "rimraf": "5.0.5",
39
+ "ts-loader": "8.0.17",
40
+ "tsup": "7.0.0",
41
+ "typescript": "5.3.3"
42
+ }
43
+ }