sb-edit-custom 0.15.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.
@@ -0,0 +1 @@
1
+ export declare function generateId(): string;
package/lib/util/id.js ADDED
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.generateId = void 0;
4
+ function generateId() {
5
+ var id = "";
6
+ for (var i = 0; i < 24; i++) {
7
+ id += Math.floor(Math.random() * 36).toString(36);
8
+ }
9
+ return id;
10
+ }
11
+ exports.generateId = generateId;
12
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvdXRpbC9pZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxTQUFnQixVQUFVO0lBQ3hCLElBQUksRUFBRSxHQUFHLEVBQUUsQ0FBQztJQUNaLEtBQUssSUFBSSxDQUFDLEdBQUcsQ0FBQyxFQUFFLENBQUMsR0FBRyxFQUFFLEVBQUUsQ0FBQyxFQUFFLEVBQUU7UUFDM0IsRUFBRSxJQUFJLElBQUksQ0FBQyxLQUFLLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxHQUFHLEVBQUUsQ0FBQyxDQUFDLFFBQVEsQ0FBQyxFQUFFLENBQUMsQ0FBQztLQUNuRDtJQUNELE9BQU8sRUFBRSxDQUFDO0FBQ1osQ0FBQztBQU5ELGdDQU1DIn0=
package/package.json ADDED
@@ -0,0 +1,68 @@
1
+ {
2
+ "name": "sb-edit-custom",
3
+ "version": "0.15.0",
4
+ "description": "Import, edit, and export Scratch project files",
5
+ "keywords": [
6
+ "Scratch",
7
+ "mit-scratch",
8
+ "sb2",
9
+ "sb3",
10
+ "leopard"
11
+ ],
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://github.com/riverwalk-software/sb-edit"
15
+ },
16
+ "license": "MIT",
17
+ "author": "Josh Pullen <hello@joshuapullen.com> (https://joshuapullen.com/)",
18
+ "contributors": [
19
+ "Quasar Nebula <qznebula@protonmail.com> (https://github.com/towerofnix)",
20
+ "adroitwhiz <adroitwhiz@protonmail.com> (https://github.com/adroitwhiz)"
21
+ ],
22
+ "main": "lib/index.js",
23
+ "types": "lib/index.d.ts",
24
+ "files": [
25
+ "lib/**/*"
26
+ ],
27
+ "bin": {
28
+ "sb-edit": "lib/cli/index.js"
29
+ },
30
+ "scripts": {
31
+ "build": "tsc",
32
+ "format": "prettier --write \"src/**/*.ts\"",
33
+ "lint": "eslint \"src/**/*.ts\"",
34
+ "prepare": "npm run build",
35
+ "prepublishOnly": "npm test && npm run lint",
36
+ "test": "jest --config jestconfig.json",
37
+ "watch": "tsc -w"
38
+ },
39
+ "dependencies": {
40
+ "canvas": "^3.1.2",
41
+ "chalk": "^4.1.2",
42
+ "commander": "^12.0.0",
43
+ "jszip": "^3.10.1",
44
+ "next": "^15.4.2",
45
+ "sharp": "^0.34.3"
46
+ },
47
+ "devDependencies": {
48
+ "@types/jest": "^29.5.11",
49
+ "@types/jszip": "^3.1.6",
50
+ "@types/node": "^20.12.7",
51
+ "@types/prettier": "^2.7.3",
52
+ "@types/sharp": "^0.31.1",
53
+ "@typescript-eslint/eslint-plugin": "^6.14.0",
54
+ "@typescript-eslint/parser": "^6.14.0",
55
+ "eslint": "^8.56.0",
56
+ "eslint-config-prettier": "^8.8.0",
57
+ "eslint-plugin-prettier": "^4.2.1",
58
+ "jest": "^29.7.0",
59
+ "prettier": "3.6.2",
60
+ "ts-jest": "^29.1.1",
61
+ "typescript": "^4.9.5"
62
+ },
63
+ "prettier": {
64
+ "plugins": [
65
+ "prettier-plugin-tailwindcss"
66
+ ]
67
+ }
68
+ }