@markw65/monkeyc-optimizer 1.1.15 → 1.1.16

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@markw65/monkeyc-optimizer",
3
- "type": "module",
4
- "version": "1.1.15",
3
+ "type": "commonjs",
4
+ "version": "1.1.16",
5
5
  "description": "Source to source optimizer for Garmin Monkey C code",
6
6
  "main": "build/optimizer.cjs",
7
7
  "types": "build/src/optimizer.d.ts",
@@ -16,11 +16,11 @@
16
16
  }
17
17
  },
18
18
  "scripts": {
19
- "watch": "webpack --mode development --watch",
19
+ "watch": "node esbuild.mjs --watch",
20
20
  "prettier-live": "test -z \"$(git status --untracked-files=no --porcelain || echo dirty)\" && npm install ../prettier-plugin-monkeyc && git commit -am 'prettier-plugin-monkeyc-live'",
21
- "build-debug": "webpack --mode development",
22
- "build-release": "webpack --mode production",
23
- "prepack": "webpack --mode production",
21
+ "build-debug": "node esbuild.mjs",
22
+ "build-release": "node esbuild.mjs --release",
23
+ "prepack": "node esbuild.mjs --release",
24
24
  "test": "npm run test-mocha && npm run test-optimized && npm run test-unopt && npm run test-remote && npm run test-remote-tests",
25
25
  "test-mocha": "npx mocha --timeout 999999 build/mocha.cjs",
26
26
  "test-remote": "node ./test/test.js --showInfo --postOptimize --product=pick-one --github",
@@ -35,12 +35,13 @@
35
35
  "build/util.cjs",
36
36
  "build/sdk-util.cjs",
37
37
  "build/api.cjs",
38
+ "build/chunk-*.cjs",
38
39
  "build/src/**/*.d.ts"
39
40
  ],
40
41
  "author": "markw65",
41
42
  "license": "MIT",
42
43
  "dependencies": {
43
- "@markw65/prettier-plugin-monkeyc": "^1.0.45"
44
+ "@markw65/prettier-plugin-monkeyc": "^1.0.46"
44
45
  },
45
46
  "devDependencies": {
46
47
  "@types/chai": "^4.3.4",
@@ -53,6 +54,7 @@
53
54
  "@typescript-eslint/eslint-plugin": "^5.28.0",
54
55
  "@typescript-eslint/parser": "^5.28.0",
55
56
  "chai": "^4.3.7",
57
+ "esbuild": "^0.17.10",
56
58
  "eslint": "^8.12.0",
57
59
  "extract-zip": "^2.0.1",
58
60
  "fast-glob": "^3.2.12",
@@ -61,10 +63,7 @@
61
63
  "prettier": "^2.6.2",
62
64
  "prettier-plugin-pegjs": "https://github.com/markw65/prettier-plugin-pegjs/releases/download/v0.5.2/prettier-plugin-pegjs-0.5.2.tgz",
63
65
  "priorityqueuejs": "^2.0.0",
64
- "ts-loader": "^9.3.0",
65
66
  "typescript": "^4.6.4",
66
- "webpack": "^5.72.0",
67
- "webpack-cli": "^4.9.2",
68
67
  "yauzl": "^2.10.0",
69
68
  "yazl": "^2.5.1"
70
69
  },