@twobirds/microcomponents 0.1.6 → 0.1.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twobirds/microcomponents",
3
- "version": "0.1.6",
3
+ "version": "0.1.10",
4
4
  "description": "Micro Components Organization Class",
5
5
  "main": "./dist/microcomponents.ts",
6
6
  "types": "./dist/microcomponents.d.ts",
@@ -9,24 +9,35 @@
9
9
  "import": "./dist/microcomponents.js"
10
10
  }
11
11
  },
12
+ "type": "module",
12
13
  "files": [
13
14
  "dist"
14
15
  ],
15
- "sideEffects": false,
16
+ "sideEffects": false,
16
17
  "scripts": {
18
+ "format": "prettier --write \"src/**/*.{ts,js}\"",
19
+ "lint": "eslint \"src/**/*.{ts,js}\" --fix > eslint.log",
17
20
  "typedoc": "typedoc",
18
21
  "webpack": "webpack",
19
22
  "clean": "rm -rf build/*; rm -rf dist/*; rm -rf public/*;",
20
- "prep": "cp -R src/* build || true; mkdir public || true; npm run typedoc;",
23
+ "prep": "cp -R src/* build || true; mkdir public || true; npm run typedoc; npm run format; npm run lint;",
21
24
  "copyToDist": "cp build/*.js dist; cp public/microcomponents.min.js public/test; cp -R build/*.ts* dist; cp *.svg dist;",
22
25
  "copyToPublic1": "cp -R assets/* public || true; cp dist/*.* public; cp dist/*.* public/test; mkdir public/src || true; cp -R build/* public/src || true; cp -R build/* public || true;",
23
26
  "copyToPublic2": "cp -R build/test/* public/test; cp dist/MicroComponents.svg public; cp public/MicroComponents.svg public/test;",
24
- "build": "npm run clean; npm run prep; tsc; npm run webpack; npm run copyToDist; npm run copyToPublic1; npm run copyToPublic2;"
27
+ "build": "npm run clean; npm run prep; tsc; npm run webpack; npm run copyToDist; npm run copyToPublic1; npm run copyToPublic2;",
28
+ "dev": "cd public; php -S 0.0.0.0:10000; cd ..",
29
+ "doc": "cd public/typedoc; php -S 0.0.0.0:11000; cd ../.."
25
30
  },
26
31
  "author": "Frank Thürigen",
27
32
  "license": "ISC",
28
33
  "devDependencies": {
34
+ "@typescript-eslint/eslint-plugin": "^8.46.4",
35
+ "@typescript-eslint/parser": "^8.46.4",
36
+ "eslint": "^9.39.1",
37
+ "eslint-config-prettier": "^10.1.8",
38
+ "eslint-plugin-prettier": "^5.5.4",
29
39
  "jsmin": "^1.0.1",
40
+ "prettier": "^3.6.2",
30
41
  "ts-loader": "^9.5.2",
31
42
  "typedoc": "^0.26.11",
32
43
  "typescript": "^5.5.4",